diff options
author | Corbin Simpson <MostAwesomeDude@gmail.com> | 2009-05-08 22:45:56 -0700 |
---|---|---|
committer | Corbin Simpson <MostAwesomeDude@gmail.com> | 2009-05-09 00:45:47 -0700 |
commit | c6d2b4a495affbaf0fbc53cf54159a7b2b4f6085 (patch) | |
tree | 25dd9e4d9968f54a2a2f6d2f6ae2b8bdae7dbee4 /src | |
parent | ce758a21b9984cce14db4234fbe353d06a3a2d32 (diff) |
r300-gallium: vs: Add writemasks.
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/r300/r300_state_tcl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_state_tcl.c b/src/gallium/drivers/r300/r300_state_tcl.c index d84912de48..c52ce258c2 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 = |