Skip to content

Commit

Permalink
Adding missing flag for dynamic res target
Browse files Browse the repository at this point in the history
  • Loading branch information
kecho committed Aug 10, 2021
1 parent 05fa48d commit 4c6fb99
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -1399,7 +1399,7 @@ bool DoCustomPostProcess(RenderGraph renderGraph, HDCamera hdCamera, ref Texture
passData.motionVecTexture = builder.ReadTexture(motionVectors);

passData.source = builder.ReadTexture(source);
passData.destination = builder.UseColorBuffer(renderGraph.CreateTexture(new TextureDesc(Vector2.one, true, true)
passData.destination = builder.UseColorBuffer(renderGraph.CreateTexture(new TextureDesc(Vector2.one, IsDynamicResUpscaleTargetEnabled(), true)
{ colorFormat = GetPostprocessTextureFormat(), enableRandomWrite = true, name = "CustomPostProcesDestination" }), 0);
passData.hdCamera = hdCamera;
passData.customPostProcess = customPP;
Expand Down

0 comments on commit 4c6fb99

Please sign in to comment.