glsl2: Always insert function calls into the instruction stream.
authorEric Anholt <eric@anholt.net>
Tue, 20 Jul 2010 22:50:48 +0000 (15:50 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 20 Jul 2010 22:59:04 +0000 (15:59 -0700)
commit02d3711a21f5766d286b09fbe1eda5d8520d151a
tree8c6c2edc767bc912a3a0d5984cb7d6a47ab0b533
parentf8946699ecfa5bc6566821fb855072bbdbd716b2
glsl2: Always insert function calls into the instruction stream.

If they have a return value, this means putting it into a temporary
and making a deref of the temp be the rvalue, since we don't know if
the rvalue will be used or not.
src/glsl/ast_function.cpp