mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 07:40:14 +00:00
1.4 KiB
1.4 KiB
AMD FSR2 Integration Notes
This project currently has two FSR2 states:
AMD FidelityFX SDKbackend (preferred): enabled when SDK sources are present.Internal fallbackbackend: used when SDK is missing.
SDK Location
Drop AMD's official FSR2 repo at:
extern/FidelityFX-FSR2
Expected header for detection:
extern/FidelityFX-FSR2/src/ffx-fsr2-api/ffx_fsr2.h
Build Flags
WOWEE_ENABLE_AMD_FSR2=ON(default): try to use AMD SDK if detected.WOWEE_HAS_AMD_FSR2compile define:1when SDK header is found.0otherwise (fallback path).
Current Status
- CMake detects the SDK and defines
WOWEE_HAS_AMD_FSR2. - UI shows active FSR2 backend label in settings.
- Runtime logs clearly indicate whether AMD SDK is available.
Remaining Work (to finish official AMD path)
- Add backend wrapper around
FfxFsr2Contextand Vulkan backend helpers. - Feed required inputs each frame:
- Color, depth, motion vectors
- Jitter offsets
- Delta time and render/display resolution
- Exposure / reactive mask as needed
- Replace custom compute accumulation path with
ffxFsr2ContextDispatch. - Keep current fallback path behind a runtime switch for safety.
- Add a debug overlay:
- Backend in use
- Internal resolution
- Jitter values
- Motion vector validity stats
- Validate with fixed camera + movement sweeps:
- Static shimmer
- Moving blur/ghosting
- Fine geometry stability