OSDN Git Service

glsl: Make ir_algebraic new expressions allocate out of the parent.
authorEric Anholt <eric@anholt.net>
Tue, 17 Aug 2010 20:27:44 +0000 (13:27 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 17 Aug 2010 20:47:15 +0000 (13:47 -0700)
commitf166d94fac8383b4c56f899ead0b7c06151e16d9
tree79c8012e7e197520bc88ca35e57b40316854473b
parent664364052f362af2789e6b0fa88b6a5ba66ba936
glsl: Make ir_algebraic new expressions allocate out of the parent.

This could reduce the amount of memory used by a shader tree after
optimization, and increases consistency with other passes.
src/glsl/ir_algebraic.cpp