Respect the selected output size when compositing a larger HUD #144
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/gamingwithhomie--larp!144
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-144"
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?
@yyc160 on GitHub · 2026-12-05 19:43 UTC · original
yyc160:fix/respect-compositor-output-mode→main· +53 −3 · 4 files · 2 commits · merged 2026-12-05 21:02 UTCAn explicit output mode and the size of an individual display plane are different. A 1920x1080 scene with a 3840x2160 authored HUD currently ends up with a 3840x2160 swap chain, even if the upscaler and frame generator both produced a 1920x1080 picture.
Use the effective startup setting (including an environment override) for composition and the swap chain. Leave the authored UI canvas, exposure, aspect-ratio handling and OS display mode alone. With no explicit setting the previous largest-plane rule is unchanged.
Checks:
cargo test --release --locked -p larp-gpu --lib output_mode::andcargo check --release --locked -p larp. Tests switch between a menu, a scene with a larger HUD and a scene without HUD. A separate offscreen D3D12 check read back the expected blended colours at both sizes; this is not a gameplay FPS claim.AI-assisted by GPT-6.2 Astra.
f209756' into fix/respect-compositor-output-mode f7cc9b5dd0