From 07584dc0ba34a70de251c8fbadba4150f75a3b4e Mon Sep 17 00:00:00 2001 From: FrancescoC-Unity Date: Tue, 9 Jun 2020 14:13:23 +0200 Subject: [PATCH 1/2] Fix issue accessing already released targets for rendergraph --- .../Runtime/RenderPipeline/HDRenderPipeline.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/HDRenderPipeline.cs b/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/HDRenderPipeline.cs index becb97dd8ff..bded97613a4 100644 --- a/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/HDRenderPipeline.cs +++ b/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/HDRenderPipeline.cs @@ -2206,7 +2206,11 @@ AOVRequestData aovRequest hdCamera.BeginRender(cmd); m_CurrentHDCamera = hdCamera; - SwitchRenderTargetsToFastMem(cmd, hdCamera); + // Render graph deals with Fast memory support in an automatic way. + if(!m_EnableRenderGraph) + { + SwitchRenderTargetsToFastMem(cmd, hdCamera); + } if (m_RayTracingSupported) { From a58368c577562a2d2e490736381a9ddb9edeb9cb Mon Sep 17 00:00:00 2001 From: FrancescoC-Unity Date: Tue, 9 Jun 2020 14:13:58 +0200 Subject: [PATCH 2/2] changelog --- com.unity.render-pipelines.high-definition/CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/com.unity.render-pipelines.high-definition/CHANGELOG.md b/com.unity.render-pipelines.high-definition/CHANGELOG.md index 95ecf55ea4f..e8f773b117e 100644 --- a/com.unity.render-pipelines.high-definition/CHANGELOG.md +++ b/com.unity.render-pipelines.high-definition/CHANGELOG.md @@ -652,6 +652,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Fix an issue with the color intensity of emissive for performance rtgi - Fixed issue with rendering being mostly broken when target platform disables VR. - Workaround an issue caused by GetKernelThreadGroupSizes failing to retrieve correct group size. +- Fix issue with fast memory and rendergraph. ### Changed - Improve MIP selection for decals on Transparents