Disable GlobalSurfaceAtlas on Mac due to GPU crashes in larges scenes
This commit is contained in:
@@ -426,6 +426,9 @@ bool GlobalSurfaceAtlasPass::Init()
|
|||||||
// Check platform support
|
// Check platform support
|
||||||
const auto device = GPUDevice::Instance;
|
const auto device = GPUDevice::Instance;
|
||||||
_supported = device->GetFeatureLevel() >= FeatureLevel::SM5 && device->Limits.HasCompute && device->Limits.HasTypedUAVLoad;
|
_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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user