From: Corbin Simpson Date: Sat, 9 May 2009 05:45:56 +0000 (-0700) Subject: r300-gallium: vs: Add writemasks. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c6d2b4a495affbaf0fbc53cf54159a7b2b4f6085;p=mesa.git r300-gallium: vs: Add writemasks. --- diff --git a/src/gallium/drivers/r300/r300_state_tcl.c b/src/gallium/drivers/r300/r300_state_tcl.c index d84912de48f..c52ce258c2e 100644 --- a/src/gallium/drivers/r300/r300_state_tcl.c +++ b/src/gallium/drivers/r300/r300_state_tcl.c @@ -169,7 +169,7 @@ static void r300_vs_emit_inst(struct r300_vertex_shader* vs, vs->instructions[i].inst0 = R300_PVS_DST_OPCODE(r300_vs_op(op)) | R300_PVS_DST_REG_TYPE(r300_vs_dst_type(assembler, &dst->DstRegister)) | R300_PVS_DST_OFFSET(r300_vs_dst(assembler, &dst->DstRegister)) | - R300_PVS_DST_WE_XYZW; + R300_PVS_DST_WE(dst->DstRegister.WriteMask); switch (count) { case 3: vs->instructions[i].inst3 =