summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2014-02-03 15:31:26 +1000
committerDave Airlie <[email protected]>2014-02-05 10:49:42 +1000
commitb209afb153c39be1693879ce9666ca18f12b6a37 (patch)
tree2319409326fc2ed7b29f915a8429025203944d88 /src/gallium/drivers/r600
parentce9e939144aa2c711718dce42477858e13f6b264 (diff)
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 <[email protected]> Reviewed-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600')
-rw-r--r--src/gallium/drivers/r600/r600_shader.c2
1 files changed, 1 insertions, 1 deletions
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 */