ir_to_mesa: Use emit overloads to avoid passing undef registers.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 5 Apr 2011 19:22:42 +0000 (12:22 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 5 Apr 2011 22:31:58 +0000 (15:31 -0700)
commit5d9718f0dbe1bb9b25324c43ed0fa631735c6a51
treebea6166bbd02cedd00d2fd2aaf3110f860d29620
parent01e19fcf1f36cea40cc5efc48796d4e153a20f2f
ir_to_mesa: Use emit overloads to avoid passing undef registers.

Makes the code just a little bit cleaner.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/program/ir_to_mesa.cpp