From dbbc2b70bfccecfe26772d64ef0059dc9d7b86a2 Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Fri, 28 Jun 2024 09:43:18 +0200 Subject: [PATCH] Disable GlobalSurfaceAtlas on Mac due to GPU crashes in larges scenes --- Source/Engine/Renderer/GI/GlobalSurfaceAtlasPass.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/Engine/Renderer/GI/GlobalSurfaceAtlasPass.cpp b/Source/Engine/Renderer/GI/GlobalSurfaceAtlasPass.cpp index 3fd2060d9..4d9e1c1c1 100644 --- a/Source/Engine/Renderer/GI/GlobalSurfaceAtlasPass.cpp +++ b/Source/Engine/Renderer/GI/GlobalSurfaceAtlasPass.cpp @@ -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; }