mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
radeonsi: enable NGG culling by default on Navi1x PRO cards
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7172>
This commit is contained in:
parent
67a67ea29e
commit
57d317865e
1 changed files with 3 additions and 1 deletions
|
|
@ -2799,7 +2799,9 @@ static void *si_create_shader_selector(struct pipe_context *ctx,
|
|||
sel->ngg_cull_vert_threshold = 0; /* always enabled */
|
||||
else if (sscreen->options.shader_culling ||
|
||||
(sscreen->info.chip_class == GFX10_3 &&
|
||||
sscreen->info.has_dedicated_vram))
|
||||
sscreen->info.has_dedicated_vram) ||
|
||||
(sscreen->info.chip_class == GFX10 &&
|
||||
sscreen->info.is_pro_graphics))
|
||||
sel->ngg_cull_vert_threshold = 1500; /* vertex count must be more than this */
|
||||
} else if (sel->info.stage == MESA_SHADER_TESS_EVAL) {
|
||||
if (sscreen->debug_flags & DBG(ALWAYS_NGG_CULLING_ALL) ||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue