glsl2: When stealing var->constant_value, steal its children as well.
authorEric Anholt <eric@anholt.net>
Tue, 27 Jul 2010 22:25:07 +0000 (15:25 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 27 Jul 2010 22:25:07 +0000 (15:25 -0700)
commitf9b0e5e322a676cf778dc3785281040fcc0bd248
tree2d3ae7d96032415da7f93516bf6ca7e256bb7f31
parent9a670c2e9b7e07ba43d175f3bfb23951296794c4
glsl2: When stealing var->constant_value, steal its children as well.

Fixes:
glsl1-GLSL 1.20 uniform array constructor
src/glsl/ir.cpp