diff options
author | Eric Anholt <[email protected]> | 2010-08-22 18:15:20 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-08-22 18:34:46 -0700 |
commit | 6606fde3ec18288ecc4c6ce6d3fd32224a6c5248 (patch) | |
tree | 125413c14e7620e665b21c71d668df240d145c3d /docs/RELNOTES-6.0 | |
parent | 137b8397fa5cc5d70e86a4b14d6be9326340f584 (diff) |
glsl: Convert constant folding to the rvalue visitor.
This should be mostly a noop, except that a plain dereference of a
variable that is not part of a constant expression could now get
"constant folded". I expect that for all current backends this will
be either a noop, or possibly a win when it provokes more
ir_algebraic. It'll also ensure that when new features are added,
tree walking will work normally. Before this, constants weren't
getting folded inside of loops.
Diffstat (limited to 'docs/RELNOTES-6.0')
0 files changed, 0 insertions, 0 deletions