radv: Disable NGG on APUs.

Syncing from Radeonsi.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6828>
This commit is contained in:
Bas Nieuwenhuizen 2020-09-23 02:20:09 +02:00 committed by Marge Bot
parent 12128fb135
commit bf0c82b7f8

View file

@ -394,6 +394,7 @@ radv_physical_device_try_create(struct radv_instance *instance,
device->use_ngg = device->rad_info.chip_class >= GFX10 &&
device->rad_info.family != CHIP_NAVI14 &&
device->rad_info.has_dedicated_vram &&
!(device->instance->debug_flags & RADV_DEBUG_NO_NGG);
/* TODO: Implement NGG GS with ACO. */