turnip: Add support for descriptor arrays

Graphics / Mesa 3D Graphics Library / Mesa - Eric Anholt [anholt.net] - 16 December 2019 23:57 UTC

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)

2d3182b4295 turnip: Add support for descriptor arrays.
src/freedreno/vulkan/tu_cmd_buffer.c | 151 +++++++++++++++++++++----------
src/freedreno/vulkan/tu_descriptor_set.c | 15 +++
src/freedreno/vulkan/tu_pipeline.c | 54 +++++++----
src/freedreno/vulkan/tu_private.h | 5 +-
src/freedreno/vulkan/tu_shader.c | 104 ++++++++++++---------
5 files changed, 217 insertions(+), 112 deletions(-)

Upstream: cgit.freedesktop.org


  • Share