Module: Mesa Branch: master Commit: 19711b0f44a92e450240b7dcbae4f2c147ed6208 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=19711b0f44a92e450240b7dcbae4f2c147ed6208
Author: Samuel Pitoiset <[email protected]> Date: Tue Feb 9 10:48:53 2021 +0100 radv: stop allocating useless ESGS scratch BO on GFX10+ On GFX10+, the ESGS ring is allocated in LDS. This saves one BO when geometry shaders are used, and possibly two BOs if nothing else (tess, scratch, etc) is used. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8926> --- src/amd/vulkan/radv_pipeline.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/amd/vulkan/radv_pipeline.c b/src/amd/vulkan/radv_pipeline.c index 79daf2d18b5..e9831c72e80 100644 --- a/src/amd/vulkan/radv_pipeline.c +++ b/src/amd/vulkan/radv_pipeline.c @@ -2229,8 +2229,6 @@ gfx10_get_ngg_info(const struct radv_pipeline_key *key, ngg->vgt_esgs_ring_itemsize = 1; } - pipeline->graphics.esgs_ring_size = ngg->esgs_ring_size; - assert(ngg->hw_max_esverts >= min_esverts); /* HW limitation */ } _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
