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:
@@ -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 &&
|
||||
|
||||
Reference in New Issue
Block a user