Skip to content
This repository was archived by the owner on Nov 30, 2020. It is now read-only.

Commit 5a16935

Browse files
authored
Merge pull request #274 from keijiro/v2_xb1_fix2
Resolved depth is available on Xbox One
2 parents 405e91c + 3574ae6 commit 5a16935

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PostProcessing/Runtime/Utils/RuntimeUtilities.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ public static bool IsResolvedDepthAvailable(Camera camera)
276276
// TODO: Is there more proper way to determine this? What about SRPs?
277277
var gtype = SystemInfo.graphicsDeviceType;
278278
return camera.actualRenderingPath == RenderingPath.DeferredShading &&
279-
(gtype == GraphicsDeviceType.Direct3D11 || gtype == GraphicsDeviceType.Direct3D12);
279+
(gtype == GraphicsDeviceType.Direct3D11 || gtype == GraphicsDeviceType.Direct3D12 || gtype == GraphicsDeviceType.XboxOne);
280280
}
281281

282282
public static void DestroyProfile(PostProcessProfile profile, bool destroyEffects)

0 commit comments

Comments
 (0)