st/mesa: call nir_sweep in st_finalize_nir
authorMarek Olšák <marek.olsak@amd.com>
Tue, 19 Nov 2019 21:35:59 +0000 (16:35 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 19 Nov 2019 23:02:06 +0000 (18:02 -0500)
commit610fb0e19cb5eb83677b485bb931e3f71e976f4d
tree753418557e8ee4b2438cd792b9eeeb373c451613
parent4e70cba638b98ee2e3952d30ac767ce9f325656c
st/mesa: call nir_sweep in st_finalize_nir

This is invoked sooner before (pre-)compiling the first variant and is
also applied to fixed-func and ARB programs.
src/mesa/state_tracker/st_glsl_to_nir.cpp
src/mesa/state_tracker/st_program.c