Skip to content

Commit b102a4b

Browse files
Disabling depth resolve temporarily on OSX because of gfx driver issues (#6543)
# Conflicts: # com.unity.render-pipelines.universal/Runtime/RenderingUtils.cs
1 parent 989cf70 commit b102a4b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

com.unity.render-pipelines.universal/Runtime/RenderingUtils.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -485,6 +485,11 @@ internal static bool SequenceEqual(RenderTargetIdentifier[] left, RenderTargetId
485485

486486
internal static bool MultisampleDepthResolveSupported()
487487
{
488+
// Temporarily disabling depth resolve a driver bug on OSX when using some AMD graphics cards. Temporarily disabling depth resolve on that platform
489+
// TODO: re-enable once the issue is investigated/fixed
490+
if (Application.platform == RuntimePlatform.OSXEditor || Application.platform == RuntimePlatform.OSXPlayer)
491+
return false;
492+
488493
// Should we also check if the format has stencil and check stencil resolve capability only in that case?
489494
return SystemInfo.supportsMultisampleResolveDepth && SystemInfo.supportsMultisampleResolveStencil;
490495
}

0 commit comments

Comments
 (0)