loader: the FSR output path patches the interface plane too (HUD with VICTORY_FSR_4K) #60
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/lobomfz--VIctory-xmem!60
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-60"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@YaBulochka on GitHub · 2026-12-01 08:58 UTC · original
YaBulochka:fix-fsr-ui→main· +388 −27 · 8 files · 3 commits · merged 2026-12-01 20:55 UTCWith
VICTORY_FSR_4Kthe HUD keeps its 4K proportions, so it looks larger than without FSR: the scene renders at 720p and the interface does not come down with it.Why. FSR loads the title through
victory_loader::resolution::prepare_output()(#58), and that path never runsapply_asked(), where #52 applies the interface plane.prepare_output()patched onlyOUTPUTandPOOL_CHECK, soPOOL_CHECK,ui_plane::POOL(SPLIT_POOL) and the scene+interfaceOUTPUTcode were left out.The change. The plane's three sites move into
ui_plane_patches(), whichprepare_output()uses whenui_plane::requested()says yes.apply_asked()keeps its own runtimematches()check.Tested. RX 7600 XT (8 GB, RDNA3), Ryzen 5 9600X, RADV 26.3.1,
series-x,VICTORY_OUTPUT=1920x1080,VICTORY_FSR_4K=quality, ray tracing off:The HUD then sits at its normal size with the interface on 3840x2160, confirmed by eye side by side with the run without FSR. Without this patch the same run has the oversized HUD.
Stacking. The branch is #58 + #52 + this one commit, because the fix needs
prepare_output()andui_planeto both exist; rebase me ontomainonce those land, or cherry-pick just the last commit.Not covered. 2560x1440 still falls back to
falseinui_plane::requested()/output_code(): the interface is raised to 3840x2160 with onelea(2x for 1080p, 3x for 720p) and 1440p needs 1.5x, which does not fit the 35 bytes without another instruction dropping out. Separate work, and anyone playing at 1440p still sees the old HUD.No game files, screenshots or captures included.