mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 15:50:20 +00:00
Add FSR3 runtime library probing and readiness status
This commit is contained in:
parent
e1c93c47be
commit
f1099f5940
5 changed files with 106 additions and 11 deletions
|
|
@ -6342,8 +6342,15 @@ void GameScreen::renderSettingsWindow() {
|
|||
renderer->setAmdFsr3FramegenEnabled(pendingAMDFramegen);
|
||||
saveSettings();
|
||||
}
|
||||
ImGui::TextDisabled("Runtime: %s",
|
||||
renderer->isAmdFsr3FramegenRuntimeActive() ? "Active" : "Staged (dispatch not linked yet)");
|
||||
const char* runtimeStatus = "Unavailable";
|
||||
if (renderer->isAmdFsr3FramegenRuntimeActive()) {
|
||||
runtimeStatus = "Active";
|
||||
} else if (renderer->isAmdFsr3FramegenRuntimeReady()) {
|
||||
runtimeStatus = "Library loaded (dispatch staged)";
|
||||
} else {
|
||||
runtimeStatus = "Library missing";
|
||||
}
|
||||
ImGui::TextDisabled("Runtime: %s", runtimeStatus);
|
||||
} else {
|
||||
ImGui::BeginDisabled();
|
||||
bool disabledFg = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue