Repository navigation
Conversation
Adapt VItoriaBr hardware-specific preset concept to the current DXGI texture eviction model. Add 8/12/16 GiB profiles, preserving automatic budgets by default. Avoid unsupported fork-only switches.
ChaerilM
added a commit
that referenced
this pull request
Nov 27, 2026
Adapt VItoriaBr texture budget and fxceless staging-pool tuning to the existing synchronous eviction and upload paths. Preserve default behavior, add regression tests and hardware preset values. Stacked on PR #3.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Six authored presets and a PowerShell launcher, optional git-ignored .env overrides, numeric validation, no expression evaluation, and restoration of the caller's managed environment. Asset policy permits only the six exact preset paths; existing asset checks remain. Existing victory.toml still controls paths.
Hardware presets
Based on VItoriaBr's README: 8GB uses a 5120 MiB target, 12GB 7680 MiB (interpolated), 16GB 10240 MiB. Unlike VItoriaBr's separate texture and GPU buffer limits, our new VICTORY_VRAM_TARGET_MB is a soft local memory pressure threshold for the existing eviction system; never raises DXGI's dynamic threshold, and preserves eligible-texture eviction and hysteresis. Default zero preserves the existing behavior. Profiles also use 1024 KiB windows and spare budgets of 0/128/256 MiB respectively. Buffered title reads stay off in hardware profiles. High profile is a separate experiment with buffered reads enabled. The three original runtime switches require PR #1 and #2; the soft VRAM target is implemented in this PR itself. Unsupported VItoriaBr variables are deliberately omitted.
Testing
Added policy and eviction threshold regression tests. Reviewed branch comparison. No Windows PowerShell execution, Rust compilation, tests or gameplay benchmarks performed. VRAM targets are provisional, not hard limits, can increase texture churn, and do not guarantee that an 8GB GPU can run the game. Verify baseline then each hardware profile with identical scenes and driver, record frame times, GPU memory, evictions and image correctness. PR #2 also edits README; reconcile if needed during merge. Paired Wave64 work remains deferred.