From: Eric Anholt Date: Sat, 6 Aug 2011 03:26:48 +0000 (-0700) Subject: i965/vs: Don't forget to set up assignment condition code for arrays/structs. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=930afd1774bdcd013bccbd7b5717ae0bb8e3dea3;p=mesa.git i965/vs: Don't forget to set up assignment condition code for arrays/structs. Fixes vs-uniform-array-mat2-index-col-rd. --- 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). */