From ac7fc525dec167ba3321f4bbcb905ef7f7469237 Mon Sep 17 00:00:00 2001 From: BlueRose <378100977@qq.com> Date: Fri, 6 Sep 2024 20:06:13 +0800 Subject: [PATCH] vault backup: 2024-09-06 20:06:13 --- 01-Diary/周小结/2024.9.md | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/01-Diary/周小结/2024.9.md b/01-Diary/周小结/2024.9.md index a27f1d7..9c6cf61 100644 --- a/01-Diary/周小结/2024.9.md +++ b/01-Diary/周小结/2024.9.md @@ -68,24 +68,3 @@ inline void AddCopyTexturePass( AddCopyTexturePass(GraphBuilder, InputTexture, OutputTexture, CopyInfo); } ``` - -SSR: -SHADER_PARAMETER_RDG_TEXTURE_SRV(Texture2D, SceneColor) - -```c++ -FRDGTextureSRVRef InputColor = GraphBuilder.CreateSRV(FRDGTextureSRVDesc(CurrentSceneColor)); -if (SSRQuality != ESSRQuality::VisualizeSSR) -{ - if (View.PrevViewInfo.CustomSSRInput.IsValid()) - { InputColor = GraphBuilder.CreateSRV(FRDGTextureSRVDesc( - GraphBuilder.RegisterExternalTexture(View.PrevViewInfo.CustomSSRInput.RT[0]))); - } else if (GSSRHalfResSceneColor && View.PrevViewInfo.HalfResTemporalAAHistory.IsValid()) - { InputColor = GraphBuilder.CreateSRV(FRDGTextureSRVDesc( - GraphBuilder.RegisterExternalTexture(View.PrevViewInfo.HalfResTemporalAAHistory))); - } else if (View.PrevViewInfo.TemporalAAHistory.IsValid()) - { FRDGTextureRef TemporalAAHistoryTexture = GraphBuilder.RegisterExternalTexture(View.PrevViewInfo.TemporalAAHistory.RT[0]); - InputColor = GraphBuilder.CreateSRV(TemporalAAHistoryTexture->Desc.IsTextureArray() - ? FRDGTextureSRVDesc::CreateForSlice(TemporalAAHistoryTexture, View.PrevViewInfo.TemporalAAHistory.OutputSliceIndex) - : FRDGTextureSRVDesc(TemporalAAHistoryTexture)); - }} -``` \ No newline at end of file