turnip: Plumb non-startup errors through the new vk_error helpers
authorJason Ekstrand <jason@jlekstrand.net>
Fri, 24 Sep 2021 20:35:20 +0000 (15:35 -0500)
committerMarge Bot <eric+marge@anholt.net>
Thu, 7 Oct 2021 20:51:36 +0000 (20:51 +0000)
commita1ac8234ec0b2580436ec5f3b4b932664549a776
tree40458c9249737131d7d0b3ff11e02bd0123aad12
parentbab0530f07cd9889db1d445d70ab18f7b7985bdf
turnip: Plumb non-startup errors through the new vk_error helpers

Also, change every vk_error to use the closest object instead of
fetching all the way back to the instance.

Reviewed-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13045>
13 files changed:
src/freedreno/vulkan/tu_android.c
src/freedreno/vulkan/tu_cmd_buffer.c
src/freedreno/vulkan/tu_descriptor_set.c
src/freedreno/vulkan/tu_device.c
src/freedreno/vulkan/tu_drm.c
src/freedreno/vulkan/tu_formats.c
src/freedreno/vulkan/tu_image.c
src/freedreno/vulkan/tu_kgsl.c
src/freedreno/vulkan/tu_pass.c
src/freedreno/vulkan/tu_pipeline_cache.c
src/freedreno/vulkan/tu_private.h
src/freedreno/vulkan/tu_query.c
src/freedreno/vulkan/tu_util.c