aboutsummaryrefslogtreecommitdiffstats
path: root/src/glsl
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl')
-rw-r--r--src/glsl/ir_function_inlining.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glsl/ir_function_inlining.cpp b/src/glsl/ir_function_inlining.cpp
index 35eb2b38ea9..fd52d106b1b 100644
--- a/src/glsl/ir_function_inlining.cpp
+++ b/src/glsl/ir_function_inlining.cpp
@@ -196,6 +196,8 @@ ir_call::generate_inline(ir_instruction *next_ir)
assert(deref);
do_sampler_replacement(&new_instructions, sig_param, deref);
}
+ param_iter.next();
+ sig_param_iter.next();
}
/* Now push those new instructions in. */