From a2bcaba1cdc4c06868d95c613a28584743471361 Mon Sep 17 00:00:00 2001 From: Vadim Girlin Date: Thu, 6 Oct 2011 09:05:23 +0400 Subject: r600g: mask write for fake VS export components --- src/gallium/drivers/r600/r600_shader.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/gallium/drivers') 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; -- cgit v1.2.3