diff options
author | Nicolai Hähnle <[email protected]> | 2016-11-30 12:26:49 +0100 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2016-12-12 09:05:17 +0100 |
commit | ec0a0a60cc2773624f6c72b11c4d37519397a59d (patch) | |
tree | f31996f542c448d172fe94e01747aec1a90028e7 /src | |
parent | 6fdef7d26569c1c8bfebcd5d16749ef094b01982 (diff) |
radeonsi: shrink the GSVS ring to account for the reduced item sizes
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state_shaders.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state_shaders.c b/src/gallium/drivers/radeonsi/si_state_shaders.c index 151ed17b1d4..4a7f638f1d3 100644 --- a/src/gallium/drivers/radeonsi/si_state_shaders.c +++ b/src/gallium/drivers/radeonsi/si_state_shaders.c @@ -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); |