mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 07:40:14 +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
|
|
@ -4494,10 +4494,12 @@ void Renderer::dispatchAmdFsr3Framegen() {
|
|||
warnedRuntimeDispatch = true;
|
||||
LOG_WARNING("FSR3 runtime upscale dispatch failed; falling back to FSR2 dispatch output.");
|
||||
}
|
||||
fsr2_.amdFsr3RuntimeLastError = fsr2_.amdFsr3Runtime->lastError();
|
||||
fsr2_.amdFsr3FallbackCount++;
|
||||
fsr2_.amdFsr3FramegenRuntimeActive = false;
|
||||
return;
|
||||
}
|
||||
fsr2_.amdFsr3RuntimeLastError.clear();
|
||||
fsr2_.amdFsr3UpscaleDispatchCount++;
|
||||
|
||||
if (!fsr2_.amdFsr3FramegenEnabled) {
|
||||
|
|
@ -4514,10 +4516,12 @@ void Renderer::dispatchAmdFsr3Framegen() {
|
|||
warnedFgDispatch = true;
|
||||
LOG_WARNING("FSR3 runtime frame generation dispatch failed; using upscaled output only.");
|
||||
}
|
||||
fsr2_.amdFsr3RuntimeLastError = fsr2_.amdFsr3Runtime->lastError();
|
||||
fsr2_.amdFsr3FallbackCount++;
|
||||
fsr2_.amdFsr3FramegenRuntimeActive = false;
|
||||
return;
|
||||
}
|
||||
fsr2_.amdFsr3RuntimeLastError.clear();
|
||||
fsr2_.amdFsr3FramegenDispatchCount++;
|
||||
fsr2_.framegenOutputValid = true;
|
||||
fsr2_.amdFsr3FramegenRuntimeActive = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue