mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02:00
radv: do not enable NGG culling on GFX11
RadeonSI disables it as well. It's really unclear if it will help or
not (eg. NGG culling never helped on GFX10).
Cc: 22.3 mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20054>
(cherry picked from commit 5d552b4f6c)
This commit is contained in:
parent
ed0cb79072
commit
a3013b1df4
2 changed files with 3 additions and 2 deletions
|
|
@ -121,7 +121,7 @@
|
|||
"description": "radv: do not enable NGG culling on GFX11",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null
|
||||
},
|
||||
|
|
|
|||
|
|
@ -869,8 +869,9 @@ radv_physical_device_try_create(struct radv_instance *instance, drmDevicePtr drm
|
|||
!(device->instance->debug_flags & RADV_DEBUG_NO_NGG)) ||
|
||||
device->rad_info.gfx_level >= GFX11;
|
||||
|
||||
/* TODO: Investigate if NGG culling helps on GFX11. */
|
||||
device->use_ngg_culling = device->use_ngg && device->rad_info.max_render_backends > 1 &&
|
||||
(device->rad_info.gfx_level >= GFX10_3 ||
|
||||
(device->rad_info.gfx_level == GFX10_3 ||
|
||||
(device->instance->perftest_flags & RADV_PERFTEST_NGGC)) &&
|
||||
!(device->instance->debug_flags & RADV_DEBUG_NO_NGGC);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue