GPU: scale the texture allocation floor to the VRAM budget #51
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/DexNom--VIctory!51
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-51"
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?
@Lkxex on GitHub · 2026-11-25 21:21 UTC · original
Lkxex:gpu/texture-floor-dexnom→main· +13 −2 · 1 files · 1 commits · openA fixed 2 GiB floor for texture copies can allow allocations before checking GPU memory pressure. Cap that floor at one third of the adapter's reported local budget, up to 2 GiB. The existing VICTORY_TEXTURE_BUDGET_MB override still takes precedence.
This is Dathinel's change from fxceless/victory-fork#1122, cherry-picked with attribution. Dathinel reported a median frame time of 370 ms before and 160 ms after on a 4 GB RTX 3050 Laptop GPU in the Series S prologue. That measurement is from the source PR.
Validation on this port: Windows diagnostics cargo check with tests enabled and 11 synthetic budget scenarios, covering low and high budgets, the override, and unavailable budget information. In-game performance and texture quality remain unmeasured on this fork.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.