summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAras Pranckevicius <[email protected]>2010-08-06 12:31:56 +0200
committerEric Anholt <[email protected]>2010-08-06 14:17:40 -0700
commit58f1ffdd7c64c0c0962d2aaacdde8f55edefbb2c (patch)
tree53541bfe6532d0b9e4e949017af2ea995ca7a121
parent63cddb27d7e0f8d3fd71ccdf719341432a0ca970 (diff)
ir_function_inlining: Fix missing iter.next() in inlining sampler params.
Fixes glsl-fs-function-samplers.
-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. */