projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gen7/pipeline: Actually use inputs_read from the VS for laying out inputs
[mesa.git]
/
src
/
glsl
/
ir_expression_flattening.cpp
diff --git
a/src/glsl/ir_expression_flattening.cpp
b/src/glsl/ir_expression_flattening.cpp
index 0b1ada519a84a24c852f5d63792f1fbfa50531d4..c13ae811d78b1dfdccbf0a2ccc25f0acbf7df765 100644
(file)
--- a/
src/glsl/ir_expression_flattening.cpp
+++ b/
src/glsl/ir_expression_flattening.cpp
@@
-57,9
+57,7
@@
do_expression_flattening(exec_list *instructions,
{
ir_expression_flattening_visitor v(predicate);
- foreach_list(n, instructions) {
- ir_instruction *ir = (ir_instruction *) n;
-
+ foreach_in_list(ir_instruction, ir, instructions) {
ir->accept(&v);
}
}