gpu: fuse AVX2 shadow diff/update and merge passes (VICTORY_UNDER_FUSED) #188
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/188"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from Androtim/MiniVI. Originally posted by Androtim on 2026-11-30T03:02:28Z.
Summary
word_runs_and_update/word_runs_and_update_avx2to compare title memory against the host snapshot and copy differing 32-byte AVX2 chunks in a single pass, and use it in theSENDdiff path and card-backed write-merge path.merge_page_fusedgated byVICTORY_UNDER_FUSED(enabled by default) somerge_page_under_writescompares and updates aligned card-backed pages in one pass whenever standalone-copy headroom covers the page bound (n / 260 + 1), returning unused copy credits afterward.stale_pages_in/stale_pages_in_atomicwith a shared linear two-pointer scan (stale_pages_with) seeded once viapartition_point.merge_tests::word_runs_and_update_matches_word_runs_and_copies_exactly,merge_tests::a_page_merged_in_one_pass_is_the_page_merged_in_two, andland_tests::title_bytes_go_in_under_writes_the_same_in_one_pass_and_in_two, plus cursor-skip coverage instale_tests::pages_never_taken_are_stale_written_or_not.Verification
cargo +1.98.1-x86_64-pc-windows-gnu run -p xtask -- policy(311 files ok)cargo +1.98.1-x86_64-pc-windows-gnu test -p victory-gpu shadow:: -- --test-threads=1(46 passed; 0 failed; 2 ignored)cargo +1.98.1-x86_64-pc-windows-gnu clippy --workspace --all-targets -- -D warningscargo +1.98.1-x86_64-pc-windows-gnu clippy --workspace --all-targets --features diagnostics -- -D warningsPlayParity): all 6 gates PASS, median12.9 fps(preparing 34.5 ms),used_max=6409 MB / budget_min=6838 MB(over=0 MB,room_false=70.6%),final_waiting=1960,mapped_rate=8.25 ms/s,lit=19/24(luma=104.7,near_black=0.0%,magenta=0.0%),0crashes; late captured PNGs visually verified crisp.PlayParity): median10.5 fps(preparing 39.2 ms),min 5.5 fps,lit=18/24(luma=105.47,near_black=0.0%,magenta=0.0%),0crashes; late captured PNGs visually verified crisp.Imported from Androtim/MiniVI. Originally posted by Androtim on 2026-11-30T04:03:56Z.
Automated triage for the maintainers (not an approval).
Verdict:
needs-rebase· CI (check):passingThis PR no longer merges cleanly into
main.To change the verdict: Rebase onto current
mainand resolve conflicts; CI and triage will run again automatically.Generated with Antigravity CLI (
agy).Imported from Androtim/MiniVI. Originally posted by Androtim on 2026-11-30T08:41:03Z.
GitHub reports merge conflicts against current
mainafter Wave 6 merged. Please rebase onto latestmain.Imported from Androtim/MiniVI. Originally posted by Androtim on 2026-12-01T01:38:15Z.
Closing conflicting opt-in VICTORY_* toggle PR per #276 policy (replace flawed base paths with default-on replacements rather than stacking opt-in toggles).
Pull request closed