Module: Mesa Branch: main Commit: c551f6c4df9bcc123f186ad404d21a1cf3b0fd05 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c551f6c4df9bcc123f186ad404d21a1cf3b0fd05
Author: Jason Ekstrand <[email protected]> Date: Mon Oct 4 14:13:33 2021 -0500 anv: Rename a fail label in CreateDevice The rest of them are labeled with the thing they need to destroy first, not the thing that failed. Reviewed-by: Connor Abbott <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13184> --- src/intel/vulkan/anv_device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index 97fdf40b152..77d77cd05cc 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -3441,7 +3441,7 @@ VkResult anv_CreateDevice( result = anv_device_init_rt_shaders(device); if (result != VK_SUCCESS) - goto fail_rt_trampoline; + goto fail_default_pipeline_cache; anv_device_init_blorp(device); @@ -3455,7 +3455,7 @@ VkResult anv_CreateDevice( return VK_SUCCESS; - fail_rt_trampoline: + fail_default_pipeline_cache: anv_pipeline_cache_finish(&device->default_pipeline_cache); fail_trivial_batch_bo_and_scratch_pool: anv_scratch_pool_finish(device, &device->scratch_pool);
