i965/fs: Suppress printing the whole loop in BRW_OPCODE_DO annotation.

This commit is contained in:
Eric Anholt 2012-04-11 13:45:55 -07:00
parent 4b2a4cb7c2
commit 8890c75951

View file

@ -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);
}