diff options
author | Eric Anholt <[email protected]> | 2010-08-23 07:05:07 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-08-23 07:22:16 -0700 |
commit | ea709696185846c876581e1c41a21921826823ec (patch) | |
tree | 36c7a2aa732ddbb56d8d57fb3196c2758ef5b672 /src | |
parent | 2e215bc28f71d6b556ba65e6c4e26654782e1844 (diff) |
glsl2: Add missing sig_iter.next() to the no-constant-folding-to-outvals fix.
Diffstat (limited to 'src')
-rw-r--r-- | src/glsl/ir_constant_folding.cpp | 1 | ||||
-rw-r--r-- | src/glsl/ir_tree_grafting.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/glsl/ir_constant_folding.cpp b/src/glsl/ir_constant_folding.cpp index 5d770938529..3e6934c9a7c 100644 --- a/src/glsl/ir_constant_folding.cpp +++ b/src/glsl/ir_constant_folding.cpp @@ -117,6 +117,7 @@ ir_constant_folding_visitor::visit_enter(ir_call *ir) param_rval->replace_with(new_param); } } + sig_iter.next(); } return visit_continue_with_parent; diff --git a/src/glsl/ir_tree_grafting.cpp b/src/glsl/ir_tree_grafting.cpp index 748dcecefc6..9b569b8284f 100644 --- a/src/glsl/ir_tree_grafting.cpp +++ b/src/glsl/ir_tree_grafting.cpp @@ -202,6 +202,7 @@ ir_tree_grafting_visitor::visit_enter(ir_call *ir) ir->replace_with(new_ir); return visit_stop; } + sig_iter.next(); } return visit_continue; |