From: Eric Anholt Date: Wed, 11 Apr 2012 20:45:55 +0000 (-0700) Subject: i965/fs: Suppress printing the whole loop in BRW_OPCODE_DO annotation. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8890c759513597903997f519c69e9db30790b6f4;p=mesa.git i965/fs: Suppress printing the whole loop in BRW_OPCODE_DO annotation. --- 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); }