diff options
author | Eric Anholt <[email protected]> | 2011-08-05 20:26:48 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2011-08-16 13:04:42 -0700 |
commit | 930afd1774bdcd013bccbd7b5717ae0bb8e3dea3 (patch) | |
tree | 73dd0fc58cce5a7a0dd1710d19eaef20adafe03a /src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp | |
parent | cda28bca0d789c328d19bf90afd35a5ff74cfb77 (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.cpp | 4 |
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). */ |