glsl: Convert piles of foreach_iter to foreach_list_safe.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 22 Nov 2013 10:10:15 +0000 (02:10 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 13 Jan 2014 19:38:19 +0000 (11:38 -0800)
commit838a6871bbcd8cd0493bb39b188129f7d49de47e
tree78a442fbc3ee72f5e13d2130d8aee34cfd9b97b7
parent5f7e778fa1b1e969a1b15e3650dec49b0026ed08
glsl: Convert piles of foreach_iter to foreach_list_safe.

In these cases, we edit the list (or at least might be), so we use the
foreach_list_safe variant.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
12 files changed:
src/glsl/ir.cpp
src/glsl/ir_rvalue_visitor.cpp
src/glsl/lower_vec_index_to_cond_assign.cpp
src/glsl/lower_vec_index_to_swizzle.cpp
src/glsl/opt_array_splitting.cpp
src/glsl/opt_constant_propagation.cpp
src/glsl/opt_copy_propagation.cpp
src/glsl/opt_dead_code_local.cpp
src/glsl/opt_dead_functions.cpp
src/glsl/opt_function_inlining.cpp
src/glsl/opt_if_simplification.cpp
src/glsl/opt_structure_splitting.cpp