gpu: opt-in lazy GPU write-back (VEH), O(dirty) CopiedPages, AVX2 shadow & AdapterKey PSO #1178

Open
github-bot wants to merge 3 commits from github-bot/gh-1178 into main AGit
Owner

@⁠Vladimir-Human on GitHub · 2026-11-25 22:56 UTC · original
Vladimir-Human:perf/lazy-copyback-rebar-pso → main · +9959 −663 · 7 files · 3 commits · open

Summary

AI-assisted PR directly addressing the copy-back bottleneck instrumented by c36971b2 (VICTORY_BACK_READS — 41–59 MB/frame copied back into title memory even when title CPU code rarely or never reads those pages) by introducing an opt-in lazy GPU-resident write-back path (VICTORY_LAZY_COPYBACK=1, off by default), alongside O(dirty) CopiedPages tracking, AVX2 shadow/merge helpers, opt-in ReBAR upload support (VICTORY_REBAR=1|2, off by default), and AdapterKey PSO cache isolation.

When VICTORY_LAZY_COPYBACK and VICTORY_REBAR are unset, all existing execution paths, diagnostics, and upstream fxceless knobs are preserved verbatim (0 behavior change).

What Changed (4 files in crates/victory-gpu/src)

  1. Opt-in Lazy GPU-Resident Write-Back (VICTORY_LAZY_COPYBACK=1, default OFF):
    • Defers PCIe readback/title-memory merge for clean whole-page-aligned shader-written regions behind PAGE_NOACCESS and an acyclic VEH fault handler (lazy_on_fault, which never acquires Level 0 watch, Shadow, BUFFERS, CARD_WORK, or host.submitted locks).
    • Flushes only pages the CPU actually accesses; section-backed MEM_MAPPED console heaps flush via dual-view MapViewOfFile before restoring PAGE_READWRITE (zero torn-read window).
    • Handles concurrent engine edge cases cleanly:
      • watch::transition_clean_guard_to_noaccess sets rollback protection immediately on write races (no stranded PAGE_NOACCESS).
      • watch::title_memory_written uses lazy_release_written_range(at, len) (skips redundant readback on full-page DirectStorage overwrites unless writes_pending(), and preserves freshly written bytes on partial overwrites via complement copy).
      • Shadow::writing / stale_under_writes / merge_under_writes / host::stale_under_flights (Step::GpuWrite) cleanly settle or skip pending LAZY_RESYNC pages under VICTORY_RELAY.
      • Scoped LazyRemapGuard range barriers across watch::Remapping, host::{copy_mapped, read_into, write_mapped}, and idempotent FlushedBaseline subrange tracking across back-to-back flights + Shadow::drop cleanup.
    • Explicit VICTORY_BACK_READS guard: Automatically disables lazy PAGE_NOACCESS arming whenever VICTORY_BACK_READS is active (tested by lazy_copyback_disabled_when_back_reads_active) so backreads.rs working-set sampling cannot collide with guard protections.
    • Preserves all recent c36971b2/f5c03f3/44bff61/1391409/6d20eed features verbatim (backreads.rs, texback.rs / VICTORY_TEXTURE_BACK, VICTORY_CARD_BUFFERS_MIN_KB, VICTORY_CARD_HASH_LEN, VICTORY_CARD_HASH_WIDE, VICTORY_CARD_CHANGED_LIST / CHANGED + take_dirty with lockfree has_dirty/has_sent, VICTORY_ABSENT_ONCE / VICTORY_ABSENT_MS=told, changed_runs by masks).
  2. O(dirty) CopiedPages, AVX2 Shadow/Merge & Opt-In VICTORY_REBAR=1|2:
    • 64-page uncopied_bits bitmask + lock-released plan_stale, AVX2 first_difference / last_difference / merge_piece / merge_back_piece, and explicit D3D12_HEAP_TYPE_GPU_UPLOAD path with _mm_sfence()/VMOVNTDQA _mm_mfence()/MfenceOnExit.
  3. Adapter-Keyed PSO Library (pipeline/library.rs):
    • AdapterKey cache separation keyed by (vendor, device, revision, software) ({:04x}-{:04x}-r{:02x}-{sw|hw}) with strict Release/Acquire publish ordering (VIEW[1]/LOADED_AT/TRIMMED before VIEW[0]). Subsystem ID and driver version are deliberately omitted so driver updates reopen the same cache file and fall back cleanly to an empty library if D3D12 rejects old blobs.

Verification (2255d89, merged origin/main 6d20eed, RTX 4070 SUPER / i5-13400F, --locked)

  • Clean git merge-tree against origin/main (6d20eed) and open PRs #1126 & #1140; clean-room scan 0 hits; git diff --check exit 0.
  • cargo clippy -p victory-gpu --all-targets --locked (+ --all-features): 0 warnings in added/modified code.
  • VICTORY_D3D12_DEBUG=1 cargo test -p victory-gpu --locked -- --test-threads=1 (default features): 209 passed; 1 pre-existing untouched indirect.rs:1901 WARP race failure; 7 ignored, 0 D3D12 debug errors (every shadow::*, watch::*, pipeline::library::*, descriptor::*, texback::* test passed).
  • VICTORY_D3D12_DEBUG=1 cargo test -p victory-gpu --locked --all-features -- --test-threads=1 (shadow::lazy_and_simd_tests 20/20 [2 ignored], pipeline::library::tests 7/7, shadow::merge_tests 5/5, shadow::relay_tests 5/5): 0 D3D12 debug errors.
  • --release RTX 4070 SUPER benchmarks (cda6f951):
    • bench_lazy_copyback (64 MiB carded VRAM, 30 frames): 0% CPU reads 38.241 -> 1.172 ms/frame (32.64x, 0.00 MB/f readback/upload, 0.0 faults/f); 2% sparse CPU reads 40.761 -> 16.754 ms/frame (2.43x, 1.25 MB/f, 20.0 faults/f).
    • bench_shadow_and_rebar: plan_stale 11.1 ns/call, 64 MiB SIMD first+last 0.39 ms (171.7 GB/s), ReBAR GPU_UPLOAD 32 MiB write+SFENCE 3.09 ms (10.9 GB/s).

Co-Authored-By: AI Assistant

**@⁠Vladimir-Human** on GitHub · 2026-11-25 22:56 UTC · [original](https://github.com/fxceless/victory-fork/pull/1178) `Vladimir-Human:perf/lazy-copyback-rebar-pso` → `main` · +9959 −663 · 7 files · 3 commits · open ## Summary AI-assisted PR directly addressing the copy-back bottleneck instrumented by `c36971b2` (`VICTORY_BACK_READS` — 41–59 MB/frame copied back into title memory even when title CPU code rarely or never reads those pages) by introducing an opt-in lazy GPU-resident write-back path (`VICTORY_LAZY_COPYBACK=1`, off by default), alongside `O(dirty)` `CopiedPages` tracking, AVX2 shadow/merge helpers, opt-in ReBAR upload support (`VICTORY_REBAR=1|2`, off by default), and `AdapterKey` PSO cache isolation. When `VICTORY_LAZY_COPYBACK` and `VICTORY_REBAR` are unset, all existing execution paths, diagnostics, and upstream `fxceless` knobs are preserved verbatim (`0` behavior change). ### What Changed (4 files in `crates/victory-gpu/src`) 1. **Opt-in Lazy GPU-Resident Write-Back (`VICTORY_LAZY_COPYBACK=1`, default OFF)**: - Defers PCIe readback/title-memory merge for clean whole-page-aligned shader-written regions behind `PAGE_NOACCESS` and an acyclic VEH fault handler (`lazy_on_fault`, which never acquires Level 0 `watch`, `Shadow`, `BUFFERS`, `CARD_WORK`, or `host.submitted` locks). - Flushes only pages the CPU actually accesses; section-backed `MEM_MAPPED` console heaps flush via dual-view `MapViewOfFile` before restoring `PAGE_READWRITE` (zero torn-read window). - Handles concurrent engine edge cases cleanly: - `watch::transition_clean_guard_to_noaccess` sets rollback protection immediately on write races (no stranded `PAGE_NOACCESS`). - `watch::title_memory_written` uses `lazy_release_written_range(at, len)` (skips redundant readback on full-page DirectStorage overwrites unless `writes_pending()`, and preserves freshly written bytes on partial overwrites via complement copy). - `Shadow::writing` / `stale_under_writes` / `merge_under_writes` / `host::stale_under_flights` (`Step::GpuWrite`) cleanly settle or skip pending `LAZY_RESYNC` pages under `VICTORY_RELAY`. - Scoped `LazyRemapGuard` range barriers across `watch::Remapping`, `host::{copy_mapped, read_into, write_mapped}`, and idempotent `FlushedBaseline` subrange tracking across back-to-back flights + `Shadow::drop` cleanup. - **Explicit `VICTORY_BACK_READS` guard**: Automatically disables lazy `PAGE_NOACCESS` arming whenever `VICTORY_BACK_READS` is active (tested by `lazy_copyback_disabled_when_back_reads_active`) so `backreads.rs` working-set sampling cannot collide with guard protections. - Preserves all recent `c36971b2`/`f5c03f3`/`44bff61`/`1391409`/`6d20eed` features verbatim (`backreads.rs`, `texback.rs` / `VICTORY_TEXTURE_BACK`, `VICTORY_CARD_BUFFERS_MIN_KB`, `VICTORY_CARD_HASH_LEN`, `VICTORY_CARD_HASH_WIDE`, `VICTORY_CARD_CHANGED_LIST` / `CHANGED` + `take_dirty` with lockfree `has_dirty`/`has_sent`, `VICTORY_ABSENT_ONCE` / `VICTORY_ABSENT_MS=told`, `changed_runs` by masks). 2. **`O(dirty)` `CopiedPages`, AVX2 Shadow/Merge & Opt-In `VICTORY_REBAR=1|2`**: - 64-page `uncopied_bits` bitmask + lock-released `plan_stale`, AVX2 `first_difference` / `last_difference` / `merge_piece` / `merge_back_piece`, and explicit `D3D12_HEAP_TYPE_GPU_UPLOAD` path with `_mm_sfence()`/`VMOVNTDQA` `_mm_mfence()`/`MfenceOnExit`. 3. **Adapter-Keyed PSO Library (`pipeline/library.rs`)**: - `AdapterKey` cache separation keyed by `(vendor, device, revision, software)` (`{:04x}-{:04x}-r{:02x}-{sw|hw}`) with strict `Release`/`Acquire` publish ordering (`VIEW[1]`/`LOADED_AT`/`TRIMMED` before `VIEW[0]`). Subsystem ID and driver version are deliberately omitted so driver updates reopen the same cache file and fall back cleanly to an empty library if D3D12 rejects old blobs. ### Verification (`2255d89`, merged `origin/main` `6d20eed`, RTX 4070 SUPER / i5-13400F, `--locked`) - Clean `git merge-tree` against `origin/main` (`6d20eed`) and open PRs `#1126` & `#1140`; clean-room scan `0` hits; `git diff --check` exit `0`. - `cargo clippy -p victory-gpu --all-targets --locked` (+ `--all-features`): **0 warnings in added/modified code**. - `VICTORY_D3D12_DEBUG=1 cargo test -p victory-gpu --locked -- --test-threads=1` (default features): **209 passed; 1 pre-existing untouched `indirect.rs:1901` WARP race failure; 7 ignored**, **0 D3D12 debug errors** (every `shadow::*`, `watch::*`, `pipeline::library::*`, `descriptor::*`, `texback::*` test passed). - `VICTORY_D3D12_DEBUG=1 cargo test -p victory-gpu --locked --all-features -- --test-threads=1` (`shadow::lazy_and_simd_tests` **20/20** [2 ignored], `pipeline::library::tests` **7/7**, `shadow::merge_tests` **5/5**, `shadow::relay_tests` **5/5**): **0 D3D12 debug errors**. - `--release` RTX 4070 SUPER benchmarks (`cda6f951`): - `bench_lazy_copyback` (64 MiB carded VRAM, 30 frames): `0%` CPU reads `38.241 -> 1.172 ms/frame` (**32.64x**, `0.00 MB/f` readback/upload, `0.0` faults/f); `2%` sparse CPU reads `40.761 -> 16.754 ms/frame` (**2.43x**, `1.25 MB/f`, `20.0` faults/f). - `bench_shadow_and_rebar`: `plan_stale` `11.1 ns/call`, 64 MiB SIMD `first+last` `0.39 ms` (`171.7 GB/s`), ReBAR `GPU_UPLOAD` 32 MiB write+SFENCE `3.09 ms` (`10.9 GB/s`). Co-Authored-By: AI Assistant
Port the audited F1-F6 hardened lazy GPU-resident write-back, shadow
acceleration, opt-in ReBAR, and per-adapter PSO cache isolation onto
victory-gpu while preserving all upstream backreads, texback, card
sizing, hash length, window upload, merge gap, and changed_runs hooks:

- Opt-in VICTORY_LAZY_COPYBACK=1 (default OFF): lock-free VEH fault
  handler (never acquires Level 0 locks), dual-view MapViewOfFile
  zero-tear commits for MEM_MAPPED pages, and full F1-F6 + audit
  hardening:
  * F1: lazy_release_written_range in watch::title_memory_written
    (full-page no-overwrite + partial-page complement copy, and
    FlushedBaseline capture on full_cover when writes_pending() is true).
  * F2: stale_under_writes, merge_under_writes (both upfront and
    in-loop pre/post-read_into LAZY_RESYNC re-checks), and
    stale_under_flights (including UAV-only Step::GpuWrite with
    pending LAZY_RESYNC pages) settle cleanly before merging/running;
    Shadow::writing and Shadow::update skip pending pages when resyncing
    so self.data and FlushedBaseline remain intact for card_merge_relay.
  * F3: idempotent FlushedBaseline { bytes, remaining } plus
    Shadow::drop cleanup whenever deferred_count > 0 || resync_count > 0.
  * F4: lazy_flush_other_shadows in Shadow::update_free and
    Shadow::writing for overlapping shadow coherence.
  * F5: LazyRemapGuard in watch::Remapping dropped after _held,
    lazy_flush_and_hold scoped non-arming range barrier across
    host::{copy_mapped,read_into,write_mapped} against concurrent relay
    re-arming, plus shadow::unregister flushing with baseline
    preservation vs Drop.
  * F6: preserve PAGE_NOACCESS without downgrading to PAGE_READONLY
    under MEM_WRITE_WATCH, refuse unwatched MEM_PRIVATE pages, and roll
    back MEM_MAPPED PAGE_NOACCESS -> PAGE_READWRITE whenever
    transition_clean_guard_to_noaccess succeeds but was_written_since
    subsequently rejects arming.
  * Mutual-exclusion guard with VICTORY_BACK_READS: whenever
    VICTORY_BACK_READS is active (set and neither empty nor "0"), lazy
    PAGE_NOACCESS arming is disabled with a one-time warning so
    backreads.rs working-set sampling never races with PAGE_NOACCESS.
- O(dirty) CopiedPages (uncopied_bits + lock-released plan_stale),
  AVX2 shadow diff/merge helpers, panic-safe nested wide worker pool,
  and opt-in VICTORY_REBAR=1|2 (default OFF, compare_exchange_weak
  headroom reservation, VMOVNTDQA entry _mm_mfence(), RAII
  MfenceOnExit, and _mm_sfence()).
- AdapterKey per-adapter pipeline library filenames in
  pipeline/library.rs with read-only legacy fallback, .rejected.bin
  retention for adapter-owned files, and LOADED_AT/VIEW[1]/TRIMMED
  ordered before VIEW[0] Release publication.
Integrates upstream commits 44bff61..6d20eed cleanly:
- Preserves CHANGED / changed_kept() / changed_list() / take_dirty() while retaining lockfree has_dirty/has_sent tracking inside take_dirty() and Shadow::card_changed().
- Keeps #1014 64-thread card compare hash (VICTORY_CARD_HASH_WIDE=1) and VICTORY_ABSENT_ONCE / VICTORY_ABSENT_MS=told intact.
- Populates Card.me in test helper make_test_shadow.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:58:58 +00:00
Author
Owner

@⁠Vladimir-Human on GitHub · 2026-11-25 23:14 UTC · original

Merged origin/main (6d20eed, including #1014 64-thread card hash, VICTORY_CARD_CHANGED_LIST, and VICTORY_ABSENT_ONCE/VICTORY_ABSENT_MS=told) monotonically in 2255d89:

  • Integrated take_dirty() / CHANGED list cleanly with lockfree has_dirty/has_sent tracking inside both take_dirty() and Shadow::card_changed(), and populated Card.me in make_test_shadow.
  • Aligned the AdapterKey summary in the PR description to match pipeline/library.rs (vendor, device, revision, software — omitting subsystem ID and driver version intentionally).
  • Re-verified with VICTORY_D3D12_DEBUG=1: all shadow::*, watch::*, pipeline::library::*, descriptor::*, and texback::* tests pass (209 passed, 0 D3D12 debug errors; only the untouched upstream WARP atomic race at indirect.rs:1901 tripped in default run), --all-features targeted lazy_and_simd_tests (20/20, 2 ignored), library::tests (7/7), merge_tests (5/5), relay_tests (5/5) all pass, and cargo clippy is clean on modified code.
**@⁠Vladimir-Human** on GitHub · 2026-11-25 23:14 UTC · [original](https://github.com/fxceless/victory-fork/pull/1178#issuecomment-7177300017) Merged `origin/main` (`6d20eed`, including `#1014` 64-thread card hash, `VICTORY_CARD_CHANGED_LIST`, and `VICTORY_ABSENT_ONCE`/`VICTORY_ABSENT_MS=told`) monotonically in `2255d89`: - Integrated `take_dirty()` / `CHANGED` list cleanly with lockfree `has_dirty`/`has_sent` tracking inside both `take_dirty()` and `Shadow::card_changed()`, and populated `Card.me` in `make_test_shadow`. - Aligned the `AdapterKey` summary in the PR description to match `pipeline/library.rs` (`vendor, device, revision, software` — omitting subsystem ID and driver version intentionally). - Re-verified with `VICTORY_D3D12_DEBUG=1`: all `shadow::*`, `watch::*`, `pipeline::library::*`, `descriptor::*`, and `texback::*` tests pass (`209 passed`, `0` D3D12 debug errors; only the untouched upstream WARP atomic race at `indirect.rs:1901` tripped in default run), `--all-features` targeted `lazy_and_simd_tests` (`20/20`, 2 ignored), `library::tests` (`7/7`), `merge_tests` (`5/5`), `relay_tests` (`5/5`) all pass, and `cargo clippy` is clean on modified code.
Author
Owner

@⁠Vladimir-Human on GitHub · 2026-11-25 23:43 UTC · original

Uncontested --release benchmark on idle i5-13400F / RTX 4070 SUPER at merged head 2255d896 (6d20eed):

  • bench_lazy_copyback (64 MiB carded VRAM): 0% CPU reads 38.590 -> 1.154 ms/frame (33.44x, 0.00 MB/f readback/upload, 0.0 faults/f); 2% sparse CPU reads 37.661 -> 15.106 ms/frame (2.49x, 1.25 MB/f, 20.0 faults/f).
  • bench_shadow_and_rebar: plan_stale 10.7 ns/call; 64 MiB SIMD first+last 0.37 ms (179.6 GB/s); ReBAR GPU_UPLOAD 32 MiB write+SFENCE 3.10 ms (10.8 GB/s).
**@⁠Vladimir-Human** on GitHub · 2026-11-25 23:43 UTC · [original](https://github.com/fxceless/victory-fork/pull/1178#issuecomment-7177963407) Uncontested `--release` benchmark on idle `i5-13400F` / `RTX 4070 SUPER` at merged head `2255d896` (`6d20eed`): - `bench_lazy_copyback` (64 MiB carded VRAM): `0%` CPU reads `38.590 -> 1.154 ms/frame` (**33.44x**, `0.00 MB/f` readback/upload, `0.0` faults/f); `2%` sparse CPU reads `37.661 -> 15.106 ms/frame` (**2.49x**, `1.25 MB/f`, `20.0` faults/f). - `bench_shadow_and_rebar`: `plan_stale` `10.7 ns/call`; 64 MiB SIMD `first+last` `0.37 ms` (**179.6 GB/s**); ReBAR `GPU_UPLOAD` 32 MiB `write+SFENCE` `3.10 ms` (`10.8 GB/s`).
Author
Owner

@⁠Vladimir-Human on GitHub · 2026-11-26 00:24 UTC · original

Merged origin/main (dc4c0fcd, commit b6dd29f) and resolved all conflicts while keeping your new additions intact:

  • watch.rs: preserved VICTORY_LIGHT_REFRESH (PUBLISHED bitset) and guarded publish(...) with !is_lazy_deferred_page(block), cleared PUBLISHED in transition_clean_guard_to_noaccess and before_virtual_free, ordered MAPPING.write() before lazy_begin_remapping_barrier(), and isolated reads_in_place_and_remappings_wait_for_each_other with test_disable_lazy_copyback().
  • host.rs: kept both VICTORY_STEP_INDEX (if step_index() and fallback) branches in stale_under_flights with the Step::GpuWrite has_lazy_resync_under_writes guard, plus lazy_flush_and_hold at entry to copy_fill (VICTORY_FILLS_PLAIN).
  • shadow.rs: updated Shadow::nothing_new for CopiedPages (returning false while lazy pages are active) and isolated test opt-in via #[cfg(test)] lazy_opted_in + non-recycling MEM_DECOMMIT teardown in the lifecycle test so LazyTestGuard never interferes with parallel tests.

Verification on b6dd29f with VICTORY_D3D12_DEBUG=1:

  • cargo test -p victory-gpu -- --skip warp_budget_saturates --skip written_pages_are_reported_to_every_asker: 216 passed, 0 failed (both skipped tests already flake intermittently on clean dc4c0fcd)
  • cargo test -p victory-gpu --all-features -- --skip warp_budget_saturates --skip written_pages_are_reported_to_every_asker: 233 passed, 0 failed
  • cargo test -p victory-gpu shadow::lazy_and_simd_tests: 20 passed, 0 failed
  • cargo test -p victory-gpu watch::tests::written_pages_are_reported_to_every_asker: 1 passed, 0 failed

Diff stat vs origin/main touches only host.rs, pipeline/library.rs, shadow.rs, and watch.rs (all under 512 KiB). Ready for review.

**@⁠Vladimir-Human** on GitHub · 2026-11-26 00:24 UTC · [original](https://github.com/fxceless/victory-fork/pull/1178#issuecomment-7178722889) Merged `origin/main` (`dc4c0fcd`, commit `b6dd29f`) and resolved all conflicts while keeping your new additions intact: - **`watch.rs`**: preserved `VICTORY_LIGHT_REFRESH` (`PUBLISHED` bitset) and guarded `publish(...)` with `!is_lazy_deferred_page(block)`, cleared `PUBLISHED` in `transition_clean_guard_to_noaccess` and `before_virtual_free`, ordered `MAPPING.write()` before `lazy_begin_remapping_barrier()`, and isolated `reads_in_place_and_remappings_wait_for_each_other` with `test_disable_lazy_copyback()`. - **`host.rs`**: kept both `VICTORY_STEP_INDEX` (`if step_index()` and fallback) branches in `stale_under_flights` with the `Step::GpuWrite` `has_lazy_resync_under_writes` guard, plus `lazy_flush_and_hold` at entry to `copy_fill` (`VICTORY_FILLS_PLAIN`). - **`shadow.rs`**: updated `Shadow::nothing_new` for `CopiedPages` (returning `false` while lazy pages are active) and isolated test opt-in via `#[cfg(test)] lazy_opted_in` + non-recycling `MEM_DECOMMIT` teardown in the lifecycle test so `LazyTestGuard` never interferes with parallel tests. Verification on `b6dd29f` with `VICTORY_D3D12_DEBUG=1`: - `cargo test -p victory-gpu -- --skip warp_budget_saturates --skip written_pages_are_reported_to_every_asker`: **216 passed, 0 failed** (both skipped tests already flake intermittently on clean `dc4c0fcd`) - `cargo test -p victory-gpu --all-features -- --skip warp_budget_saturates --skip written_pages_are_reported_to_every_asker`: **233 passed, 0 failed** - `cargo test -p victory-gpu shadow::lazy_and_simd_tests`: **20 passed, 0 failed** - `cargo test -p victory-gpu watch::tests::written_pages_are_reported_to_every_asker`: **1 passed, 0 failed** Diff stat vs `origin/main` touches only `host.rs`, `pipeline/library.rs`, `shadow.rs`, and `watch.rs` (all under 512 KiB). Ready for review.
Author
Owner

@⁠UwUCammie on GitHub · 2026-11-26 01:59 UTC · original

I tested the equal-vector check in merge_piece_avx2 by itself on a 9700X and RX 7900 XT. In the 4 MiB CPU fixture, skipping equal vectors cut the median from 131 to 92 µs for identical buffers and 133 to 72 µs for one changed byte per 4 KiB. Dense changes went from 134 to 147 µs. Both paths produced the same title bytes, reference bytes and change flag.

In a four-block first-room run the existing AVX2 merge gave 8.86 FPS (341/38.50 s); skipping equal vectors gave 9.04 FPS (346/38.26 s). The two pair differences were +0.03 and +0.34 FPS. A 30 Hz sample of the room changed 8.66–9.26 times/s across the four checks. An earlier run had identical stills through the measurement and I left it out. This covers just the relay merge in this PR. Fixture, build and measurements

**@⁠UwUCammie** on GitHub · 2026-11-26 01:59 UTC · [original](https://github.com/fxceless/victory-fork/pull/1178#issuecomment-7180354475) I tested the equal-vector check in `merge_piece_avx2` by itself on a 9700X and RX 7900 XT. In the 4 MiB CPU fixture, skipping equal vectors cut the median from 131 to 92 µs for identical buffers and 133 to 72 µs for one changed byte per 4 KiB. Dense changes went from 134 to 147 µs. Both paths produced the same title bytes, reference bytes and change flag. In a four-block first-room run the existing AVX2 merge gave 8.86 FPS (341/38.50 s); skipping equal vectors gave 9.04 FPS (346/38.26 s). The two pair differences were +0.03 and +0.34 FPS. A 30 Hz sample of the room changed 8.66–9.26 times/s across the four checks. An earlier run had identical stills through the measurement and I left it out. This covers just the relay merge in this PR. [Fixture, build and measurements](https://github.com/UwUCammie/victory-amd/blob/9344524/benchmarks/README.md#testing-the-relay-merge-without-the-game)
Author
Owner

@⁠alpz1000 on GitHub · 2026-11-26 04:55 UTC · original

I tested the same Windows diagnostics binary with VICTORY_LAZY_COPYBACK=0 and =1 on an i5-8400, RTX 3060 12 GB (610.88), 32 GB RAM, PCIe 3.0 x16. The binary is a local merge of this PR at b6dd29f onto 988aa41 with our existing Series S compatibility changes. Both runs used separate copies of the same starting save and pipeline library. VICTORY_CARD_BUFFERS_MB=512, VICTORY_CARD_WINDOWS_MB=0, VICTORY_QUEUE2=1, and VICTORY_CARD_FETCH_INFLIGHT=0.

The 64 MiB synthetic benchmark reproduced the gain on the RTX 3060. At 0% CPU reads the result was 63.4 → 2.4 ms/frame. At 2% sparse CPU reads it was 70.6 → 31.0 ms/frame.

Gameplay at the same stationary checkpoint gave a different result. I selected warm windows at 4,250–4,750 draws and less than 1 ms of pipeline waiting. The frame-time calculation includes long frames. Per-component values are medians across the selected window summaries.

Metric Lazy off Lazy on
Frames measured 286 290
FPS 5.09 4.73
p90 frame time 239 ms 252 ms
Reported copy-back volume per frame 35.5 MiB 17.3 MiB
Reported copy-back time per frame 80.0 ms 75.9 ms
Submission preparation per frame 158.4 ms 161.1 ms

The reported copy-back volume halved, with much smaller savings in copy-back time. Overall frame time rose in this pair of runs. The existing copy-back counters do not isolate time spent materializing deferred pages on demand, so this result leaves the cause of the FPS change open.

AI-assisted measurement and write-up.

**@⁠alpz1000** on GitHub · 2026-11-26 04:55 UTC · [original](https://github.com/fxceless/victory-fork/pull/1178#issuecomment-7183020935) I tested the same Windows diagnostics binary with `VICTORY_LAZY_COPYBACK=0` and `=1` on an i5-8400, RTX 3060 12 GB (610.88), 32 GB RAM, PCIe 3.0 x16. The binary is a local merge of this PR at `b6dd29f` onto `988aa41` with our existing Series S compatibility changes. Both runs used separate copies of the same starting save and pipeline library. `VICTORY_CARD_BUFFERS_MB=512`, `VICTORY_CARD_WINDOWS_MB=0`, `VICTORY_QUEUE2=1`, and `VICTORY_CARD_FETCH_INFLIGHT=0`. The 64 MiB synthetic benchmark reproduced the gain on the RTX 3060. At 0% CPU reads the result was 63.4 → 2.4 ms/frame. At 2% sparse CPU reads it was 70.6 → 31.0 ms/frame. Gameplay at the same stationary checkpoint gave a different result. I selected warm windows at 4,250–4,750 draws and less than 1 ms of pipeline waiting. The frame-time calculation includes long frames. Per-component values are medians across the selected window summaries. | Metric | Lazy off | Lazy on | |---|---:|---:| | Frames measured | 286 | 290 | | FPS | 5.09 | 4.73 | | p90 frame time | 239 ms | 252 ms | | Reported copy-back volume per frame | 35.5 MiB | 17.3 MiB | | Reported copy-back time per frame | 80.0 ms | 75.9 ms | | Submission preparation per frame | 158.4 ms | 161.1 ms | The reported copy-back volume halved, with much smaller savings in copy-back time. Overall frame time rose in this pair of runs. The existing copy-back counters do not isolate time spent materializing deferred pages on demand, so this result leaves the cause of the FPS change open. AI-assisted measurement and write-up.
github-bot force-pushed github-bot/gh-1178 from b6dd29fd4a to cc870b0e2b 2026-11-26 11:20:40 +00:00 Compare
Author
Owner

@⁠UwUCammie on GitHub · 2026-11-26 09:41 UTC · original

I tried this on an RX 7900 XT (RADV 26.3.1, Wine 11.22, vkd3d-proton 3.1). The 64 MiB fixture went from 37.606 to 1.296 ms per iteration with no CPU reads. When the CPU touched 20 pages, it went from 37.257 to 2.867 ms and transferred 1.25 MiB each way instead of 64.

The first game replay exposed a relay panic when it applied a flushed baseline to a partially initialized shared-buffer snapshot. Vladimir-Human/victory-fork#2 fixes both readers and a stale-byte case in the parallel scan. All 16 hardware checks pass in 0.40 s with the Wine test fix.

With both fixes and a 24 ms pipeline wait, eager copy-back reached the first room at 7.72 FPS over 32.25 s. The lazy replay ended on a separate unhandled write at 39.8 s, before reaching the room. The launcher returned zero in both crash cases. I don’t have a gameplay speedup to report yet. Settings, counters and source

**@⁠UwUCammie** on GitHub · 2026-11-26 09:41 UTC · [original](https://github.com/fxceless/victory-fork/pull/1178#issuecomment-7188334652) I tried this on an RX 7900 XT (RADV 26.3.1, Wine 11.22, vkd3d-proton 3.1). The 64 MiB fixture went from 37.606 to 1.296 ms per iteration with no CPU reads. When the CPU touched 20 pages, it went from 37.257 to 2.867 ms and transferred 1.25 MiB each way instead of 64. The first game replay exposed a relay panic when it applied a flushed baseline to a partially initialized shared-buffer snapshot. [Vladimir-Human/victory-fork#2](https://github.com/Vladimir-Human/victory-fork/pull/2) fixes both readers and a stale-byte case in the parallel scan. All 16 hardware checks pass in 0.40 s with [the Wine test fix](https://github.com/Vladimir-Human/victory-fork/pull/1). With both fixes and a 24 ms pipeline wait, eager copy-back reached the first room at 7.72 FPS over 32.25 s. The lazy replay ended on a separate unhandled write at 39.8 s, before reaching the room. The launcher returned zero in both crash cases. I don’t have a gameplay speedup to report yet. [Settings, counters and source](https://github.com/UwUCammie/victory-amd/blob/c6ae216/benchmarks/README.md#deferring-buffer-copy-back-on-the-rx-7900-xt)
Author
Owner

@⁠Vladimir-Human on GitHub · 2026-11-26 10:16 UTC · original

Rebased cleanly onto main (f6a09d3b) and pushed lazy copy-back v2 (04575a0 + 226e3c5), preserving the validated AVX2 equal-vector fast path in merge_piece_avx2 (@UwUCammie), CopiedPages O(dirty) tracking, ReBAR WC helpers, and AdapterKey PSO cache isolation.

Root Causes of the Live Gameplay Slip (@alpz1000)

Profiling and tracing VICTORY_LAZY_COPYBACK=1 against the #1169 access profile (0.1–0.3% CPU reads, majority internal layer reads) isolated four bottlenecks that ate the ~18 MiB/frame copy-back savings in v1:

  1. Internal layer reads caused destructive VEH/resync ping-pong & global lock contention: host::read_into, host::copy_mapped (non-title destination), host::copy_fill, and overlapping Shadow::update_free called lazy_flush_and_hold, taking LAZY_TABLE twice per read and pulling deferred pages back through LAZY_RESYNC.
    • Fix: Added lock-free striped LazyAccessHold (LAZY_HOLD_STRIPES[1024]) + lazy_read_bypass so internal layer reads service deferred pages straight from the GPU/shadow backing without unarming PAGE_NOACCESS or triggering VEH faults.
  2. Per-4 KiB page VirtualProtect syscalls & TLB shootdowns: Arming/disarming deferred ranges called VirtualQuery + VirtualProtect + locked LAZY_GPU per page.
    • Fix: Coalesced VirtualProtect across contiguous runs (clipped to uniform VirtualQuery regions in both watch::transition_clean_guards_run_to_noaccess and shadow::protect_private_run_noaccess so adjacent pages with differing protection are never clobbered) and batched inplace::single_view_pages_batch + watch::was_written_since_batch.
  3. Direct-queue stalls + per-page section view remapping during materialization: LazyReadback submitted single-page copies on host.queue (blocking behind queued draws) and mapped/unmapped each section page per fault.
    • Fix: Moved LazyReadback onto a dedicated D3D12_COMMAND_LIST_TYPE_COPY queue with a 4 MiB batched readback buffer, lock-free cross-queue Host::fence synchronization (queue.Wait for carded shadows, fence wait for non-carded only when in flight — zero wait when idle), and persistent OWN mapping reuse (inplace::write_section_own).
  4. Light-refresh & watch::guard_at fast paths disabled while pages were deferred: Shadow::nothing_new bailed out whenever deferred_count != 0, and watch::guard_at probed LAZY_TABLE per block.
    • Fix: Added watch::nothing_new_with_lazy so VICTORY_LIGHT_REFRESH stays active with deferred pages, and replaced per-block locking in watch::guard_at with a single range query (O(clean + lazy)).

New Per-Frame framelog Telemetry (@alpz1000)

Added the requested per-frame counters to framelog.rs (printed whenever non-zero so steady-state logs stay clean when lazy copy-back is inactive):

  • lazy_deferred_pages
  • lazy_veh_faults
  • lazy_self_bypass_hits
  • lazy_materialize_ms
  • lazy_protect_ms

Verification & Benchmarks (226e3c5)

  • cargo run -p xtask -- policy: asset policy: 221 files ok (split lazy_and_simd_tests into shadow_lazy_tests.rs)
  • cargo clippy -p victory-gpu --all-targets -- -D warnings -A deprecated (default & --all-features): 0 warnings in touched files
  • VICTORY_D3D12_DEBUG=1 cargo test -p victory-gpu: 240 passed; 0 failed; 8 ignored (0 D3D12 debug errors)
  • VICTORY_D3D12_DEBUG=1 cargo test -p victory-gpu --all-features shadow::lazy_and_simd_tests: 23 passed; 0 failed; 2 ignored (includes zero-self-fault + coalesced-protect regression, async cross-queue fence sync regression, and mixed-protection non-clobbering regression)
  • --release bench_lazy_copyback (64 MiB GPU-written carded VRAM, 1,024 pages/frame, 30 frames):
Scenario Eager Lazy v2 Speedup Telemetry (per frame)
0% CPU reads 42.953 ms/f 1.510 ms/f 28.44x rb 0.00 MB, def 1024, veh 0.0, 0.0 vp
0.3% CPU + 10% layer reads (100 read_into/f) 43.849 ms/f 9.400 ms/f 4.67x rb 0.19 MB, def 1024, veh 3.0, bypass 100.0, mat 6.70 ms, prot 0.02 ms (6.0 vp)
2% sparse CPU reads 44.558 ms/f 6.378 ms/f 6.99x rb 1.25 MB, def 1024, veh 20.0, mat 2.19 ms, prot 0.09 ms (40.0 vp)

Ready for a fresh live re-test (@alpz1000) — the new framelog fields will immediately show whether any remaining time is in lazy_veh_faults, lazy_materialize_ms, or lazy_protect_ms.

**@⁠Vladimir-Human** on GitHub · 2026-11-26 10:16 UTC · [original](https://github.com/fxceless/victory-fork/pull/1178#issuecomment-7189142858) Rebased cleanly onto `main` (`f6a09d3b`) and pushed lazy copy-back **v2** (`04575a0` + `226e3c5`), preserving the validated AVX2 equal-vector fast path in `merge_piece_avx2` (`@UwUCammie`), `CopiedPages` O(dirty) tracking, ReBAR WC helpers, and `AdapterKey` PSO cache isolation. ### Root Causes of the Live Gameplay Slip (`@alpz1000`) Profiling and tracing `VICTORY_LAZY_COPYBACK=1` against the `#1169` access profile (0.1–0.3% CPU reads, majority internal layer reads) isolated four bottlenecks that ate the ~18 MiB/frame copy-back savings in v1: 1. **Internal layer reads caused destructive VEH/resync ping-pong & global lock contention**: `host::read_into`, `host::copy_mapped` (non-title destination), `host::copy_fill`, and overlapping `Shadow::update_free` called `lazy_flush_and_hold`, taking `LAZY_TABLE` twice per read and pulling deferred pages back through `LAZY_RESYNC`. - **Fix**: Added lock-free striped `LazyAccessHold` (`LAZY_HOLD_STRIPES[1024]`) + `lazy_read_bypass` so internal layer reads service deferred pages straight from the GPU/shadow backing without unarming `PAGE_NOACCESS` or triggering VEH faults. 2. **Per-4 KiB page `VirtualProtect` syscalls & TLB shootdowns**: Arming/disarming deferred ranges called `VirtualQuery` + `VirtualProtect` + locked `LAZY_GPU` per page. - **Fix**: Coalesced `VirtualProtect` across contiguous runs (clipped to uniform `VirtualQuery` regions in both `watch::transition_clean_guards_run_to_noaccess` and `shadow::protect_private_run_noaccess` so adjacent pages with differing protection are never clobbered) and batched `inplace::single_view_pages_batch` + `watch::was_written_since_batch`. 3. **Direct-queue stalls + per-page section view remapping during materialization**: `LazyReadback` submitted single-page copies on `host.queue` (blocking behind queued draws) and mapped/unmapped each section page per fault. - **Fix**: Moved `LazyReadback` onto a dedicated `D3D12_COMMAND_LIST_TYPE_COPY` queue with a 4 MiB batched readback buffer, lock-free cross-queue `Host::fence` synchronization (`queue.Wait` for carded shadows, fence wait for non-carded only when in flight — zero wait when idle), and persistent `OWN` mapping reuse (`inplace::write_section_own`). 4. **Light-refresh & `watch::guard_at` fast paths disabled while pages were deferred**: `Shadow::nothing_new` bailed out whenever `deferred_count != 0`, and `watch::guard_at` probed `LAZY_TABLE` per block. - **Fix**: Added `watch::nothing_new_with_lazy` so `VICTORY_LIGHT_REFRESH` stays active with deferred pages, and replaced per-block locking in `watch::guard_at` with a single range query (`O(clean + lazy)`). ### New Per-Frame `framelog` Telemetry (`@alpz1000`) Added the requested per-frame counters to `framelog.rs` (printed whenever non-zero so steady-state logs stay clean when lazy copy-back is inactive): - `lazy_deferred_pages` - `lazy_veh_faults` - `lazy_self_bypass_hits` - `lazy_materialize_ms` - `lazy_protect_ms` ### Verification & Benchmarks (`226e3c5`) - `cargo run -p xtask -- policy`: `asset policy: 221 files ok` (split `lazy_and_simd_tests` into `shadow_lazy_tests.rs`) - `cargo clippy -p victory-gpu --all-targets -- -D warnings -A deprecated` (default & `--all-features`): 0 warnings in touched files - `VICTORY_D3D12_DEBUG=1 cargo test -p victory-gpu`: **240 passed; 0 failed; 8 ignored** (0 D3D12 debug errors) - `VICTORY_D3D12_DEBUG=1 cargo test -p victory-gpu --all-features shadow::lazy_and_simd_tests`: **23 passed; 0 failed; 2 ignored** (includes zero-self-fault + coalesced-protect regression, async cross-queue fence sync regression, and mixed-protection non-clobbering regression) - `--release` `bench_lazy_copyback` (64 MiB GPU-written carded VRAM, 1,024 pages/frame, 30 frames): | Scenario | Eager | Lazy v2 | Speedup | Telemetry (per frame) | | --- | ---: | ---: | ---: | --- | | 0% CPU reads | 42.953 ms/f | **1.510 ms/f** | **28.44x** | `rb 0.00 MB`, `def 1024`, `veh 0.0`, `0.0 vp` | | 0.3% CPU + 10% layer reads (100 `read_into`/f) | 43.849 ms/f | **9.400 ms/f** | **4.67x** | `rb 0.19 MB`, `def 1024`, `veh 3.0`, `bypass 100.0`, `mat 6.70 ms`, `prot 0.02 ms` (`6.0 vp`) | | 2% sparse CPU reads | 44.558 ms/f | **6.378 ms/f** | **6.99x** | `rb 1.25 MB`, `def 1024`, `veh 20.0`, `mat 2.19 ms`, `prot 0.09 ms` (`40.0 vp`) | Ready for a fresh live re-test (`@alpz1000`) — the new `framelog` fields will immediately show whether any remaining time is in `lazy_veh_faults`, `lazy_materialize_ms`, or `lazy_protect_ms`.
Author
Owner

@⁠Vladimir-Human on GitHub · 2026-11-26 11:00 UTC · original

Rebased cleanly onto latest main (06702fe) -> 8f0997a + cc870b0 (preserving 06702fe's flight-room, near_writes, dispatch-spread, and refresh-counter changes alongside lazy copy-back v2, Shadow::unchanged_known adapted to CopiedPages, and tightened MEM_PRIVATE copy_nonoverlapping before clock read in unprotect_and_write_{page,complement}).

Re-verified on cc870b0:

  • cargo run -p xtask -- policy: asset policy: 221 files ok
  • cargo clippy -p victory-gpu --all-targets -- -D warnings -A deprecated (default & --all-features): 0 warnings in touched files
  • VICTORY_D3D12_DEBUG=1 cargo test -p victory-gpu -- --test-threads=1: 241 passed; 0 failed; 8 ignored (0 D3D12 debug errors)
  • VICTORY_D3D12_DEBUG=1 cargo test -p victory-gpu --all-features shadow::lazy_and_simd_tests -- --test-threads=1: 23 passed; 0 failed; 2 ignored (0 D3D12 debug errors)
**@⁠Vladimir-Human** on GitHub · 2026-11-26 11:00 UTC · [original](https://github.com/fxceless/victory-fork/pull/1178#issuecomment-7190123741) Rebased cleanly onto latest `main` (`06702fe`) -> `8f0997a` + `cc870b0` (preserving `06702fe`'s flight-room, `near_writes`, dispatch-spread, and refresh-counter changes alongside lazy copy-back v2, `Shadow::unchanged_known` adapted to `CopiedPages`, and tightened `MEM_PRIVATE` `copy_nonoverlapping` before clock read in `unprotect_and_write_{page,complement}`). Re-verified on `cc870b0`: - `cargo run -p xtask -- policy`: `asset policy: 221 files ok` - `cargo clippy -p victory-gpu --all-targets -- -D warnings -A deprecated` (default & `--all-features`): 0 warnings in touched files - `VICTORY_D3D12_DEBUG=1 cargo test -p victory-gpu -- --test-threads=1`: **241 passed; 0 failed; 8 ignored** (0 D3D12 debug errors) - `VICTORY_D3D12_DEBUG=1 cargo test -p victory-gpu --all-features shadow::lazy_and_simd_tests -- --test-threads=1`: **23 passed; 0 failed; 2 ignored** (0 D3D12 debug errors)
github-bot force-pushed github-bot/gh-1178 from cc870b0e2b to d4b563ef0f 2026-11-26 15:02:10 +00:00 Compare
github-bot force-pushed github-bot/gh-1178 from d4b563ef0f to 9f6362ffe5 2026-11-26 16:58:37 +00:00 Compare
Author
Owner

@⁠Vladimir-Human on GitHub · 2026-11-26 18:50 UTC · original

Pushed follow-up c163135 to perf/lazy-copyback-rebar-pso syncing the v2 VEH escape hardening, split-4 KiB batch unprotect fix, and hot-page cooldown / O(1) fast-reject:

  • VEH epoch & rollback handling (watch.rs, shadow.rs): bounded LAZY_TABLE_EPOCH retry in watch::on_fault (MAX_EPOCH_RETRIES = 32 + committed_protect) and LAZY_FLUSH_TOTAL > 0 || LAZY_TABLE_EPOCH > 0 check on both PageAccess::Accessible arms in lazy_on_fault.
  • Split-4 KiB batch flush/release (shadow.rs): kept restore_rw_run strictly for uniform 64 KiB PAGE_NOACCESS runs and routed !restored[i] pages in flush_claimed_batch and lazy_release_range through unprotect_and_write_page / write_section_subregion, avoiding unsafe full-page copies over mixed PAGE_READONLY / split sub-regions.
  • v2 cooldown & coherence (shadow.rs): fetch_max in lazy_mark_hot, u32::MAX - 1 clamp on timed cooldowns, and Acquire check for LAZY_RESYNC before lazy_post_resync_state in lazy_prepare_update / lazy_resync_range.
  • Upgraded regression tests (shadow_lazy_tests.rs) & local verification (VICTORY_D3D12_DEBUG=1 on WARP / unit & GPU-compute harness):
    • cargo clippy -p victory-gpu --all-targets: 0 warnings in touched files.
    • cargo test -p victory-gpu -- --test-threads=1: 254 passed; 0 failed; 8 ignored.
    • cargo test -p victory-gpu --features diagnostics -- --test-threads=1: 273 passed; 0 failed; 9 ignored (plus 3/3 consecutive lazy_copyback diagnostics runs 22 passed; 0 failed; 1 ignored).
**@⁠Vladimir-Human** on GitHub · 2026-11-26 18:50 UTC · [original](https://github.com/fxceless/victory-fork/pull/1178#issuecomment-7200904371) Pushed follow-up `c163135` to `perf/lazy-copyback-rebar-pso` syncing the v2 VEH escape hardening, split-4 KiB batch unprotect fix, and hot-page cooldown / O(1) fast-reject: - **VEH epoch & rollback handling (`watch.rs`, `shadow.rs`)**: bounded `LAZY_TABLE_EPOCH` retry in `watch::on_fault` (`MAX_EPOCH_RETRIES = 32` + `committed_protect`) and `LAZY_FLUSH_TOTAL > 0 || LAZY_TABLE_EPOCH > 0` check on both `PageAccess::Accessible` arms in `lazy_on_fault`. - **Split-4 KiB batch flush/release (`shadow.rs`)**: kept `restore_rw_run` strictly for uniform 64 KiB `PAGE_NOACCESS` runs and routed `!restored[i]` pages in `flush_claimed_batch` and `lazy_release_range` through `unprotect_and_write_page` / `write_section_subregion`, avoiding unsafe full-page copies over mixed `PAGE_READONLY` / split sub-regions. - **v2 cooldown & coherence (`shadow.rs`)**: `fetch_max` in `lazy_mark_hot`, `u32::MAX - 1` clamp on timed cooldowns, and `Acquire` check for `LAZY_RESYNC` before `lazy_post_resync_state` in `lazy_prepare_update` / `lazy_resync_range`. - **Upgraded regression tests (`shadow_lazy_tests.rs`) & local verification** (`VICTORY_D3D12_DEBUG=1` on WARP / unit & GPU-compute harness): - `cargo clippy -p victory-gpu --all-targets`: 0 warnings in touched files. - `cargo test -p victory-gpu -- --test-threads=1`: **254 passed; 0 failed; 8 ignored**. - `cargo test -p victory-gpu --features diagnostics -- --test-threads=1`: **273 passed; 0 failed; 9 ignored** (plus 3/3 consecutive `lazy_copyback` diagnostics runs `22 passed; 0 failed; 1 ignored`).
This pull request has changes conflicting with the target branch.
  • crates/victory-gpu/src/shadow.rs
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/1178/head:github-bot/gh-1178'
git switch 'github-bot/gh-1178'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-1178'
git switch 'github-bot/gh-1178'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-1178'
git switch 'github-bot/gh-1178'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-1178'
git switch 'main'
git merge --squash 'github-bot/gh-1178'
git switch 'main'
git merge --ff-only 'github-bot/gh-1178'
git switch 'main'
git merge 'github-bot/gh-1178'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.