diff options
author | Eric Anholt <eric@anholt.net> | 2010-05-03 16:17:57 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-06-24 15:05:19 -0700 |
commit | 8197eeee3bbca4ab2deacfbf675285560f49e13c (patch) | |
tree | 2b4f93c276cbe1023ebaa1fccf010346f812365e | |
parent | aaee40e107cf07a12c8e373d8bb910254f4ba30b (diff) |
ir_to_mesa: Fill in more bits of dest resg.
-rw-r--r-- | ir_to_mesa.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ir_to_mesa.cpp b/ir_to_mesa.cpp index a0d3ae9c8d..b55e5df9f6 100644 --- a/ir_to_mesa.cpp +++ b/ir_to_mesa.cpp @@ -544,6 +544,8 @@ do_ir_to_mesa(exec_list *instructions) mesa_inst->Opcode = inst->op; mesa_inst->DstReg.File = inst->dst_reg.file; mesa_inst->DstReg.Index = inst->dst_reg.index; + mesa_inst->DstReg.CondMask = COND_TR; + mesa_inst->DstReg.WriteMask = WRITEMASK_XYZW; mesa_inst->SrcReg[0] = mesa_src_reg_from_ir_src_reg(inst->src_reg[0]); mesa_inst->SrcReg[1] = mesa_src_reg_from_ir_src_reg(inst->src_reg[1]); mesa_inst->SrcReg[2] = mesa_src_reg_from_ir_src_reg(inst->src_reg[2]); |