turnip: add code to lower indirect samplers

Graphics / Mesa 3D Graphics Library / Mesa - Jonathan Marek [marek.ca] - 15 October 2019 11:56 EDT

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

d930be9f4cc turnip: add code to lower indirect samplers
src/freedreno/vulkan/tu_shader.c | 77 ++++++++++++++++++++++++++++++++--------
1 file changed, 63 insertions(+), 14 deletions(-)

Upstream: cgit.freedesktop.org


  • Share