Avoid unnecessary first-upload pool scans and report the VRAM reserve #4768
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/4768"
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 v8816 on 2026-12-01T06:41:01Z.
What changed
First-upload admission now probes the texture pool for a reusable range only when the whole-card check actually depends on reuse. A request accepted by normal room, rejected by a stricter ceiling, or too large for aggregate free space can be decided without a range scan. The existing byte thresholds and accepted requests stay the same.
The frame-rate log reports the dynamic VRAM reserve separately from the explicit texture budget. One local Series S run on an 8 GiB card reported about 70,000 first-upload refusals in the explicit-limit bucket with no explicit texture budget configured. The new counter makes it possible to measure the reserve's effect without guessing from that bucket.
Verification
The change has unit coverage. Its effect on gameplay FPS has yet to be measured with a matched run.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by trustno1-coder on 2026-12-01T18:32:50Z.
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