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 <cwabbott0@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13184>
This commit is contained in:
parent
93d0c66b27
commit
c551f6c4df
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue