Count a loose window once against the GPU memory budget #1250
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/fxceless--victory-fork!1250
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1250"
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?
@UwUCammie on GitHub · 2026-11-26 02:20 UTC · original
UwUCammie:fix/window-placement-budget→main· +130 −64 · 2 files · 3 commits · openOne extra 4 MiB window at a 4 MiB cap counted as two refusals. The upload-heap attempt and the staged-buffer fallback each asked for room, even though both were trying to place the same window.
Reserve the bytes once across the two attempts, return them if neither succeeds, and check the configured cap before asking DXGI for its budget. Once the mapping probe has failed, subsequent windows go directly to the staged path.
Tested on an RX 7900 XT with RADV 26.3.1, Wine and vkd3d-proton. The physical regression failed on the base with two refusals instead of one. It passed on this branch with
VICTORY_WINDOW_UPLOAD=0and=1, including reusing the space after release. The reservation test also passed at the exact cap and on integer overflow.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.