summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/ir_optimization.h
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2016-04-29 14:04:17 -0700
committerKenneth Graunke <[email protected]>2016-05-15 23:59:10 -0700
commit3bf27a9a002fd5c23937e4e34aff35c94824008f (patch)
tree1c16414d5b916228b6b496d0c0400b5c71f5df82 /src/compiler/glsl/ir_optimization.h
parent8e59670bcf925714896fb275a364e97a5137f0f7 (diff)
glsl: Remove bonus tree walking in opt_constant_folding().
It looks like this was missed when converting opt_constant_folding() from a hierarchical visitor to an rvalue visitor in 6606fde3. ir_rvalue_visitor already processes values on the way back up the tree, so we will have already visited every child node. There's no point in doing it again. No change in shader-db. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/compiler/glsl/ir_optimization.h')
0 files changed, 0 insertions, 0 deletions