From 0774d6a888882acc6969048ab3c5c7a50ca55dff Mon Sep 17 00:00:00 2001 From: FrancescoC-Unity Date: Fri, 9 Oct 2020 18:04:22 +0200 Subject: [PATCH 1/3] Fix issue with CAS transient resource to be set as read/write explicitely --- .../Runtime/PostProcessing/PostProcessSystem.RenderGraph.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/com.unity.render-pipelines.high-definition/Runtime/PostProcessing/PostProcessSystem.RenderGraph.cs b/com.unity.render-pipelines.high-definition/Runtime/PostProcessing/PostProcessSystem.RenderGraph.cs index e497825a88e..40a8b8e0127 100644 --- a/com.unity.render-pipelines.high-definition/Runtime/PostProcessing/PostProcessSystem.RenderGraph.cs +++ b/com.unity.render-pipelines.high-definition/Runtime/PostProcessing/PostProcessSystem.RenderGraph.cs @@ -855,7 +855,6 @@ TextureHandle ContrastAdaptiveSharpeningPass(RenderGraph renderGraph, HDCamera h passData.destination = builder.WriteTexture(dest); ; passData.casParametersBuffer = builder.CreateTransientComputeBuffer(new ComputeBufferDesc(2, sizeof(uint) * 4) { name = "Cas Parameters" }); - passData.casParametersBuffer = builder.ReadComputeBuffer(builder.WriteComputeBuffer(passData.casParametersBuffer)); builder.SetRenderFunc( (CASData data, RenderGraphContext ctx) => From 85a0d0435ff4c6ce683b2b8a97669b8d91194314 Mon Sep 17 00:00:00 2001 From: FrancescoC-Unity Date: Fri, 9 Oct 2020 18:06:22 +0200 Subject: [PATCH 2/3] 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 0c31e014cb6..a9e6c31ff30 100644 --- a/com.unity.render-pipelines.high-definition/CHANGELOG.md +++ b/com.unity.render-pipelines.high-definition/CHANGELOG.md @@ -147,6 +147,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Fixed wrong error message when fixing DXR resources from Wizard. - Fixed compilation error of quad overdraw with double sided materials - Fixed screen corruption on xbox when using TAA and Motion Blur with rendergraph. +- Fixed transient resource issue with Contrast Adaptive Sharpening in rendergraph mode. ### Changed - Preparation pass for RTSSShadows to be supported by render graph. From b0bc5901a3bd0786e4150b34c37864edf271ca5e Mon Sep 17 00:00:00 2001 From: sebastienlagarde Date: Fri, 9 Oct 2020 18:14:22 +0200 Subject: [PATCH 3/3] Update CHANGELOG.md --- com.unity.render-pipelines.high-definition/CHANGELOG.md | 1 - 1 file changed, 1 deletion(-) diff --git a/com.unity.render-pipelines.high-definition/CHANGELOG.md b/com.unity.render-pipelines.high-definition/CHANGELOG.md index a9e6c31ff30..0c31e014cb6 100644 --- a/com.unity.render-pipelines.high-definition/CHANGELOG.md +++ b/com.unity.render-pipelines.high-definition/CHANGELOG.md @@ -147,7 +147,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Fixed wrong error message when fixing DXR resources from Wizard. - Fixed compilation error of quad overdraw with double sided materials - Fixed screen corruption on xbox when using TAA and Motion Blur with rendergraph. -- Fixed transient resource issue with Contrast Adaptive Sharpening in rendergraph mode. ### Changed - Preparation pass for RTSSShadows to be supported by render graph.