mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
radeonsi: disable ngg culling on llvm < 12
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4874
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
CC: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11362>
(cherry picked from commit 52547cfbd0)
This commit is contained in:
parent
0e3942259f
commit
d743d6c173
2 changed files with 4 additions and 2 deletions
|
|
@ -1300,7 +1300,7 @@
|
|||
"description": "radeonsi: disable ngg culling on llvm < 12",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1224,7 +1224,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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue