mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 06:30:10 +01:00
radeonsi/gfx10: simplify the tess_turns_off_ngg condition
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
This commit is contained in:
parent
42f921387b
commit
aced18aa61
1 changed files with 1 additions and 3 deletions
|
|
@ -2793,9 +2793,7 @@ static void *si_create_shader_selector(struct pipe_context *ctx,
|
|||
|
||||
/* EN_MAX_VERT_OUT_PER_GS_INSTANCE does not work with tesselation. */
|
||||
sel->tess_turns_off_ngg =
|
||||
(sscreen->info.family == CHIP_NAVI10 ||
|
||||
sscreen->info.family == CHIP_NAVI12 ||
|
||||
sscreen->info.family == CHIP_NAVI14) &&
|
||||
sscreen->info.chip_class == GFX10 &&
|
||||
sel->gs_num_invocations * sel->gs_max_out_vertices > 256;
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue