From 8890c759513597903997f519c69e9db30790b6f4 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 11 Apr 2012 13:45:55 -0700 Subject: i965/fs: Suppress printing the whole loop in BRW_OPCODE_DO annotation. --- src/mesa/drivers/dri/i965/brw_fs_visitor.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mesa/drivers') diff --git a/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp b/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp index 51c1fd24275..8e98e1bb76c 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp @@ -1698,6 +1698,7 @@ fs_visitor::visit(ir_loop *ir) } } + this->base_ir = NULL; emit(BRW_OPCODE_DO); if (ir->to) { @@ -1724,6 +1725,7 @@ fs_visitor::visit(ir_loop *ir) emit(BRW_OPCODE_ADD, counter, counter, this->result); } + this->base_ir = NULL; emit(BRW_OPCODE_WHILE); } -- cgit v1.2.3