mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
radv: drop the ES vertex count requirement on GFX11
Ported from RadeonSI. 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/19155>
This commit is contained in:
parent
bc19ffef27
commit
f8bf2a9a15
1 changed files with 2 additions and 1 deletions
|
|
@ -1009,7 +1009,8 @@ gfx10_get_ngg_info(const struct radv_device *device, struct radv_pipeline_stage
|
|||
unsigned gsprim_lds_size = 0;
|
||||
|
||||
/* All these are per subgroup: */
|
||||
const unsigned min_esverts = gfx_level >= GFX10_3 ? 29 : 24;
|
||||
const unsigned min_esverts = gfx_level >= GFX11 ? 3 : /* gfx11 requires at least 1 primitive per TG */
|
||||
gfx_level >= GFX10_3 ? 29 : 24;
|
||||
bool max_vert_out_per_gs_instance = false;
|
||||
unsigned max_esverts_base = 128;
|
||||
unsigned max_gsprims_base = 128; /* default prim group size clamp */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue