Expose FSR3 dispatch failure reasons in runtime and HUD

This commit is contained in:
Kelsi 2026-03-09 01:15:49 -07:00
parent 32eb9e3bcb
commit f08b6fd4c2
3 changed files with 68 additions and 12 deletions

View file

@ -211,6 +211,10 @@ void PerformanceHUD::render(const Renderer* renderer, const Camera* camera) {
fgStatus = fgActive ? "Active" : (fgReady ? "Ready (waiting/fallback)" : "Unavailable");
}
ImGui::Text(" FSR3 FG: %s (%s)", fgStatus, renderer->getAmdFsr3FramegenRuntimePath());
const std::string& fgErr = renderer->getAmdFsr3FramegenRuntimeError();
if (!fgErr.empty()) {
ImGui::TextWrapped(" FG Last Error: %s", fgErr.c_str());
}
ImGui::Text(" FG Dispatches: %zu", renderer->getAmdFsr3FramegenDispatchCount());
ImGui::Text(" Upscale Dispatches: %zu", renderer->getAmdFsr3UpscaleDispatchCount());
ImGui::Text(" FG Fallbacks: %zu", renderer->getAmdFsr3FallbackCount());