i965: Move nir_lower_locals_to_regs a bit later.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 10 Aug 2016 01:02:46 +0000 (18:02 -0700)
committerTimothy Arceri <timothy.arceri@collabora.com>
Wed, 11 Jan 2017 22:47:29 +0000 (09:47 +1100)
commitb5e682a1efa0a929574e739807ac2b046e004561
tree6a2182dc4e1ce233876322a9453c6ac0426bf694
parentfd957b17511b9a7654e70e0f4a21c2c7547f95c6
i965: Move nir_lower_locals_to_regs a bit later.

I'm going to add a boolean scheduling pass that I want run late, but
after copy propagation and dead code elimination.  Yet, I don't want
to have to think about registers.  So, move the register conversion
a little later.

No impact on shader-db.  Suggested by Jason Ekstrand.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
src/mesa/drivers/dri/i965/brw_nir.c