anv,turnip,radv,clover,glspirv: Run nir_copy_prop before nir_opt_deref
authorJason Ekstrand <jason@jlekstrand.net>
Thu, 11 Jun 2020 18:29:02 +0000 (13:29 -0500)
committerJason Ekstrand <jason@jlekstrand.net>
Fri, 24 Jul 2020 03:43:21 +0000 (22:43 -0500)
commit196db51fc27090012ce6f94bfffc3909f78c44d3
tree32d3eae620c2017c3a4dc401e974257f2521f474
parent66c8628b65c4239022b799a9ef569d1d44819e9e
anv,turnip,radv,clover,glspirv: Run nir_copy_prop before nir_opt_deref

We're about to make the SPIR-V -> NIR path generate a bit more complex
SSA chains for certain derefs.  This will ensure we don't regress anyone
when we start making vec2's of derefs.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5278>
src/amd/vulkan/radv_shader.c
src/freedreno/vulkan/tu_shader.c
src/gallium/frontends/clover/nir/invocation.cpp
src/intel/vulkan/anv_pipeline.c
src/mesa/main/glspirv.c