Browse Source

Moved FSR2 and FSR3 classes into their own sub-namespaces. This fixes an ambiguity when compiling for Unity 2020.x and is also more future-proof with an eye on porting over more FidelityFX technologies.

master
Nico de Poel 2 years ago
parent
commit
bbe7290356
  1. 2
      Runtime/FSR2/Fsr2.cs
  2. 2
      Runtime/FSR2/Fsr2Assets.cs
  3. 2
      Runtime/FSR2/Fsr2Callbacks.cs
  4. 2
      Runtime/FSR2/Fsr2Context.cs
  5. 2
      Runtime/FSR2/Fsr2Pass.cs
  6. 2
      Runtime/FSR2/Fsr2Resources.cs
  7. 2
      Runtime/FSR2/Fsr2ShaderIDs.cs
  8. 2
      Runtime/FSR3/Fsr3ShaderIDs.cs
  9. 2
      Runtime/FSR3/Fsr3Upscaler.cs
  10. 2
      Runtime/FSR3/Fsr3UpscalerAssets.cs
  11. 2
      Runtime/FSR3/Fsr3UpscalerCallbacks.cs
  12. 2
      Runtime/FSR3/Fsr3UpscalerContext.cs
  13. 2
      Runtime/FSR3/Fsr3UpscalerPass.cs
  14. 2
      Runtime/FSR3/Fsr3UpscalerResources.cs

2
Runtime/FSR2/Fsr2.cs

@ -23,7 +23,7 @@ using System.Runtime.InteropServices;
using UnityEngine; using UnityEngine;
using UnityEngine.Rendering; using UnityEngine.Rendering;
namespace FidelityFX
namespace FidelityFX.FSR2
{ {
/// <summary> /// <summary>
/// A collection of helper functions and data structures required by the FSR2 process. /// A collection of helper functions and data structures required by the FSR2 process.

2
Runtime/FSR2/Fsr2Assets.cs

@ -20,7 +20,7 @@
using UnityEngine; using UnityEngine;
namespace FidelityFX
namespace FidelityFX.FSR2
{ {
/// <summary> /// <summary>
/// Scriptable object containing all shader resources required by FidelityFX Super Resolution 2 (FSR2). /// Scriptable object containing all shader resources required by FidelityFX Super Resolution 2 (FSR2).

2
Runtime/FSR2/Fsr2Callbacks.cs

@ -20,7 +20,7 @@
using UnityEngine; using UnityEngine;
namespace FidelityFX
namespace FidelityFX.FSR2
{ {
/// <summary> /// <summary>
/// A collection of callbacks required by the FSR2 process. /// A collection of callbacks required by the FSR2 process.

2
Runtime/FSR2/Fsr2Context.cs

@ -23,7 +23,7 @@ using System.Runtime.InteropServices;
using UnityEngine; using UnityEngine;
using UnityEngine.Rendering; using UnityEngine.Rendering;
namespace FidelityFX
namespace FidelityFX.FSR2
{ {
/// <summary> /// <summary>
/// This class loosely matches the FfxFsr2Context struct from the original FSR2 codebase. /// This class loosely matches the FfxFsr2Context struct from the original FSR2 codebase.

2
Runtime/FSR2/Fsr2Pass.cs

@ -24,7 +24,7 @@ using UnityEngine;
using UnityEngine.Profiling; using UnityEngine.Profiling;
using UnityEngine.Rendering; using UnityEngine.Rendering;
namespace FidelityFX
namespace FidelityFX.FSR2
{ {
/// <summary> /// <summary>
/// Base class for all of the compute passes that make up the FSR2 process. /// Base class for all of the compute passes that make up the FSR2 process.

2
Runtime/FSR2/Fsr2Resources.cs

@ -23,7 +23,7 @@ using UnityEngine;
using UnityEngine.Experimental.Rendering; using UnityEngine.Experimental.Rendering;
using UnityEngine.Rendering; using UnityEngine.Rendering;
namespace FidelityFX
namespace FidelityFX.FSR2
{ {
/// <summary> /// <summary>
/// Helper class for bundling and managing persistent resources required by the FSR2 process. /// Helper class for bundling and managing persistent resources required by the FSR2 process.

2
Runtime/FSR2/Fsr2ShaderIDs.cs

@ -20,7 +20,7 @@
using UnityEngine; using UnityEngine;
namespace FidelityFX
namespace FidelityFX.FSR2
{ {
public static class Fsr2ShaderIDs public static class Fsr2ShaderIDs
{ {

2
Runtime/FSR3/Fsr3ShaderIDs.cs

@ -20,7 +20,7 @@
using UnityEngine; using UnityEngine;
namespace FidelityFX
namespace FidelityFX.FSR3
{ {
public static class Fsr3ShaderIDs public static class Fsr3ShaderIDs
{ {

2
Runtime/FSR3/Fsr3Upscaler.cs

@ -23,7 +23,7 @@ using System.Runtime.InteropServices;
using UnityEngine; using UnityEngine;
using UnityEngine.Rendering; using UnityEngine.Rendering;
namespace FidelityFX
namespace FidelityFX.FSR3
{ {
/// <summary> /// <summary>
/// A collection of helper functions and data structures required by the FSR3 Upscaler process. /// A collection of helper functions and data structures required by the FSR3 Upscaler process.

2
Runtime/FSR3/Fsr3UpscalerAssets.cs

@ -21,7 +21,7 @@
using UnityEngine; using UnityEngine;
using UnityEngine.Serialization; using UnityEngine.Serialization;
namespace FidelityFX
namespace FidelityFX.FSR3
{ {
/// <summary> /// <summary>
/// Scriptable object containing all shader resources required by FidelityFX Super Resolution 3 (FSR3) Upscaler. /// Scriptable object containing all shader resources required by FidelityFX Super Resolution 3 (FSR3) Upscaler.

2
Runtime/FSR3/Fsr3UpscalerCallbacks.cs

@ -20,7 +20,7 @@
using UnityEngine; using UnityEngine;
namespace FidelityFX
namespace FidelityFX.FSR3
{ {
/// <summary> /// <summary>
/// A collection of callbacks required by the FSR3 Upscaler process. /// A collection of callbacks required by the FSR3 Upscaler process.

2
Runtime/FSR3/Fsr3UpscalerContext.cs

@ -23,7 +23,7 @@ using System.Runtime.InteropServices;
using UnityEngine; using UnityEngine;
using UnityEngine.Rendering; using UnityEngine.Rendering;
namespace FidelityFX
namespace FidelityFX.FSR3
{ {
/// <summary> /// <summary>
/// This class loosely matches the FfxFsr3UpscalerContext struct from the original FSR3 codebase. /// This class loosely matches the FfxFsr3UpscalerContext struct from the original FSR3 codebase.

2
Runtime/FSR3/Fsr3UpscalerPass.cs

@ -24,7 +24,7 @@ using UnityEngine;
using UnityEngine.Profiling; using UnityEngine.Profiling;
using UnityEngine.Rendering; using UnityEngine.Rendering;
namespace FidelityFX
namespace FidelityFX.FSR3
{ {
/// <summary> /// <summary>
/// Base class for all of the compute passes that make up the FSR3 Upscaler process. /// Base class for all of the compute passes that make up the FSR3 Upscaler process.

2
Runtime/FSR3/Fsr3UpscalerResources.cs

@ -23,7 +23,7 @@ using UnityEngine;
using UnityEngine.Experimental.Rendering; using UnityEngine.Experimental.Rendering;
using UnityEngine.Rendering; using UnityEngine.Rendering;
namespace FidelityFX
namespace FidelityFX.FSR3
{ {
/// <summary> /// <summary>
/// Helper class for bundling and managing persistent resources required by the FSR3 Upscaler process. /// Helper class for bundling and managing persistent resources required by the FSR3 Upscaler process.

Loading…
Cancel
Save