glsl_to_tgsi: improve assignment handling
authorBryan Cain <bryancain3@gmail.com>
Mon, 27 Jun 2011 22:11:07 +0000 (17:11 -0500)
committerBryan Cain <bryancain3@gmail.com>
Mon, 1 Aug 2011 22:59:09 +0000 (17:59 -0500)
commitf00406b68c07f97b11e873c04917cafdb1a67462
tree2d00498e70c37b64e73c09b2546584a1bb1fbae7
parent71cbc9e3c4c9ef6090ee31e87601ae64af26321e
glsl_to_tgsi: improve assignment handling

This is a hack, but it's better than emitting an unnecessary MOV instruction
and hoping the optimization passes clean it up.
src/mesa/state_tracker/st_glsl_to_tgsi.cpp