glsl: Make lower_mat_op_to_vec track derefs, not variables.
authorEric Anholt <eric@anholt.net>
Fri, 24 Jun 2011 19:08:56 +0000 (12:08 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 29 Jun 2011 22:09:47 +0000 (15:09 -0700)
commit8fad8637ef42ccd064a4f90b090d8096ab968e58
tree9d64b0826572f63a6a1d6b213f4e72c7737339c8
parent408377aed1dfae30605709fe1a134880a0386aa8
glsl: Make lower_mat_op_to_vec track derefs, not variables.

We were constrained to using temporaries because we were assuming
variables all over.  This simplifies things a bit.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/lower_mat_op_to_vec.cpp