GPU: report ordinary texture upload room accurately #3904
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3904"
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?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Yoruiopz on 2026-11-30T11:04:25Z.
Related to #3829 and #3848.
What it changes
The periodic texture-room meter used a comparison of rounded memory terms to label uploads as waiting. The ordinary admission path can still admit uploads below the automatic texture floor. It can also refuse uploads near the raw DXGI budget when weighted use is below the line.
Use the exact byte counts from one meter sample, share the admission floor and raw-budget predicates, and report the ordinary upload gate with its reason. The first-upload allowance keeps its separate diagnostics. Upload and eviction policy stay the same.
How it was tested
Checked for overlap
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by andrewpozdnakov7-jpg on 2026-11-30T11:31:47Z.
I tested
a2db88atogether with #3848a9980e6, both based on41adb551. Cherry-picking the two PRs in either order was clean and produced the same Git tree,bd16abc7d61d. The combined Windows diagnostics build ran 78 resource and pool tests successfully, including a generated integration check. Four tests were ignored.In the #3829 example (1,238 MiB of texture copies, 6,910 MiB budget), the new meter says there is room. At one byte below the automatic floor it still says there is room, and #3848 leaves the reserves out of the eviction calculation. At the floor and one byte above, the same weighted use is over the line, so the meter says no room and #3848 counts the reserves. The separate raw-budget tests also passed.
scripts/summarize-frame-log.pystill recognized the revised messages in a three-row generated log. It counted the under-floor row as admitted and both the weighted-limit and raw-budget rows as blocked.This checks compatibility at the two current heads. The visual trade-off from the exact #3848 hardware pair is still being tracked in that PR.
AI-assisted with OpenAI Codex.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by trustno1-coder on 2026-12-01T18:47:55Z.
Closing this as part of moving main to the texture and video-memory rework (v2026.12.01.01-test). A lot of the code changed, and this pull request no longer applies cleanly to it; it would need to be rewritten against the new main rather than rebased. Thank you for the work. If the change is still needed, please open a new pull request based on the current main.
Pull request closed