i965/nir: Do a final copy lowering pass before lowering locals to regs

Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
This commit is contained in:
Jason Ekstrand 2015-01-14 15:25:52 -08:00
parent 0f85310975
commit c56adc68e2
1 changed files with 3 additions and 0 deletions

View File

@ -60,6 +60,9 @@ fs_visitor::emit_nir_code()
} while (progress);
/* Lower a bunch of stuff */
nir_lower_var_copies(nir);
nir_validate_shader(nir);
nir_lower_io(nir);
nir_validate_shader(nir);