summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2014-01-28 10:21:03 +1000
committerDave Airlie <[email protected]>2014-02-05 10:49:38 +1000
commitdefebc0293a660155ef3027ee8cc65319379b2ed (patch)
tree32b81560e154da80b032794f594f0b36233a6715 /src/gallium/drivers/r600
parentd9954e402f7e766876c80d31e40011dfd8240ecb (diff)
r600g: increase array base for exported parameters
Trivial fix to Vadim's code. Signed-off-by: Dave Airlie <[email protected]> Reviewed-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600')
-rw-r--r--src/gallium/drivers/r600/r600_shader.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c
index 5d3f7c89406..f4a3194fe59 100644
--- a/src/gallium/drivers/r600/r600_shader.c
+++ b/src/gallium/drivers/r600/r600_shader.c
@@ -1221,6 +1221,9 @@ static int generate_gs_copy_shader(struct r600_context *rctx,
output.swizzle_z = 4; /* 0 */
output.swizzle_w = 5; /* 1 */
break;
+ default:
+ output.array_base = next_param++;
+ break;
}
r600_bytecode_add_output(ctx.bc, &output);
if (output.type == V_SQ_CF_ALLOC_EXPORT_WORD0_SQ_EXPORT_PARAM)