radeonsi: don't use NGG culling on 1 RB chips

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11509>
This commit is contained in:
Marek Olšák 2021-06-20 01:42:18 -04:00
parent f7afcc3d11
commit ff42fd1fdf

View file

@ -1241,6 +1241,7 @@ static struct pipe_screen *radeonsi_screen_create_impl(struct radeon_winsys *ws,
(sscreen->info.family != CHIP_NAVI14 ||
sscreen->info.is_pro_graphics);
sscreen->use_ngg_culling = sscreen->use_ngg &&
sscreen->info.max_render_backends >= 2 &&
!((sscreen->debug_flags & DBG(NO_NGG_CULLING)) ||
LLVM_VERSION_MAJOR <= 11 /* hangs on 11, see #4874 */);
sscreen->use_ngg_streamout = false;