ir_to_mesa: Actually initialize the undef register for scalar_op1.
authorEric Anholt <eric@anholt.net>
Mon, 28 Jun 2010 22:02:51 +0000 (15:02 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 28 Jun 2010 22:07:19 +0000 (15:07 -0700)
commit59a23d7fb93603b2449db4c5d786934a07aebfcb
tree14b9429714c8e14cc253226f43d0f556a9f52513
parentf9ffccb06bcc90c862f20f8849b824022fbeebbf
ir_to_mesa: Actually initialize the undef register for scalar_op1.

Fixes glsl-sin, glsl-cos on 965, where we rely on unused src arguments
in the VS having a file of PROGRAM_UNDEFINED.
src/mesa/shader/ir_to_mesa.cpp