Repository navigation
perf(gpu): batch descriptor copies/releases, bitset dynamic slots, and AVX2 shadow merge - #18
Merged
Merged
Conversation
…d AVX2 shadow merge
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
Code-level frame-time optimizations targeting RTX 4060 CPU/driver overhead (5 -> 10 FPS) with zero changes to graphics, rendering quality, shaders, or settings.
Optimizations
etire_resources (crates/victory-gpu/src/host.rs):
etire_resources() call.
etire_resources() call, replacing
–2n per-slot CopyDescriptorsSimple(1, ...) driver calls and
LIST_VIEWS borrows.
elay_worker()'s loop.
Verification
cargo clippy --workspace --all-targets --locked -- -D warnings: PASS (0 warnings)cargo clippy -p victory-hle --features gpu-bcpack --all-targets --locked -- -D warnings: PASS (0 warnings)cargo test --workspace --locked: PASS (including new DynamicSlots bitset and AVX2 changed_runs/merge_piece unit tests)cargo test --release -p victory-hle --features gpu-bcpack --locked gpu_bcpack: 2 passed; 0 failedcargo build --release --locked -p victory --features gpu-bcpack: PASScargo run -p xtask -- policy: asset policy: 259 files ok