mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 10:50:10 +01:00
radeonsi: shrink the GSVS ring to account for the reduced item sizes
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
parent
6fdef7d265
commit
ec0a0a60cc
1 changed files with 1 additions and 1 deletions
|
|
@ -1961,7 +1961,7 @@ static bool si_update_gs_ring_buffers(struct si_context *sctx)
|
|||
unsigned esgs_ring_size = max_gs_waves * 2 * wave_size *
|
||||
es->esgs_itemsize * gs->gs_input_verts_per_prim;
|
||||
unsigned gsvs_ring_size = max_gs_waves * 2 * wave_size *
|
||||
gs->max_gsvs_emit_size * (gs->max_gs_stream + 1);
|
||||
gs->max_gsvs_emit_size;
|
||||
|
||||
min_esgs_ring_size = align(min_esgs_ring_size, alignment);
|
||||
esgs_ring_size = align(esgs_ring_size, alignment);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue