mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 15:50:20 +00:00
Some checks are pending
Build / Build (arm64) (push) Waiting to run
Build / Build (x86-64) (push) Waiting to run
Build / Build (macOS arm64) (push) Waiting to run
Build / Build (windows-arm64) (push) Waiting to run
Build / Build (windows-x86-64) (push) Waiting to run
Security / CodeQL (C/C++) (push) Waiting to run
Security / Semgrep (push) Waiting to run
Security / Sanitizer Build (ASan/UBSan) (push) Waiting to run
30 lines
951 B
C++
30 lines
951 B
C++
#include <cstddef>
|
|
#include <ffx_fsr3upscaler.h>
|
|
#include <ffx_frameinterpolation.h>
|
|
#include <ffx_opticalflow.h>
|
|
#include <ffx_vk.h>
|
|
|
|
namespace wowee::rendering {
|
|
|
|
// Compile-only probe for AMD FSR3 frame generation interfaces.
|
|
// This does not dispatch runtime frame generation yet; it ensures the
|
|
// expected SDK headers and core types are available for future integration.
|
|
bool amdFsr3FramegenCompileProbe() {
|
|
FfxFsr3UpscalerContext fsr3Context{};
|
|
FfxFrameInterpolationContext fiContext{};
|
|
FfxOpticalflowContext ofContext{};
|
|
FfxInterface backend{};
|
|
FfxApiDimensions2D renderSize{};
|
|
|
|
static_assert(FFX_FSR3UPSCALER_VERSION_MAJOR >= 3, "Expected FSR3 upscaler v3+");
|
|
static_assert(FFX_FRAMEINTERPOLATION_VERSION_MAJOR >= 1, "Expected frame interpolation v1+");
|
|
|
|
(void)fsr3Context;
|
|
(void)fiContext;
|
|
(void)ofContext;
|
|
(void)backend;
|
|
(void)renderSize;
|
|
return true;
|
|
}
|
|
|
|
} // namespace wowee::rendering
|