From: Eric Anholt Date: Mon, 23 Aug 2010 14:05:07 +0000 (-0700) Subject: glsl2: Add missing sig_iter.next() to the no-constant-folding-to-outvals fix. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ea709696185846c876581e1c41a21921826823ec;p=mesa.git glsl2: Add missing sig_iter.next() to the no-constant-folding-to-outvals fix. --- 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;