zink: run more nir passes for tess shaders
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 24 Feb 2021 19:55:24 +0000 (14:55 -0500)
committerMarge Bot <eric+marge@anholt.net>
Tue, 9 Mar 2021 02:52:20 +0000 (02:52 +0000)
commit086262fc53ab7e1f68e7a4c4a188b1431c9c8554
tree024903837d15d606dc14f12774a51d3bd9f91936
parent6d8b5e7f09cd941e74adec5d069edaed39b434c2
zink: run more nir passes for tess shaders

running nir_lower_io_arrays_to_elements_no_indirects for only some stages
breaks location-setting for the stages which don't run it when
e.g., dmat2x3 variables are sometimes split across locations and
sometimes jammed into a single location (TCS I'm looking at you)

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9271>
src/gallium/drivers/zink/zink_compiler.c