From b9fcb3b5204fade8aabf2351d130e896b6eb03fc Mon Sep 17 00:00:00 2001 From: alelievr Date: Mon, 15 Nov 2021 17:24:45 +0100 Subject: [PATCH 1/2] Fix XR support in CoreUtils.DrawFullscreen function --- com.unity.render-pipelines.core/Runtime/Utilities/CoreUtils.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com.unity.render-pipelines.core/Runtime/Utilities/CoreUtils.cs b/com.unity.render-pipelines.core/Runtime/Utilities/CoreUtils.cs index 51cb6e77cd0..6e75ec6dee6 100644 --- a/com.unity.render-pipelines.core/Runtime/Utilities/CoreUtils.cs +++ b/com.unity.render-pipelines.core/Runtime/Utilities/CoreUtils.cs @@ -795,7 +795,7 @@ public static void DrawFullScreen(CommandBuffer commandBuffer, Material material RenderTargetIdentifier colorBuffer, MaterialPropertyBlock properties = null, int shaderPassId = 0) { - commandBuffer.SetRenderTarget(colorBuffer); + commandBuffer.SetRenderTarget(colorBuffer, 0, CubemapFace.Unknown, -1); commandBuffer.DrawProcedural(Matrix4x4.identity, material, shaderPassId, MeshTopology.Triangles, 3, 1, properties); } From fd44ffebfe221727f8722d36923fa71324cae1d3 Mon Sep 17 00:00:00 2001 From: alelievr Date: Mon, 15 Nov 2021 17:26:02 +0100 Subject: [PATCH 2/2] Updated changelog --- com.unity.render-pipelines.core/CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/com.unity.render-pipelines.core/CHANGELOG.md b/com.unity.render-pipelines.core/CHANGELOG.md index 95fe80c849a..b44a88b1428 100644 --- a/com.unity.render-pipelines.core/CHANGELOG.md +++ b/com.unity.render-pipelines.core/CHANGELOG.md @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Fixed - Fixed issue when changing volume profiles at runtime with a script (case 1364256). +- Fixed XR support in CoreUtils.DrawFullscreen function. ## [13.1.0] - 2021-09-24