Repository navigation
GPU: skip unchanged host copies and compact armed page ranges - #1
Naruto334692 wants to merge 5 commits into
Conversation
Integration validation (Windows)The combined tree with the unchanged-copy fast path and bindless heap UAV copy-back passed GitHub Actions run 45600710813 on commit
This verifies the two PR changes together on the Windows CI runner. It is not a real GTA VI hardware run and does not establish an FPS gain. |
Synthetic WARP A/B resultThe benchmark control run 45603378829 (PR #3 without PR #1) measured median preparing 306.2 ms and copy-back 162.1 ms. The combined PR #1 + PR #3 run 45602186239 measured 79.3 ms preparing and 146.4 ms copy-back. That is about 74% lower synthetic CPU preparing time and 9.7% lower copy-back in these runs. Both used the same WARP benchmark/workload on Windows hosted runner jobs, not the same physical machine. This does not show game FPS or discrete-GPU performance; the absolute values should not be compared to title frame time. |
Summary
Combines the upstream copy-preparation and compact-arming optimizations on an isolated branch:
Regression coverage
watch::tests::a_tracker_says_when_nothing_changedwatch::tests::armed_ranges_keep_their_pages_bytes_from_before_the_first_writewatch::tests::adjacent_and_overlapping_armed_runs_coalesce— 200 adjacent ranges, reverse insertion, nesting, overlap, disjoint, unarm/rearm and empty ranges.host::batch::a_copy_nothing_wrote_is_not_asked_forValidation
Windows GitHub Actions on commit
ebd5d5fpassed:cargo test --workspace --lockedThe changes have not been tested in a real GTA VI world run. Synthetic performance results from the upstream PRs are not a claim of improved in-game FPS.
Scope
Only
crates/victory-gpu/src/{host.rs,shadow.rs,watch.rs}are changed. No game files or proprietary assets are included. The fork'smainremains unchanged.Combined integration check
The combined tree with PR #3 also passed Windows CI in integration PR #4, run 45600710813: both workspace Clippy passes and
cargo test --workspace --lockedsucceeded with 0 failures. This is CI validation only, not a real GTA VI hardware run or an FPS claim.