glsl2: Use a better talloc context for ir_expression_flattening.
authorEric Anholt <eric@anholt.net>
Mon, 12 Jul 2010 22:41:31 +0000 (15:41 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 12 Jul 2010 23:07:02 +0000 (16:07 -0700)
commitd74c9ff046c9cf8ee33c202eb5eba3dfc7f8e06e
tree906cd88a4948883c509a18b982c6a3c9672b5487
parent7b96b474e06f83bf4abec42b3a9cb2dee0ea1b68
glsl2: Use a better talloc context for ir_expression_flattening.

The instruction can be hung off of any other in the tree, even if the
other one will be deleted, since it'll get stolen to the shader's
context later if it's still live.
src/glsl/ir_expression_flattening.cpp