gallium/nir/tgsi: fix nir->tgsi info conversion for samplers/image
authorDave Airlie <airlied@redhat.com>
Thu, 20 Aug 2020 00:54:16 +0000 (10:54 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 31 Aug 2020 00:28:26 +0000 (10:28 +1000)
commit87a638dc1f65c4de4317f9cea2d28e73438f46e0
tree6ab6540e1388c3b43b72907b754a9808f2d92836
parent668e4c235657ba230eab326d5001f60f37e403c3
gallium/nir/tgsi: fix nir->tgsi info conversion for samplers/image

for sampler image arrays this code wasn't getting the correct values.

Fixes:
EQP-VK.binding_model.shader_access.primary_cmd_buf.sampler_immutable.*.descriptor_array*

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6381>
src/gallium/auxiliary/nir/nir_to_tgsi_info.c