glsl2: Refactor constant folding of rvalues to a function.
authorEric Anholt <eric@anholt.net>
Wed, 4 Aug 2010 23:06:00 +0000 (16:06 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 4 Aug 2010 23:25:56 +0000 (16:25 -0700)
commit3d23f0a90c982ad43a6f18ef69a23b2fcdb1d1d2
tree01d504bee4e6d3946dfc1acfdafa042d7c56c1f4
parent0ef79a5f115659b3719a330d01a365e8ca8144c4
glsl2: Refactor constant folding of rvalues to a function.
src/glsl/ir_constant_folding.cpp