summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_shader.c
diff options
context:
space:
mode:
authorVadim Girlin <[email protected]>2011-10-06 09:05:23 +0400
committerAlex Deucher <[email protected]>2011-11-14 11:11:54 -0500
commita2bcaba1cdc4c06868d95c613a28584743471361 (patch)
tree03a60bfc11a3c256554ccedb7289a53a26dda58e /src/gallium/drivers/r600/r600_shader.c
parentdcdc062dda62212d09f522e07530ed79871ba481 (diff)
r600g: mask write for fake VS export components
Diffstat (limited to 'src/gallium/drivers/r600/r600_shader.c')
-rw-r--r--src/gallium/drivers/r600/r600_shader.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c
index 48a2f7b7329..e0b71ab36e4 100644
--- a/src/gallium/drivers/r600/r600_shader.c
+++ b/src/gallium/drivers/r600/r600_shader.c
@@ -935,10 +935,10 @@ static int r600_shader_from_tgsi(struct r600_pipe_context * rctx, struct r600_pi
memset(&output[i], 0, sizeof(struct r600_bytecode_output));
output[i].gpr = 0;
output[i].elem_size = 3;
- output[i].swizzle_x = 0;
- output[i].swizzle_y = 1;
- output[i].swizzle_z = 2;
- output[i].swizzle_w = 3;
+ output[i].swizzle_x = 7;
+ output[i].swizzle_y = 7;
+ output[i].swizzle_z = 7;
+ output[i].swizzle_w = 7;
output[i].burst_count = 1;
output[i].barrier = 1;
output[i].type = V_SQ_CF_ALLOC_EXPORT_WORD0_SQ_EXPORT_PARAM;