turnip: Fix support for immutable samplers.
authorEric Anholt <eric@anholt.net>
Mon, 16 Dec 2019 23:41:16 +0000 (15:41 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 17 Dec 2019 03:51:27 +0000 (19:51 -0800)
commit2da68c8649b6061c38e303da962e236985d76fc5
tree92792983c863f4a6c50293f56b18ee55a132ea56
parentedfc4daab822aa539416badba4af119ca75b5d56
turnip: Fix support for immutable samplers.

We were setting up the hardware sampler state when updating a combined
image sampler, but never looking at the immutable sampler for in the
separate case.

Fixes failures in
dEQP-VK.binding_model.shader_access.primary_cmd_buf.sampler_immutable.fragment.*

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