radeonsi: decrease vertex count threshold for shader culling to 128

to match radv

Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13048>
This commit is contained in:
Marek Olšák
2021-09-25 12:47:28 -04:00
committed by Marge Bot
parent 465f249ec8
commit ca37d4c925

View File

@@ -2984,7 +2984,7 @@ static void *si_create_shader_selector(struct pipe_context *ctx,
sscreen->info.chip_class == GFX10_3 ||
(sscreen->info.chip_class == GFX10 &&
sscreen->info.is_pro_graphics)) {
sel->ngg_cull_vert_threshold = sscreen->info.num_se >= 3 ? 511 : 255;
sel->ngg_cull_vert_threshold = 128;
}
} else if (sel->info.stage == MESA_SHADER_TESS_EVAL) {
if (sel->rast_prim == PIPE_PRIM_TRIANGLES &&