turnip: Add support for descriptor arrays.
authorEric Anholt <eric@anholt.net>
Sat, 14 Dec 2019 06:05:11 +0000 (22:05 -0800)
committerMarge Bot <eric+marge@anholt.net>
Mon, 16 Dec 2019 23:57:22 +0000 (23:57 +0000)
commit2d3182b429552651f54650fcc9ea53d41fabe6de
tree50b7ac045718fcff2cb6c125165fdc25ee0ecc4a
parent02d764b96a40f505ed1f719ff083c7d5c599e663
turnip: Add support for descriptor arrays.

I had a bigger rework I was working on, but this is simple and gets tests
passing.

Fixes 36 failures in
dEQP-VK.binding_model.shader_access.primary_cmd_buf.sampler_mutable.fragment.*
(now all passing)

Reviewed-by: Jonathan Marek <jonathan@marek.ca>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3124>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3124>
src/freedreno/vulkan/tu_cmd_buffer.c
src/freedreno/vulkan/tu_descriptor_set.c
src/freedreno/vulkan/tu_pipeline.c
src/freedreno/vulkan/tu_private.h
src/freedreno/vulkan/tu_shader.c