From: Eric Anholt Date: Mon, 3 May 2010 23:17:57 +0000 (-0700) Subject: ir_to_mesa: Fill in more bits of dest resg. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8197eeee3bbca4ab2deacfbf675285560f49e13c;p=mesa.git ir_to_mesa: Fill in more bits of dest resg. --- diff --git a/ir_to_mesa.cpp b/ir_to_mesa.cpp index a0d3ae9c8d4..b55e5df9f66 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]);