Fixes a regression unintentionally introduced by "glsl_to_tgsi: fix shaders with
indirect addressing of temps" that caused missing leaves in 3dmark01 test 4 (Nature)
and missing/displaced textures on human models in Counter-Strike: Source.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Bryan Cain <bryancain3@gmail.com>
*/
if (!v->indirect_addr_temps) {
v->copy_propagate();
- v->merge_registers();
v->eliminate_dead_code();
+ v->merge_registers();
v->renumber_registers();
}