summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-04-11 13:45:55 -0700
committerEric Anholt <[email protected]>2012-04-19 17:44:54 -0700
commit8890c759513597903997f519c69e9db30790b6f4 (patch)
treeac9f3ea55ddd9d4e9b71165149dfe5c082aae66e
parent4b2a4cb7c2131c3c31e3d44a0d8838ef45f270e7 (diff)
i965/fs: Suppress printing the whole loop in BRW_OPCODE_DO annotation.
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs_visitor.cpp2
1 files changed, 2 insertions, 0 deletions
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);
}