Eric Anholt
|
bae5be356e
|
Perform constant folding on array indices.
Replaces a constant var deref with a constant value in CorrectParse1.frag.
|
2010-04-06 11:42:34 -07:00 |
|
Eric Anholt
|
3fff009af1
|
Fold constant expressions in if conditionals.
Fixes up 3 more expressions in CorrectParse2.frag.
|
2010-04-06 11:42:34 -07:00 |
|
Eric Anholt
|
62735694a1
|
Add a constant folding optimization pass.
|
2010-04-06 11:42:31 -07:00 |
|