ir_constant_variable: Don't mark variable from outside our scope as constant.
authorEric Anholt <eric@anholt.net>
Thu, 29 Jul 2010 21:54:01 +0000 (14:54 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 29 Jul 2010 22:09:28 +0000 (15:09 -0700)
commitee4b4bab682ca64740b78d99d421e3d676eec447
tree235e42e8c5ee0e141b1de8e80d166873ec7a9229
parentbf496862be1ba863285aa2c1a2262b2d764c3e53
ir_constant_variable: Don't mark variable from outside our scope as constant.

Fixes (with software, except for alpha):
glsl1-function with early return(3)
src/glsl/ir_constant_variable.cpp