diff options
| author | Duck912 <350528965+Duck912@users.noreply.github.com> | 2026-11-03 12:56:12 -0500 |
|---|---|---|
| committer | Duck912 <350528965+Duck912@users.noreply.github.com> | 2026-11-03 13:06:59 -0500 |
| commit | b1179a44fbd1cf514c2bed56bf235fbe456c8c7b (patch) | |
| tree | 8239786a24433501a6472565c149701a2a1d4454 /src/yuzu/configuration/configure_cpu_debug.cpp | |
| parent | 98cc44dadd7ab4b63cf0685360ac50738e8e5c3e (diff) | |
video_core: clear the DLSS output when Streamline writes nothing to it
The upscaler records its work on the worker thread and reports success once it is queued. When
Streamline then rejects the DLSS options, gives no frame token or fails the evaluation, nothing is
written to the output image, but the caller still draws it into the game's image that frame:
undefined contents after a resize, the previous frame otherwise. FSR 3.1 takes over from the next
frame.
Clear the output on those paths, with barriers around the clear, so that frame is black instead.
Found by CodeRabbit review.
Assisted-by: Claude Opus 5.5 (implementation)
Signed-off-by: Duck912 <350528965+Duck912@users.noreply.github.com>
Diffstat (limited to 'src/yuzu/configuration/configure_cpu_debug.cpp')
0 files changed, 0 insertions, 0 deletions
