summaryrefslogtreecommitdiffstats
path: root/src/glsl/ir_clone.cpp
diff options
context:
space:
mode:
authorPaul Berry <stereotype441@gmail.com>2013-11-29 00:52:11 -0800
committerPaul Berry <stereotype441@gmail.com>2013-12-09 10:55:09 -0800
commit088494aa032bf32db8b67f1fb07e5797603a473d (patch)
tree75118fb62d60fa288e77d0e14552e929e51de4b0 /src/glsl/ir_clone.cpp
parent7ea3baa64da061f86a50c41081a26e0c2859e99c (diff)
downloadexternal_mesa3d-088494aa032bf32db8b67f1fb07e5797603a473d.zip
external_mesa3d-088494aa032bf32db8b67f1fb07e5797603a473d.tar.gz
external_mesa3d-088494aa032bf32db8b67f1fb07e5797603a473d.tar.bz2
glsl/loops: Get rid of lower_bounded_loops and ir_loop::normative_bound.
Now that loop_controls no longer creates normatively bound loops, there is no need for ir_loop::normative_bound or the lower_bounded_loops pass. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Diffstat (limited to 'src/glsl/ir_clone.cpp')
-rw-r--r--src/glsl/ir_clone.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/glsl/ir_clone.cpp b/src/glsl/ir_clone.cpp
index 383627a..df6e971 100644
--- a/src/glsl/ir_clone.cpp
+++ b/src/glsl/ir_clone.cpp
@@ -158,8 +158,6 @@ ir_loop::clone(void *mem_ctx, struct hash_table *ht) const
{
ir_loop *new_loop = new(mem_ctx) ir_loop();
- new_loop->normative_bound = this->normative_bound;
-
foreach_iter(exec_list_iterator, iter, this->body_instructions) {
ir_instruction *ir = (ir_instruction *)iter.get();
new_loop->body_instructions.push_tail(ir->clone(mem_ctx, ht));