Add AMD FSR2 SDK detection and backend integration scaffolding

This commit is contained in:
Kelsi 2026-03-08 19:33:07 -07:00
parent e2a2316038
commit a24ff375fb
5 changed files with 83 additions and 0 deletions

View file

@ -3739,6 +3739,11 @@ bool Renderer::initFSR2Resources() {
LOG_INFO("FSR2: initializing at ", fsr2_.internalWidth, "x", fsr2_.internalHeight,
" -> ", swapExtent.width, "x", swapExtent.height,
" (scale=", fsr2_.scaleFactor, ")");
#if WOWEE_HAS_AMD_FSR2
LOG_INFO("FSR2: AMD FidelityFX SDK detected at build time.");
#else
LOG_WARNING("FSR2: AMD FidelityFX SDK not detected; using internal fallback path.");
#endif
VkFormat colorFmt = vkCtx->getSwapchainFormat();
VkFormat depthFmt = vkCtx->getDepthFormat();