Merge remote-tracking branch 'origin/1.9' into 1.9

This commit is contained in:
Wojtek Figat
2024-07-02 00:58:25 +02:00
3 changed files with 5 additions and 3 deletions

View File

@@ -535,6 +535,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;
}