turnip: add code to lower indirect samplers
authorJonathan Marek <jonathan@marek.ca>
Mon, 7 Oct 2019 01:40:19 +0000 (21:40 -0400)
committerJonathan Marek <jonathan@marek.ca>
Tue, 15 Oct 2019 11:56:20 +0000 (07:56 -0400)
commitd930be9f4cc16f07c4b1bcb8f5ec1bdc06a9c3bf
treec54017bf0f48cea6aebca7e986a8eadfc6715b6e
parente3360768384f34df38abc25d037e329599211d21
turnip: add code to lower indirect samplers

Taken from nir_lower_samplers. Sampler arrays don't work though, this is
just to avoid an assert fail in ir3.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
src/freedreno/vulkan/tu_shader.c