projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63cddb2
)
ir_function_inlining: Fix missing iter.next() in inlining sampler params.
author
Aras Pranckevicius
<aras@unity3d.com>
Fri, 6 Aug 2010 10:31:56 +0000
(12:31 +0200)
committer
Eric Anholt
<eric@anholt.net>
Fri, 6 Aug 2010 21:17:40 +0000
(14:17 -0700)
Fixes glsl-fs-function-samplers.
src/glsl/ir_function_inlining.cpp
patch
|
blob
|
history
diff --git
a/src/glsl/ir_function_inlining.cpp
b/src/glsl/ir_function_inlining.cpp
index 35eb2b38ea936096ce049b5917e8b3e38e2e6932..fd52d106b1b3bc536ed3febffe53bb7fa2d16c12 100644
(file)
--- 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. */