From bf0c82b7f8cd8acece2adf63a32590711015864d Mon Sep 17 00:00:00 2001 From: Bas Nieuwenhuizen Date: Wed, 23 Sep 2020 02:20:09 +0200 Subject: [PATCH] radv: Disable NGG on APUs. Syncing from Radeonsi. Reviewed-by: Samuel Pitoiset Part-of: --- src/amd/vulkan/radv_device.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 747238e2cf9..f24066bf164 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -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. */