summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
index 7e0535b5c02..27620c47085 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
+++ b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
@@ -1276,6 +1276,10 @@ vec4_visitor::emit_block_move(ir_assignment *ir)
dst_reg dst = get_assignment_lhs(ir->lhs, this);
+ if (ir->condition) {
+ emit_bool_to_cond_code(ir->condition);
+ }
+
/* FINISHME: This should really set to the correct maximal writemask for each
* FINISHME: component written (in the loops below).
*/