summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp b/src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp
index 99538bddb47..a1ecfde3743 100644
--- a/src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp
+++ b/src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp
@@ -969,7 +969,7 @@ fs_instruction_scheduler::choose_instruction_to_schedule()
fs_inst *inst = (fs_inst *)n->inst;
chosen = n;
- if (inst->regs_written <= 1)
+ if (v->brw->gen >= 7 || inst->regs_written <= 1)
break;
}
}