Repository navigation
Conversation
…r/draw paths Apply clippy suggestions in victory-gpu: use HashMap::entry instead of contains_key + insert in fpsbox, collapse nested if in pipeline::library, use is_multiple_of in queue/shadow, sort_unstable_by_key in draw, and allow dead_code on the unused placed_filler_twins diagnostic. No behavior change. cargo check and victory-gpu tests pass (one pre-existing flaky GPU indirect test remains environment-dependent). Assisted By NetherySiloX
Levels on demand (`tiles`) was gated behind VICTORY_LEVELS_ON_DEMAND=1 even though it is implemented, tested on the software adapter, and saves 2-3 GB of card memory on title textures. Enable it whenever the adapter reports tiled resources tier 2, and let VICTORY_LEVELS_ON_DEMAND=0 opt out. Assisted By NetherySiloX
Author
|
Closing: duplicate of #867 (perf(gpu): ... enable levels on demand). Reverting local change. |
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.
Summary
Enable levels-on-demand host copies of title textures by default on adapters
that support tiled resources tier 2. Previously this was gated behind
VICTORY_LEVELS_ON_DEMAND=1even though the feature is implemented andtested on the software adapter, and saves 2-3 GB of card memory on title
textures (see
tiles.rs).VICTORY_LEVELS_ON_DEMAND=0still disables it.Validation
cargo check -p victory-gpupasses.cargo test -p victory-gpupasses (183 passed, 5 ignored), including theignored
levels_on_demand_on_the_cardtest on the software adapter.Limitations
one is unverified. Opt-out remains available.
Assisted By NetherySiloX