FidelityFX SPD
Navigation: SDK → GPU → FidelityFX GPU References
FidelityFX SPD
FidelityFX Single Pass Downsampler 2.0 GPU documentation.
Functions
ffxSpdSetup
FFX_STATIC void ffxSpdSetup(FfxUInt32x2 dispatchThreadGroupCountXY, FfxUInt32x2 workGroupOffset, FfxUInt32x2 numWorkGroupsAndMips, FfxUInt32x4 rectInfo, FfxInt32 mips)
Setup required constant values for SPD (CPU).
Parameters:
dispatchThreadGroupCountXY
(FfxUInt32x2
) – [out] CPU side: dispatch thread group count xy. z is number of slices of the input textureworkGroupOffset
(FfxUInt32x2
) – [out] GPU side: pass in as constantnumWorkGroupsAndMips
(FfxUInt32x2
) – [out] GPU side: pass in as constantrectInfo
(FfxUInt32x4
) – [in] left, top, width, heightmips
(FfxInt32
) – [in] optional: if -1, calculate based on rect width and height
Returns: FFX_STATIC void
Source: sdk/include/FidelityFX/gpu/spd/ffx_spd.h
(line 38, column 17)
ffxSpdSetup
FFX_STATIC void ffxSpdSetup(FfxUInt32x2 dispatchThreadGroupCountXY, FfxUInt32x2 workGroupOffset, FfxUInt32x2 numWorkGroupsAndMips, FfxUInt32x4 rectInfo)
Setup required constant values for SPD (CPU).
Parameters:
dispatchThreadGroupCountXY
(FfxUInt32x2
) – [out] CPU side: dispatch thread group count xy. z is number of slices of the input textureworkGroupOffset
(FfxUInt32x2
) – [out] GPU side: pass in as constantnumWorkGroupsAndMips
(FfxUInt32x2
) – [out] GPU side: pass in as constantrectInfo
(FfxUInt32x4
) – [in] left, top, width, height
Returns: FFX_STATIC void
Source: sdk/include/FidelityFX/gpu/spd/ffx_spd.h
(line 80, column 17)