From 088494aa032bf32db8b67f1fb07e5797603a473d Mon Sep 17 00:00:00 2001 From: Paul Berry Date: Fri, 29 Nov 2013 00:52:11 -0800 Subject: 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 --- src/glsl/loop_unroll.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/glsl/loop_unroll.cpp') diff --git a/src/glsl/loop_unroll.cpp b/src/glsl/loop_unroll.cpp index 4645dcbab19..6eced17365b 100644 --- a/src/glsl/loop_unroll.cpp +++ b/src/glsl/loop_unroll.cpp @@ -228,9 +228,6 @@ loop_unroll_visitor::visit_leave(ir_loop *ir) loop_variable_state *const ls = this->state->get(ir); int iterations; - /* Note: normatively-bounded loops aren't created anymore. */ - assert(ir->normative_bound < 0); - /* If we've entered a loop that hasn't been analyzed, something really, * really bad has happened. */ -- cgit v1.2.3