Disable GlobalSurfaceAtlas on Mac due to GPU crashes in larges scenes

This commit is contained in:
Wojtek Figat
2024-06-28 09:43:18 +02:00
parent 3b3cd5ade4
commit dbbc2b70bf

View File

@@ -426,6 +426,9 @@ bool GlobalSurfaceAtlasPass::Init()
// Check platform support
const auto device = GPUDevice::Instance;
_supported = device->GetFeatureLevel() >= FeatureLevel::SM5 && device->Limits.HasCompute && device->Limits.HasTypedUAVLoad;
#if PLATFORM_APPLE_FAMILY
_supported = false; // Vulkan over Metal has some issues in complex scenes with DDGI
#endif
return false;
}