Expose wrapper backend mode in runtime diagnostics

This commit is contained in:
Kelsi 2026-03-09 02:15:55 -07:00
parent ea2d452f4b
commit 45c2ed7a64
5 changed files with 39 additions and 1 deletions

View file

@ -76,6 +76,7 @@ public:
bool isFrameGenerationReady() const { return frameGenerationReady_; }
const std::string& loadedLibraryPath() const { return loadedLibraryPath_; }
LoadPathKind loadPathKind() const { return loadPathKind_; }
const std::string& wrapperBackendName() const { return wrapperBackendName_; }
const std::string& lastError() const { return lastError_; }
private:
@ -92,6 +93,7 @@ private:
bool ready_ = false;
bool frameGenerationReady_ = false;
LoadPathKind loadPathKind_ = LoadPathKind::None;
std::string wrapperBackendName_;
std::string lastError_;
struct RuntimeFns;

View file

@ -80,6 +80,7 @@ enum {
uint32_t wowee_fsr3_wrapper_get_abi_version(void);
const char* wowee_fsr3_wrapper_get_name(void);
const char* wowee_fsr3_wrapper_get_backend(WoweeFsr3WrapperContext context);
int32_t wowee_fsr3_wrapper_initialize(const WoweeFsr3WrapperInitDesc* initDesc,
WoweeFsr3WrapperContext* outContext,
char* outErrorText,