mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-24 08:00:14 +00:00
Add AMD FSR2 SDK detection and backend integration scaffolding
This commit is contained in:
parent
e2a2316038
commit
a24ff375fb
5 changed files with 83 additions and 0 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue