From b209afb153c39be1693879ce9666ca18f12b6a37 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Mon, 3 Feb 2014 15:31:26 +1000 Subject: r600g: calculate a better value for array_size (v2) attempt to calculate a better value for array size to avoid breaking apps. v2: use 0xfff like streamout, suggested by Grigori Signed-off-by: Dave Airlie Reviewed-by: Alex Deucher --- src/gallium/drivers/r600/r600_shader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers') diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c index 8fa70542ea1..213b1c9db81 100644 --- a/src/gallium/drivers/r600/r600_shader.c +++ b/src/gallium/drivers/r600/r600_shader.c @@ -1416,7 +1416,7 @@ static int emit_gs_ring_writes(struct r600_shader_ctx *ctx, bool ind) if (ind) { output.array_base = ring_offset >> 2; /* in dwords */ - output.array_size = 0xff + output.array_size = 0xfff; output.index_gpr = ctx->gs_export_gpr_treg; } else output.array_base = ring_offset >> 2; /* in dwords */ -- cgit v1.2.3