mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 15:10:10 +01:00
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 <airlied@redhat.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
ce9e939144
commit
b209afb153
1 changed files with 1 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue