2026-03-08 22:47:46 -07:00
|
|
|
#include <cstddef>
|
2026-03-09 04:24:24 -07:00
|
|
|
#include <ffx_fsr3upscaler.h>
|
|
|
|
|
#include <ffx_frameinterpolation.h>
|
|
|
|
|
#include <ffx_opticalflow.h>
|
|
|
|
|
#include <ffx_vk.h>
|
2026-03-08 22:47:46 -07:00
|
|
|
|
|
|
|
|
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{};
|
2026-03-09 04:24:24 -07:00
|
|
|
FfxApiDimensions2D renderSize{};
|
2026-03-08 22:47:46 -07:00
|
|
|
|
|
|
|
|
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
|