mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-25 08:30:13 +00:00
Make FSR3 SDK integration Kits-only and align CI/docs
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
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
This commit is contained in:
parent
e916ef9bda
commit
ae48e4d7a6
6 changed files with 26 additions and 118 deletions
|
|
@ -1,15 +1,8 @@
|
|||
#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 {
|
||||
|
||||
|
|
@ -21,11 +14,7 @@ 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+");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue