Perform constant folding on array indices.
authorEric Anholt <eric@anholt.net>
Tue, 6 Apr 2010 18:11:05 +0000 (11:11 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 6 Apr 2010 18:42:34 +0000 (11:42 -0700)
commitbae5be356eef9efd893e8937d11ecb1b5f3feee6
treecfe19a3e91a42ebf05b313431d10ecffb08bdb6a
parentaf18641f0a9f717fdeab8d3e94c1df93b48c4d30
Perform constant folding on array indices.

Replaces a constant var deref with a constant value in CorrectParse1.frag.
ir_constant_folding.cpp