aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2011-08-05 20:26:48 -0700
committerEric Anholt <[email protected]>2011-08-16 13:04:42 -0700
commit930afd1774bdcd013bccbd7b5717ae0bb8e3dea3 (patch)
tree73dd0fc58cce5a7a0dd1710d19eaef20adafe03a /src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
parentcda28bca0d789c328d19bf90afd35a5ff74cfb77 (diff)
i965/vs: Don't forget to set up assignment condition code for arrays/structs.
Fixes vs-uniform-array-mat2-index-col-rd.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp')
-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).
*/