mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 15:50:17 +01:00
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:
parent
caafedf38f
commit
19711b0f44
1 changed files with 0 additions and 2 deletions
|
|
@ -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 */
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue