FidelityFX Single Pass Downsampler (SPD) provides an RDNA-optimized solution for generating up to 12 MIP levels per slice of a texture.
Release Notes
- Support for cube textures and array textures: the SpdDownsampler function takes as new parameter the slice index. The total number of slices is passed in with the z component of your dispatch size.
- Support for downsampling a sub-rectangle, in case only a known region of the source texture has been updated.
- CPU side helper function to compute constants:
- dispatch size x and y
- thread group offsets in case only a sub-rectangle has modified data
- number of thread groups
- number of MIPs
- Automatic reset of the global atomic counter after each SPD run: only one single initialization for the first run of SPD is required now.
Prerequisites
- DirectX® 12 or Vulkan compatible GPU
- Windows® 10
- AMD driver 20.8.3 or later / Nvidia driver 445.87 or later
For building you also need
- Windows® 10 SDK 10.0.17763.0 or later
- CMake 3.4 or later
- Visual Studio 2017 or later