Use the refreshed budget for first texture uploads #1805

Manually merged
github merged 1 commit from github-bot/gh-1805 into main 2026-11-29 08:21:25 +00:00 AGit
Owner

@⁠Ondra97 on GitHub · 2026-11-29 00:09 UTC · original
Ondra97:codex/refresh-first-upload-budget → main · +8 −4 · 1 files · 1 commits · merged 2026-11-29 08:16 UTC

Related to #1496.

What it changes

The indexed-texture pass already rechecks video memory after an admitted first upload and after batches of normal uploads. The recheck refreshes the normal room decision, while the first-upload allowance and its window continue to use the sample from the start of the pass. Reuse the existing refreshed sample for all three decisions. The query cadence and per-pass staging cap are preserved.

How it was tested

  • Six targeted victory-gpu tests matching first_upload passed. The ordinary locked, offline release build succeeded.
  • A local regression probe used the exact old and new refresh snippets with simulated DXGI samples and the existing admission decision. It confirmed that the subsequent decision uses the new sample both when card usage rises above the budget and when it falls below it.
  • Windows, RTX 4070 Ti SUPER, Series X, 1440p, DLSS Performance, frame generation off. The exact release completed the same saved-scene input sequence as the warmed control. Both used an 8,192 MiB software budget, with the same staged executable path and file-cache seed.
  • The candidate completed 13 sampled over-budget windows without a logged crash or device removal. Its peak excess was 369 MB versus 331 MB in the warmed main control. The rendered medians were 17.3 and 16.9 FPS, respectively, with different draw counts. These observations establish runtime coverage of the admission path and do not establish an FPS gain or lower memory use.

Checked for overlap

  • Searched open PRs for #1496 and the first-upload path. #1677 and #1544 change the free-range admission rule. #1771 changes the request estimate. #1562 and #1759 gate pool growth. This PR reuses the pass's existing budget recheck.
**@⁠Ondra97** on GitHub · 2026-11-29 00:09 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1805) `Ondra97:codex/refresh-first-upload-budget` → `main` · +8 −4 · 1 files · 1 commits · merged 2026-11-29 08:16 UTC Related to #1496. ## What it changes The indexed-texture pass already rechecks video memory after an admitted first upload and after batches of normal uploads. The recheck refreshes the normal room decision, while the first-upload allowance and its window continue to use the sample from the start of the pass. Reuse the existing refreshed sample for all three decisions. The query cadence and per-pass staging cap are preserved. ## How it was tested - Six targeted victory-gpu tests matching first_upload passed. The ordinary locked, offline release build succeeded. - A local regression probe used the exact old and new refresh snippets with simulated DXGI samples and the existing admission decision. It confirmed that the subsequent decision uses the new sample both when card usage rises above the budget and when it falls below it. - Windows, RTX 4070 Ti SUPER, Series X, 1440p, DLSS Performance, frame generation off. The exact release completed the same saved-scene input sequence as the warmed control. Both used an 8,192 MiB software budget, with the same staged executable path and file-cache seed. - The candidate completed 13 sampled over-budget windows without a logged crash or device removal. Its peak excess was 369 MB versus 331 MB in the warmed main control. The rendered medians were 17.3 and 16.9 FPS, respectively, with different draw counts. These observations establish runtime coverage of the admission path and do not establish an FPS gain or lower memory use. ## Checked for overlap - [x] Searched open PRs for #1496 and the first-upload path. #1677 and #1544 change the free-range admission rule. #1771 changes the request estimate. #1562 and #1759 gate pool growth. This PR reuses the pass's existing budget recheck.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 00:10:46 +00:00
github manually merged commit c146c12022 into main 2026-11-29 08:21:25 +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!1805
No description provided.