Commit 52547cfb authored by Pierre-Eric Pelloux-Prayer's avatar Pierre-Eric Pelloux-Prayer Committed by Marge Bot
Browse files

radeonsi: disable ngg culling on llvm < 12

Closes: #4874

Reviewed-by: default avatarMarek Olšák <marek.olsak@amd.com>
CC: mesa-stable
Part-of: <!11362>
parent 9b7cba77
Pipeline #345936 waiting for manual action with stages
......@@ -1236,7 +1236,9 @@ static struct pipe_screen *radeonsi_screen_create_impl(struct radeon_winsys *ws,
sscreen->info.chip_class >= GFX10 &&
(sscreen->info.family != CHIP_NAVI14 ||
sscreen->info.is_pro_graphics);
sscreen->use_ngg_culling = sscreen->use_ngg && !(sscreen->debug_flags & DBG(NO_NGG_CULLING));
sscreen->use_ngg_culling = sscreen->use_ngg &&
!((sscreen->debug_flags & DBG(NO_NGG_CULLING)) ||
LLVM_VERSION_MAJOR <= 11 /* hangs on 11, see #4874 */);
sscreen->use_ngg_streamout = false;
/* Only set this for the cases that are known to work, which are:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment