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>
This commit is contained in:

committed by
Marge Bot

parent
84a7138d3c
commit
5d552b4f6c
@@ -897,8 +897,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);
|
||||
|
||||
|
Reference in New Issue
Block a user