st/glsl_to_nir: call nir_remove_dead_variables() after lowing local indirects
authorTimothy Arceri <tarceri@itsqueeze.com>
Wed, 6 Feb 2019 09:37:14 +0000 (20:37 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Fri, 8 Feb 2019 02:54:56 +0000 (02:54 +0000)
commitd0af13cfb4165366f1568ce407ee180ea2b554cd
tree9a043b19fbabab36998a47d20ab7edd32a163adb
parentd0abbaa528a0b23999079951c88effb3f2c0d27a
st/glsl_to_nir: call nir_remove_dead_variables() after lowing local indirects

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/state_tracker/st_glsl_to_nir.cpp