projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42f9213
)
radeonsi/gfx10: simplify the tess_turns_off_ngg condition
author
Marek Olšák
<marek.olsak@amd.com>
Tue, 12 Nov 2019 22:10:05 +0000
(17:10 -0500)
committer
Marek Olšák
<marek.olsak@amd.com>
Tue, 10 Dec 2019 21:32:36 +0000
(16:32 -0500)
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
src/gallium/drivers/radeonsi/si_state_shaders.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/si_state_shaders.c
b/src/gallium/drivers/radeonsi/si_state_shaders.c
index d70b9a92669baa1285300551b9b8caf168f84144..a81636801cccd8ac6000151714059faf9827c6cb 100644
(file)
--- a/
src/gallium/drivers/radeonsi/si_state_shaders.c
+++ b/
src/gallium/drivers/radeonsi/si_state_shaders.c
@@
-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;