summaryrefslogtreecommitdiffstats
path: root/src/glsl/ir_print_visitor.cpp
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2013-11-29 00:52:11 -0800
committerPaul Berry <[email protected]>2013-12-09 10:55:09 -0800
commit088494aa032bf32db8b67f1fb07e5797603a473d (patch)
tree75118fb62d60fa288e77d0e14552e929e51de4b0 /src/glsl/ir_print_visitor.cpp
parent7ea3baa64da061f86a50c41081a26e0c2859e99c (diff)
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 <[email protected]>
Diffstat (limited to 'src/glsl/ir_print_visitor.cpp')
-rw-r--r--src/glsl/ir_print_visitor.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/glsl/ir_print_visitor.cpp b/src/glsl/ir_print_visitor.cpp
index 857a27ad21f..2beefedf16e 100644
--- a/src/glsl/ir_print_visitor.cpp
+++ b/src/glsl/ir_print_visitor.cpp
@@ -523,10 +523,7 @@ ir_print_visitor::visit(ir_if *ir)
void
ir_print_visitor::visit(ir_loop *ir)
{
- printf("(loop (");
- if (ir->normative_bound >= 0)
- printf("%d", ir->normative_bound);
- printf(") (\n");
+ printf("(loop (\n");
indentation++;
foreach_iter(exec_list_iterator, iter, ir->body_instructions) {