anv: Use the common vk_error and vk_errorf helpers
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13045>
This commit is contained in:

committed by
Marge Bot

parent
f6d52768d6
commit
88a8b937b5
@@ -223,7 +223,7 @@ VkResult anv_AcquirePerformanceConfigurationINTEL(
|
||||
config = vk_object_alloc(&device->vk, NULL, sizeof(*config),
|
||||
VK_OBJECT_TYPE_PERFORMANCE_CONFIGURATION_INTEL);
|
||||
if (!config)
|
||||
return anv_error(VK_ERROR_OUT_OF_HOST_MEMORY);
|
||||
return vk_error(device, VK_ERROR_OUT_OF_HOST_MEMORY);
|
||||
|
||||
if (!(INTEL_DEBUG & DEBUG_NO_OACONFIG)) {
|
||||
config->register_config =
|
||||
|
Reference in New Issue
Block a user