turnip: Fix crashes in compute with no descriptors to load.
authorEric Anholt <eric@anholt.net>
Tue, 9 Jun 2020 18:03:12 +0000 (11:03 -0700)
committerMarge Bot <eric+marge@anholt.net>
Tue, 9 Jun 2020 18:28:17 +0000 (18:28 +0000)
commit58dd904c592850a4886c02e65b56e87641d2ecbf
tree1dc2eac2939c269d74f4db5cd635249d7dab084e
parentb2324f456070d8906ce6cd9efe8da302d54f87a3
turnip: Fix crashes in compute with no descriptors to load.

Found when trying to rebase cheza VK CI on top of this change.

Fixes: 334204823eee ("tu: Fix context faults loading unused descriptor sets")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5266>
src/freedreno/vulkan/tu_cmd_buffer.c