projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nir/lower_system_values: Stop supporting non-SSA
[mesa.git]
/
src
/
glsl
/
opt_flip_matrices.cpp
diff --git
a/src/glsl/opt_flip_matrices.cpp
b/src/glsl/opt_flip_matrices.cpp
index 9044fd6806625feb0ac0347d3f7ed1a02d9aa15a..04c6170b845ba204e3f65e4ec338ad520dc81b23 100644
(file)
--- a/
src/glsl/opt_flip_matrices.cpp
+++ b/
src/glsl/opt_flip_matrices.cpp
@@
-45,8
+45,7
@@
public:
mvp_transpose = NULL;
texmat_transpose = NULL;
- foreach_list(n, instructions) {
- ir_instruction *ir = (ir_instruction *) n;
+ foreach_in_list(ir_instruction, ir, instructions) {
ir_variable *var = ir->as_variable();
if (!var)
continue;