From: Samuel Pitoiset Date: Mon, 29 Oct 2018 11:13:13 +0000 (+0100) Subject: radv: remove wrong comment in calculate_gs_ring_sizes() about streams X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9e56ffb0b487162de57100b0393ba188e60149d5;p=mesa.git radv: remove wrong comment in calculate_gs_ring_sizes() about streams The computation seems correct compared to RadeonSI. Signed-off-by: Samuel Pitoiset Reviewed-by: Dave Airlie --- diff --git a/src/amd/vulkan/radv_pipeline.c b/src/amd/vulkan/radv_pipeline.c index c21ca1743a4..90356a49f94 100644 --- a/src/amd/vulkan/radv_pipeline.c +++ b/src/amd/vulkan/radv_pipeline.c @@ -1591,7 +1591,7 @@ calculate_gs_ring_sizes(struct radv_pipeline *pipeline, const struct radv_gs_sta unsigned esgs_ring_size = max_gs_waves * 2 * wave_size * gs->vgt_esgs_ring_itemsize * 4 * gs_info->gs.vertices_in; unsigned gsvs_ring_size = max_gs_waves * 2 * wave_size * - gs_info->gs.max_gsvs_emit_size * 1; // no streams in VK (gs->max_gs_stream + 1); + gs_info->gs.max_gsvs_emit_size; min_esgs_ring_size = align(min_esgs_ring_size, alignment); esgs_ring_size = align(esgs_ring_size, alignment);