mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-25 00:20:16 +00:00
Fix cross-platform FSR3 compile path and Path-A runtime wiring
This commit is contained in:
parent
725602b5e5
commit
9ff9f2f1f1
7 changed files with 333 additions and 113 deletions
|
|
@ -1,8 +1,15 @@
|
|||
#include <cstddef>
|
||||
#if WOWEE_AMD_FFX_SDK_KITS
|
||||
#include <ffx_fsr3upscaler.h>
|
||||
#include <ffx_frameinterpolation.h>
|
||||
#include <ffx_opticalflow.h>
|
||||
#include <ffx_vk.h>
|
||||
#else
|
||||
#include <FidelityFX/host/ffx_fsr3upscaler.h>
|
||||
#include <FidelityFX/host/ffx_frameinterpolation.h>
|
||||
#include <FidelityFX/host/ffx_opticalflow.h>
|
||||
#include <FidelityFX/host/backends/vk/ffx_vk.h>
|
||||
#endif
|
||||
|
||||
namespace wowee::rendering {
|
||||
|
||||
|
|
@ -14,11 +21,14 @@ bool amdFsr3FramegenCompileProbe() {
|
|||
FfxFrameInterpolationContext fiContext{};
|
||||
FfxOpticalflowContext ofContext{};
|
||||
FfxInterface backend{};
|
||||
#if WOWEE_AMD_FFX_SDK_KITS
|
||||
FfxApiDimensions2D renderSize{};
|
||||
#else
|
||||
FfxDimensions2D renderSize{};
|
||||
#endif
|
||||
|
||||
static_assert(FFX_FSR3UPSCALER_VERSION_MAJOR >= 3, "Expected FSR3 upscaler v3+");
|
||||
static_assert(FFX_FRAMEINTERPOLATION_VERSION_MAJOR >= 1, "Expected frame interpolation v1+");
|
||||
static_assert(FFX_OPTICALFLOW_VERSION_MAJOR >= 1, "Expected optical flow v1+");
|
||||
|
||||
(void)fsr3Context;
|
||||
(void)fiContext;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue