From 8635b131f6859d42db62410429f4c5746de91ae6 Mon Sep 17 00:00:00 2001 From: Nico de Poel Date: Sat, 21 Dec 2024 16:53:26 +0100 Subject: [PATCH] Renamed SGSR2 compute shader resources class, to allow an easier distinction between fragment and compute variants later on --- .../PostProcessing/Runtime/Effects/Upscaling/SGSR2/SGSR2.cs | 2 +- .../PostProcessing/Runtime/PostProcessResources.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Packages/com.unity.postprocessing@3.2.2/PostProcessing/Runtime/Effects/Upscaling/SGSR2/SGSR2.cs b/Packages/com.unity.postprocessing@3.2.2/PostProcessing/Runtime/Effects/Upscaling/SGSR2/SGSR2.cs index 8fd8c84..763e1cd 100644 --- a/Packages/com.unity.postprocessing@3.2.2/PostProcessing/Runtime/Effects/Upscaling/SGSR2/SGSR2.cs +++ b/Packages/com.unity.postprocessing@3.2.2/PostProcessing/Runtime/Effects/Upscaling/SGSR2/SGSR2.cs @@ -29,7 +29,7 @@ public static class SGSR2 } [Serializable] - public class Shaders + public class ComputeShaders { public TwoPassCompute twoPassCompute; public ThreePassCompute threePassCompute; diff --git a/Packages/com.unity.postprocessing@3.2.2/PostProcessing/Runtime/PostProcessResources.cs b/Packages/com.unity.postprocessing@3.2.2/PostProcessing/Runtime/PostProcessResources.cs index df7ee16..ce92f00 100644 --- a/Packages/com.unity.postprocessing@3.2.2/PostProcessing/Runtime/PostProcessResources.cs +++ b/Packages/com.unity.postprocessing@3.2.2/PostProcessing/Runtime/PostProcessResources.cs @@ -234,7 +234,7 @@ namespace UnityEngine.Rendering.PostProcessing /// /// Compute shaders used by the SnapDragon Game Super Resolution 2 (SGSR2) Upscaler. /// - public SGSR2.Shaders sgsr2Upscaler; + public SGSR2.ComputeShaders sgsr2Upscaler; /// /// Returns a copy of this class and its content.