Browse Source

Small bits

fsr3.1
Nico de Poel 2 years ago
parent
commit
e8f69d6030
  1. 2
      Assets/Scripts/Core/Fsr3UpscalerPass.cs
  2. 1
      Assets/Shaders/FSR3/ffx_fsr3upscaler_prepare_inputs_pass.compute

2
Assets/Scripts/Core/Fsr3UpscalerPass.cs

@ -33,8 +33,6 @@ namespace FidelityFX
/// </summary>
internal abstract class Fsr3UpscalerPass: IDisposable
{
internal const int ShadingChangeMipLevel = 4; // This matches the FFX_FSR3UPSCALER_SHADING_CHANGE_MIP_LEVEL define
protected readonly Fsr3Upscaler.ContextDescription ContextDescription;
protected readonly Fsr3UpscalerResources Resources;
protected readonly ComputeBuffer Constants;

1
Assets/Shaders/FSR3/ffx_fsr3upscaler_prepare_inputs_pass.compute

@ -20,6 +20,7 @@
#pragma kernel CS
// TODO: figure out which of these defines are actually used by this shader (for all shader passes)
#pragma multi_compile_local __ FFX_HALF
#pragma multi_compile_local __ FFX_FSR3UPSCALER_OPTION_REPROJECT_USE_LANCZOS_TYPE
#pragma multi_compile_local __ FFX_FSR3UPSCALER_OPTION_HDR_COLOR_INPUT

Loading…
Cancel
Save