radeonsi: don't disable NGG culling on gfx10.3
This was causing the hangs:
42f921387b
- radeonsi/gfx10: disable vertex grouping
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
6810e6e4d0
commit
e7d3f22c6a
|
@ -1186,11 +1186,6 @@ static struct pipe_screen *radeonsi_screen_create_impl(struct radeon_winsys *ws,
|
|||
driQueryOptionb(config->options, "radeonsi_commutative_blend_add") ||
|
||||
driQueryOptionb(config->options, "allow_draw_out_of_order");
|
||||
|
||||
/* TODO: Find out why NGG culling hangs on gfx10.3 */
|
||||
if (sscreen->info.chip_class == GFX10_3 &&
|
||||
!(sscreen->debug_flags & (DBG(ALWAYS_NGG_CULLING_ALL) | DBG(ALWAYS_NGG_CULLING_TESS))))
|
||||
sscreen->debug_flags |= DBG(NO_NGG_CULLING);
|
||||
|
||||
sscreen->use_ngg = !(sscreen->debug_flags & DBG(NO_NGG)) &&
|
||||
sscreen->info.chip_class >= GFX10 &&
|
||||
sscreen->info.family != CHIP_NAVI14 &&
|
||||
|
|
Loading…
Reference in New Issue