diff options
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs_visitor.cpp | 2 |
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); } |