Skip to content

Commit 3be49ce

Browse files
pastasfutureAndrewSaraevUnity
authored andcommitted
Enable RenderGraph by default (#50)
1 parent 0efeb5f commit 3be49ce

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/HDRenderPipeline.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -606,12 +606,10 @@ public HDRenderPipeline(HDRenderPipelineAsset asset, HDRenderPipelineAsset defau
606606
// having issues with "persisting" textures stomping on each other if they have the same descriptor.
607607
m_ShadowManager.InitializeNonRenderGraphResources();
608608

609+
EnableRenderGraph(defaultAsset.useRenderGraph && !enableNonRenderGraphTests);
610+
609611
// custom-begin:
610-
// Force non-rendergraph path, until we have refactored all custom rendering code, and probe volumes to be compatible with the RenderGraph path.
611-
//
612-
//EnableRenderGraph(defaultAsset.useRenderGraph && !enableNonRenderGraphTests);
613612
ProbeVolumeDynamicGI.instance.Allocate(defaultResources);
614-
EnableRenderGraph(false);
615613
// custom-end
616614
}
617615

0 commit comments

Comments
 (0)