diff options
author | Samuel Pitoiset <[email protected]> | 2018-10-29 12:13:13 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2018-10-29 12:33:58 +0100 |
commit | 9e56ffb0b487162de57100b0393ba188e60149d5 (patch) | |
tree | bc65599519699adf3180b0a9a89e6c0c102e527e /src/amd | |
parent | a61952e7374c3d30cf05765245bf6f5d5fcbe900 (diff) |
radv: remove wrong comment in calculate_gs_ring_sizes() about streams
The computation seems correct compared to RadeonSI.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd')
-rw-r--r-- | src/amd/vulkan/radv_pipeline.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |