Charge the first texture upload only after admission #2347

Manually merged
github merged 1 commit from github-bot/gh-2347 into main 2026-11-30 14:16:39 +00:00 AGit
Owner

@⁠NemesisDawn on GitHub · 2026-11-29 12:16 UTC · original
NemesisDawn:fix/first-texture-upload-accounting → main · +85 −53 · 2 files · 1 commits · merged 2026-11-30 14:12 UTC

Related to #1963.

A first texture upload could fit in a reusable GPU block and still lose its allowance. A request deferred by Windows commit pressure could also spend the remaining budget. Charge only after admission and keep the existing memory guards.

Windows RTX 5080: both regressions failed before the fix. All 12 focused checks passed after it. Full GPU library suite: 917 passed, 57 ignored. Isolated gameplay impact is unmeasured.

Checked for overlap with #1677, #1544, #1805 and #1944

**@⁠NemesisDawn** on GitHub · 2026-11-29 12:16 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2347) `NemesisDawn:fix/first-texture-upload-accounting` → `main` · +85 −53 · 2 files · 1 commits · merged 2026-11-30 14:12 UTC Related to #1963. A first texture upload could fit in a reusable GPU block and still lose its allowance. A request deferred by Windows commit pressure could also spend the remaining budget. Charge only after admission and keep the existing memory guards. Windows RTX 5080: both regressions failed before the fix. All 12 focused checks passed after it. Full GPU library suite: 917 passed, 57 ignored. Isolated gameplay impact is unmeasured. Checked for overlap with #1677, #1544, #1805 and #1944
Compute the upload window from the available headroom without subtracting the candidate twice. Preserve the allowance when system commit defers the request. Exercise exact-fit, oversize and deferred admissions.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 12:21:40 +00:00
github manually merged commit e687e32065 into main 2026-11-30 14:16:39 +00:00
This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA!2347
No description provided.