turnip: Properly return VK_DEVICE_LOST on queuesubmit failures.
authorEric Anholt <eric@anholt.net>
Wed, 17 Jun 2020 22:58:33 +0000 (15:58 -0700)
committerMarge Bot <eric+marge@anholt.net>
Fri, 26 Jun 2020 19:34:17 +0000 (19:34 +0000)
commit34630fe081b14623adb94cca403619788e18826b
treedb93d4b550794df4ff3d32ee980b8ee489b04ad9
parent487576e3cfd7768ba274aab7f1ea40a6877c8e50
turnip: Properly return VK_DEVICE_LOST on queuesubmit failures.

The device lost support closely matches the anv code for the same.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2769>
src/freedreno/vulkan/tu_device.c
src/freedreno/vulkan/tu_fence.c
src/freedreno/vulkan/tu_private.h
src/freedreno/vulkan/tu_query.c