From ea709696185846c876581e1c41a21921826823ec Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 23 Aug 2010 07:05:07 -0700 Subject: [PATCH] glsl2: Add missing sig_iter.next() to the no-constant-folding-to-outvals fix. --- src/glsl/ir_constant_folding.cpp | 1 + src/glsl/ir_tree_grafting.cpp | 1 + 2 files changed, 2 insertions(+) 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; -- 2.30.2