Repository navigation
Conversation
Co-authored-by: borosf <borosf@users.noreply.github.com>
This was referenced Nov 25, 2026
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
Batchmerged every refresh of a buffer copy across a submission into one[min, max]span, so lists asking for distant small parts of one copy (constant buffers through the bindless hulls, heap table ranges, recordedStep::Refreshes) copied everything between them out of title memory. The dossier counts this line as most ofpreparing(~860 ms of a ~1,900 ms Series S world frame; copies ~270 MB ≈ 440 ms).current) is a disjoint set too, so ranges already brought up to date are skipped more often than before.push_range), model-checked against a brute-force coalescer over thousands of random range sequences; unit tests cover the coalescing/bridging rules, and an integration test shows two distant refreshes of one watched copy stay apart.Numbers
Model (no game data; per-frame equivalents of the submission pattern the dossier describes):
Real-world confirmation needs the diagnostics frame log (
preparingMB/ms before/after) on hardware that runs the game.Verification
cargo test -p victory-gpu --libon Intel Arc B580: 143 passed, 2 failed with only the two known Intel heap-cap failures pristine main also has, 2 benchmarks ignored. Includes the newranges_of_a_copy_stay_disjoint,distant_refreshes_of_a_copy_are_copied_apart, and the existing refresh-semantics tests unchanged.claiming: PREPARING-DISJOINT-RANGES (the dirty-range half of H-2.1; per the ledger the adjacent lanes NEW-48 / NEW-53 / GPU-SNAPSHOT-COST are correctness or copy-back redesign, not this).