FidelityFX FSR1
Navigation: SDK → GPU → FidelityFX GPU References
FidelityFX FSR1
FidelityFX Super Resolution 1 GPU documentation.
Functions
ffxFsrPopulateEasuConstants
FFX_STATIC void ffxFsrPopulateEasuConstants(FFX_PARAMETER_INOUT FfxUInt32x4 con0, FFX_PARAMETER_INOUT FfxUInt32x4 con1, FFX_PARAMETER_INOUT FfxUInt32x4 con2, FFX_PARAMETER_INOUT FfxUInt32x4 con3, FFX_PARAMETER_IN FfxFloat32 inputViewportInPixelsX, FFX_PARAMETER_IN FfxFloat32 inputViewportInPixelsY, FFX_PARAMETER_IN FfxFloat32 inputSizeInPixelsX, FFX_PARAMETER_IN FfxFloat32 inputSizeInPixelsY, FFX_PARAMETER_IN FfxFloat32 outputSizeInPixelsX, FFX_PARAMETER_IN FfxFloat32 outputSizeInPixelsY)
Setup required constant values for EASU (works on CPU or GPU).
Parameters:
con0
(FFX_PARAMETER_INOUT FfxUInt32x4
) – [out]con1
(FFX_PARAMETER_INOUT FfxUInt32x4
) – [out]con2
(FFX_PARAMETER_INOUT FfxUInt32x4
) – [out]con3
(FFX_PARAMETER_INOUT FfxUInt32x4
) – [out]inputViewportInPixelsX
(FFX_PARAMETER_IN FfxFloat32
) – [in] The rendered image resolution being upscaled in X dimension.inputViewportInPixelsY
(FFX_PARAMETER_IN FfxFloat32
) – [in] The rendered image resolution being upscaled in Y dimension.inputSizeInPixelsX
(FFX_PARAMETER_IN FfxFloat32
) – [in] The resolution of the resource containing the input image (useful for dynamic resolution) in X dimension.inputSizeInPixelsY
(FFX_PARAMETER_IN FfxFloat32
) – [in] The resolution of the resource containing the input image (useful for dynamic resolution) in Y dimension.outputSizeInPixelsX
(FFX_PARAMETER_IN FfxFloat32
) – [in] The display resolution which the input image gets upscaled to in X dimension.outputSizeInPixelsY
(FFX_PARAMETER_IN FfxFloat32
) – [in] The display resolution which the input image gets upscaled to in Y dimension.
Returns: FFX_STATIC void
Source: sdk/include/FidelityFX/gpu/fsr1/ffx_fsr1.h
(line 42, column 17)
ffxFsrPopulateEasuConstantsOffset
FFX_STATIC void ffxFsrPopulateEasuConstantsOffset(FFX_PARAMETER_INOUT FfxUInt32x4 con0, FFX_PARAMETER_INOUT FfxUInt32x4 con1, FFX_PARAMETER_INOUT FfxUInt32x4 con2, FFX_PARAMETER_INOUT FfxUInt32x4 con3, FFX_PARAMETER_IN FfxFloat32 inputViewportInPixelsX, FFX_PARAMETER_IN FfxFloat32 inputViewportInPixelsY, FFX_PARAMETER_IN FfxFloat32 inputSizeInPixelsX, FFX_PARAMETER_IN FfxFloat32 inputSizeInPixelsY, FFX_PARAMETER_IN FfxFloat32 outputSizeInPixelsX, FFX_PARAMETER_IN FfxFloat32 outputSizeInPixelsY, FFX_PARAMETER_IN FfxFloat32 inputOffsetInPixelsX, FFX_PARAMETER_IN FfxFloat32 inputOffsetInPixelsY)
Setup required constant values for EASU (works on CPU or GPU).
Parameters:
con0
(FFX_PARAMETER_INOUT FfxUInt32x4
) – [out]con1
(FFX_PARAMETER_INOUT FfxUInt32x4
) – [out]con2
(FFX_PARAMETER_INOUT FfxUInt32x4
) – [out]con3
(FFX_PARAMETER_INOUT FfxUInt32x4
) – [out]inputViewportInPixelsX
(FFX_PARAMETER_IN FfxFloat32
) – [in] The resolution of the input in the X dimension.inputViewportInPixelsY
(FFX_PARAMETER_IN FfxFloat32
) – [in] The resolution of the input in the Y dimension.inputSizeInPixelsX
(FFX_PARAMETER_IN FfxFloat32
) – [in] The input size in pixels in the X dimension.inputSizeInPixelsY
(FFX_PARAMETER_IN FfxFloat32
) – [in] The input size in pixels in the Y dimension.outputSizeInPixelsX
(FFX_PARAMETER_IN FfxFloat32
) – [in] The output size in pixels in the X dimension.outputSizeInPixelsY
(FFX_PARAMETER_IN FfxFloat32
) – [in] The output size in pixels in the Y dimension.inputOffsetInPixelsX
(FFX_PARAMETER_IN FfxFloat32
) – [in] The input image offset in the X dimension into the resource containing it (useful for dynamic resolution).inputOffsetInPixelsY
(FFX_PARAMETER_IN FfxFloat32
) – [in] The input image offset in the Y dimension into the resource containing it (useful for dynamic resolution).
Returns: FFX_STATIC void
Source: sdk/include/FidelityFX/gpu/fsr1/ffx_fsr1.h
(line 108, column 17)