perf(gpu/shadow): skip unchanged 256-byte upload blocks via VICTORY_COPY_FILTER (#276) #383

Manually merged
github merged 3 commits from github-bot/gh-383 into gh-pr/383/base 2026-12-03 13:04:48 +00:00 AGit
Owner

@⁠Androtim on GitHub · 2026-12-03 09:51 UTC · original
Androtim:perf/copy-filter-dedup → main · +225 −3 · 2 files · 3 commits · merged 2026-12-03 12:58 UTC

Summary

Adapts 256-byte upload-block deduplication (Shadow::copy_filtered, VICTORY_COPY_FILTER=0|1|check, default on) from ReZOnGithub/VIctory-lap (

**@⁠Androtim** on GitHub · 2026-12-03 09:51 UTC · [original](https://github.com/Androtim/MiniVI/pull/383) `Androtim:perf/copy-filter-dedup` → `main` · +225 −3 · 2 files · 3 commits · merged 2026-12-03 12:58 UTC ## Summary Adapts 256-byte upload-block deduplication (Shadow::copy_filtered, VICTORY_COPY_FILTER=0|1|check, default on) from ReZOnGithub/VIctory-lap (
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-03 09:54:33 +00:00
Author
Owner

@⁠Androtim on GitHub · 2026-12-03 10:01 UTC · original

All 3 gates passed: CI green (\6m37s), Gate 2 Reasoning (\pro) audit \VERIFIED CLEAN (0 P0, 0 P1)\ logged on #282, and live RTX 4060 Ti \VICTORY_COPY_FILTER=check\ verified 0 byte mismatches + clean default visuals.

**@⁠Androtim** on GitHub · 2026-12-03 10:01 UTC · [original](https://github.com/Androtim/MiniVI/pull/383#issuecomment-7374631070) All 3 gates passed: CI green (\6m37s\), Gate 2 Reasoning (\pro\) audit \VERIFIED CLEAN (0 P0, 0 P1)\ logged on #282, and live RTX 4060 Ti \VICTORY_COPY_FILTER=check\ verified **0 byte mismatches** + clean default visuals.
Author
Owner

@⁠Androtim on GitHub · 2026-12-03 10:02 UTC · original

Read-only static audit of fed6c130 (CI check PASS): VERIFIED CLEAN (0 [P0], 0 [P1]).

  • Audited all .data write sites in crates/victory-gpu/src/shadow.rs: every non-carded write path (copy, placed_copy, copy_back_with, land_card, land_back, mark_written, has_pending merge) calls self.unfiltered() with Release/Acquire filter_epoch fencing; card_merge, card_merge_relay, take, and take_landed are strictly card.is_some()-only.
  • Default-on with clean VICTORY_COPY_FILTER=0 kill-switch, =check readback verifier, proper GPL-3.0 attribution (ReZOnGithub/VIctory-lap 0388407), and block_hash unit test.

Holding auto-merge solely for plain --release (NO --features diagnostics) A/B numbers vs main + VICTORY_COPY_FILTER=check (0 mismatches, 0 crashes/DRED) since the PR description was truncated mid-sentence at (. Once posted, ready to merge immediately.

**@⁠Androtim** on GitHub · 2026-12-03 10:02 UTC · [original](https://github.com/Androtim/MiniVI/pull/383#issuecomment-7374649467) Read-only static audit of `fed6c130` (**CI `check` PASS**): **VERIFIED CLEAN (0 `[P0]`, 0 `[P1]`)**. - Audited all `.data` write sites in `crates/victory-gpu/src/shadow.rs`: every non-carded write path (`copy`, `placed_copy`, `copy_back_with`, `land_card`, `land_back`, `mark_written`, `has_pending` merge) calls `self.unfiltered()` with `Release`/`Acquire` `filter_epoch` fencing; `card_merge`, `card_merge_relay`, `take`, and `take_landed` are strictly `card.is_some()`-only. - Default-on with clean `VICTORY_COPY_FILTER=0` kill-switch, `=check` readback verifier, proper GPL-3.0 attribution (`ReZOnGithub/VIctory-lap` `0388407`), and `block_hash` unit test. Holding auto-merge solely for plain `--release` (NO `--features diagnostics`) A/B numbers vs `main` + `VICTORY_COPY_FILTER=check` (`0` mismatches, `0` crashes/DRED) since the PR description was truncated mid-sentence at `(`. Once posted, ready to merge immediately.
github-bot changed target branch from main to gh-pr/383/base 2026-12-03 13:04:45 +00:00
github manually merged commit 8822a46026 into gh-pr/383/base 2026-12-03 13:04:48 +00:00
This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/Androtim--MiniVI!383
No description provided.