mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 15:50:20 +00:00
Expose FSR3 dispatch failure reasons in runtime and HUD
This commit is contained in:
parent
32eb9e3bcb
commit
f08b6fd4c2
3 changed files with 68 additions and 12 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue