Repository navigation
Conversation
Batch::flush ran each copy's Shadow::update on the submitting thread: a world frame's ~80 copies move ~265 MB through one ReadProcessMemory thread. Each copy appears once in the batch (pending is keyed by its shadow), so the updates touch disjoint state and run via the existing texture::in_parallel (up to 4 threads); the current-range merge stays serial and in the original order. Synthetic test: 16 copies x 64 pages (64 MiB) flush in ~6.5 ms parallel vs ~7.9 ms serial on a 12-core B580 host, same bytes copied. No game data; synthetic pools only. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
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.
Imported from Marvisak#3305 for review on this fork.
Upstream source head:
4ed54fc7f8fc69a29cfa5c6a6afcff93b9c06719(fromborosf/VIctory). This commit is directly based on the current fork baseline63bcca43c6a00a758510398fa43096ce7e4f7df0; no commits from main need to be replayed.This is a draft review import only. Please inspect the implementation and tests, resolve any interactions with other review branches, and run the Windows/D3D12 test suite before merging. No local build or hardware validation has been performed by this import.
Integration warning
This changes submission buffer refresh on worker threads and shares
crates/victory-gpu/src/host.rswith upstream Marvisak#3312 (VRAM-backed shadow/page-table buffers) and Marvisak#3307 (indirect argument/barrier lifetime). Review the combined host submission lifecycle, lock ordering, task completion, copy-back order, and error propagation before merging alongside either change.