Skip to content

Use the refreshed budget for first texture uploads - #1805

Open
Ondra97 wants to merge 1 commit into
trustno1-coder:mainfrom
Ondra97:codex/refresh-first-upload-budget
Open

Ondra97 wants to merge 1 commit into
trustno1-coder:mainfrom
Ondra97:codex/refresh-first-upload-budget

Conversation

@Ondra97

@Ondra97 Ondra97 commented Nov 29, 2026 •

Copy link
Copy Markdown

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

@github-actions github-actions Bot added memory RAM or VRAM use, out of memory, leaks pr-fix Pull request: fixes a bug rendering Missing, black, flickering or corrupted graphics labels Nov 29, 2026
@github-actions github-actions Bot changed the title [pr-fix] [rendering] [memory] Use the refreshed budget for first texture uploads Use the refreshed budget for first texture uploads Nov 29, 2026
@Ondra97
Ondra97 marked this pull request as ready for review November 29, 2026 00:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

memory RAM or VRAM use, out of memory, leaks pr-fix Pull request: fixes a bug rendering Missing, black, flickering or corrupted graphics

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant