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 <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8926>
This commit is contained in:

committed by
Marge Bot

parent
caafedf38f
commit
19711b0f44
@@ -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 */
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user