gpu: reclaim dead shadow pages, idle staging blocks, and post-PSO DXIL commit #263

Open
github-bot wants to merge 1 commit from github-bot/gh-263 into main AGit
Owner

@⁠Vladimir-Human on GitHub · 2026-11-27 12:49 UTC · original
Vladimir-Human:perf/ram-trim-reclamation → main · +4014 −281 · 13 files · 1 commits · open

Addresses #212 (sustained host RAM and Windows commit growth during long sessions while GPU VRAM remains available).

Adapted for Vice-Tay's residency, pool, shadow, and pipeline architecture (building on the ram_trim reclamation pattern from fxceless/victory-fork#1286 and integrating cleanly with Vice-Tay's pool.rs 64 MiB STAGING blocks, residency.rs, VICTORY_SNAPSHOT_POOL / VICTORY_WINDOW_BUDGET_MB, Shadow::{placed_copy, land_back, merge_under_writes}, #238's EXACT: RwLock + EXACT_TICK, and pipeline/{known,make}.rs).

Summary of Changes

  1. OS-backed RAM policy & safe MEM_DECOMMIT foundation (crates/victory-gpu/src/ram_trim.rs)

    • Adds HostTier / HostRamStatus (GlobalMemoryStatusEx + K32GetProcessMemoryInfo, 250 ms TTL cache) and TrimPolicy scaling by host RAM tier and memory pressure (< 4 GiB low, < 2 GiB panic).
    • Adds verify_safe_for_decommit (VirtualQuery requiring MEM_PRIVATE && MEM_COMMIT + non-resetting GetWriteWatch(0, ...) probe rejecting MEM_WRITE_WATCH, MEM_MAPPED, and MEM_IMAGE without disturbing dirty bits) and safe_decommit.
    • Adds VmBlock (MEM_RESERVE + 64 KiB MEM_DECOMMIT/MEM_COMMIT) and SnapshotBuffer (Small(Vec<u8>) < 256 KiB / Large(VmBlock) >= 256 KiB) so idle physical commit returns to the OS while preserving virtual address reservations across reuse.
    • Default behavior stays conservative: cold-reference MEM_DECOMMIT of live retained snapshots is strictly opt-in behind VICTORY_RAM_TRIM=1 (decommit_cold_reference_ms: None by default).
  2. Dead shadow page reclamation, promoted snapshot release & ensure_commit safety (shadow.rs, watch.rs)

    • Backs Shadow::before and SnapshotPool with SnapshotBuffer while preserving SnapshotPool's descending capacity ordering, VICTORY_SNAPSHOT_POOL, VICTORY_WINDOW_BUDGET_MB, and RamBand behavior.
    • Guards every Shadow::before read/write path with ensure_commit() (find_all, writing, copy_back_with, relay_merge, merge_under_writes, placed_copy, land_back).
    • Releases idle CPU before snapshots immediately when a shadow is promoted to GPU card memory (card_make_before and copy_back_done).
    • Hooks shadow::title_memory_remapped(at, len) from watch::title_memory_changed (remapped/unmapping) and watch::title_memory_freed (outside GUARDS) to retire wholly contained single-owner idle LOOSE/EXACT shadows (preserving EXACT_TICK monotonicity) and MEM_DECOMMIT overlapping dead snapshot pages under strict pending -> before -> kept lock ordering.
    • Adds opt-in trim_cold_references_at (VICTORY_RAM_TRIM=1 only), pruning dead CARDED entries and guarding against active flights (pending.is_empty() && !snap_pending).
  3. Idle staging, command list, host cache & DXIL/container trimming (pool.rs, host.rs, list.rs, texture.rs, pipeline.rs, pipeline/{host,known,make}.rs, copystat.rs)

    • Tracks emptied_ms on 64 MiB STAGING upload blocks (pool::room_with) and reclaims aged empty blocks above staging_pool_warm_blocks outside the STAGING lock while preserving TEXTURES VRAM logic.
    • Wires TrimPolicy::cached() through host::sweep() (idle-age Spare::trim, CardWork::fetched_ms + trim_card_work_with, HostList::reset shrink + take_idle_caches for oversized indirect_args / idle batch_args, aged idle list eviction in list::let_go_idle_with, oversized texture::READ scratch spike shrink, out-of-lock drops).
    • Releases translated DXIL blobs after PSO compilation (DxilPin, transparently reloading on demand via shader_cache::host_shader), zlib-compresses cold shader container copies (ContainerBlob via existing zlib-rs), caches full_hash and builder_spilled, and logs ram_trim::diagnostics_line() in copystat::log.

Verification (rustc 1.98.1, VICTORY_D3D12_DEBUG=1, --test-threads=1)

  • cargo clippy -p victory-gpu --all-targets --locked -- -D warnings (default & --all-features): 0 warnings
  • cargo run -p xtask --locked -- policy: asset policy: 314 files ok; cargo test -p xtask --locked: 11/11 passed
  • OS commit reduction proof (K32GetProcessMemoryInfo): ram_trim::tests::stress_decommit_recommit_reuse_no_corruption_and_os_commit_drops — 3 consecutive rounds of 256 MiB snapshot decommit/recommit reuse: private commit before=357.8 MiB, after=101.3 MiB, delta=-256.5 MiB every round, 0 byte corruption, 0 D3D12 debug errors.
  • Safety & recommit proof: safety_guard_rejects_write_watch_and_mapped_views verifies non-resetting GetWriteWatch(0, ...) preserves dirty pages and rejects MEM_WRITE_WATCH / MEM_MAPPED; ensure_commit_recommits_across_all_shadow_snapshot_paths exercises placed_copy, find_all, copy_back_with, relay_merge, land_back, writing, merge_under_writes, and copy_back_done after MEM_DECOMMIT.
  • D3D12 Hardware (VICTORY_D3D12_DEBUG=1, --features diagnostics):
    • ram_trim: 13/13 passed
    • shadow::: 66/66 passed (4 ignored)
    • pool::tests (+ prelude_pool): 10/10 passed
    • list::tests: 3/3 passed
    • host::spare: 2/2 passed
    • pipeline::: 38/38 passed (1 ignored)
    • texture::: 8/8 passed (3 ignored)
    • watch::: 52/52 passed (1 ignored)
  • D3D12 Hardware (default features): ram_trim 13/13 passed, shadow:: 66/66 passed (4 ignored)
  • D3D12 WARP (VICTORY_D3D12_WARP=1, VICTORY_D3D12_DEBUG=1, --features diagnostics): ram_trim 13/13 passed, pool::tests 10/10 passed, list::tests 3/3 passed
**@⁠Vladimir-Human** on GitHub · 2026-11-27 12:49 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/263) `Vladimir-Human:perf/ram-trim-reclamation` → `main` · +4014 −281 · 13 files · 1 commits · open Addresses #212 (sustained host RAM and Windows commit growth during long sessions while GPU VRAM remains available). Adapted for `Vice-Tay`'s residency, pool, shadow, and pipeline architecture (building on the `ram_trim` reclamation pattern from `fxceless/victory-fork#1286` and integrating cleanly with `Vice-Tay`'s `pool.rs` 64 MiB `STAGING` blocks, `residency.rs`, `VICTORY_SNAPSHOT_POOL` / `VICTORY_WINDOW_BUDGET_MB`, `Shadow::{placed_copy, land_back, merge_under_writes}`, `#238`'s `EXACT: RwLock` + `EXACT_TICK`, and `pipeline/{known,make}.rs`). ### Summary of Changes 1. **OS-backed RAM policy & safe `MEM_DECOMMIT` foundation (`crates/victory-gpu/src/ram_trim.rs`)** - Adds `HostTier` / `HostRamStatus` (`GlobalMemoryStatusEx` + `K32GetProcessMemoryInfo`, 250 ms TTL cache) and `TrimPolicy` scaling by host RAM tier and memory pressure (`< 4 GiB` low, `< 2 GiB` panic). - Adds `verify_safe_for_decommit` (`VirtualQuery` requiring `MEM_PRIVATE && MEM_COMMIT` + non-resetting `GetWriteWatch(0, ...)` probe rejecting `MEM_WRITE_WATCH`, `MEM_MAPPED`, and `MEM_IMAGE` without disturbing dirty bits) and `safe_decommit`. - Adds `VmBlock` (`MEM_RESERVE` + 64 KiB `MEM_DECOMMIT`/`MEM_COMMIT`) and `SnapshotBuffer` (`Small(Vec<u8>)` `< 256 KiB` / `Large(VmBlock)` `>= 256 KiB`) so idle physical commit returns to the OS while preserving virtual address reservations across reuse. - Default behavior stays conservative: cold-reference `MEM_DECOMMIT` of live retained snapshots is strictly opt-in behind `VICTORY_RAM_TRIM=1` (`decommit_cold_reference_ms: None` by default). 2. **Dead shadow page reclamation, promoted snapshot release & `ensure_commit` safety (`shadow.rs`, `watch.rs`)** - Backs `Shadow::before` and `SnapshotPool` with `SnapshotBuffer` while preserving `SnapshotPool`'s descending capacity ordering, `VICTORY_SNAPSHOT_POOL`, `VICTORY_WINDOW_BUDGET_MB`, and `RamBand` behavior. - Guards every `Shadow::before` read/write path with `ensure_commit()` (`find_all`, `writing`, `copy_back_with`, `relay_merge`, `merge_under_writes`, `placed_copy`, `land_back`). - Releases idle CPU `before` snapshots immediately when a shadow is promoted to GPU card memory (`card_make_before` and `copy_back_done`). - Hooks `shadow::title_memory_remapped(at, len)` from `watch::title_memory_changed` (`remapped`/`unmapping`) and `watch::title_memory_freed` (outside `GUARDS`) to retire wholly contained single-owner idle `LOOSE`/`EXACT` shadows (preserving `EXACT_TICK` monotonicity) and `MEM_DECOMMIT` overlapping dead snapshot pages under strict `pending -> before -> kept` lock ordering. - Adds opt-in `trim_cold_references_at` (`VICTORY_RAM_TRIM=1` only), pruning dead `CARDED` entries and guarding against active flights (`pending.is_empty() && !snap_pending`). 3. **Idle staging, command list, host cache & DXIL/container trimming (`pool.rs`, `host.rs`, `list.rs`, `texture.rs`, `pipeline.rs`, `pipeline/{host,known,make}.rs`, `copystat.rs`)** - Tracks `emptied_ms` on 64 MiB `STAGING` upload blocks (`pool::room_with`) and reclaims aged empty blocks above `staging_pool_warm_blocks` outside the `STAGING` lock while preserving `TEXTURES` VRAM logic. - Wires `TrimPolicy::cached()` through `host::sweep()` (idle-age `Spare::trim`, `CardWork::fetched_ms` + `trim_card_work_with`, `HostList::reset` shrink + `take_idle_caches` for oversized `indirect_args` / idle `batch_args`, aged idle list eviction in `list::let_go_idle_with`, oversized `texture::READ` scratch spike shrink, out-of-lock drops). - Releases translated DXIL blobs after PSO compilation (`DxilPin`, transparently reloading on demand via `shader_cache::host_shader`), zlib-compresses cold shader container copies (`ContainerBlob` via existing `zlib-rs`), caches `full_hash` and `builder_spilled`, and logs `ram_trim::diagnostics_line()` in `copystat::log`. ### Verification (`rustc 1.98.1`, `VICTORY_D3D12_DEBUG=1`, `--test-threads=1`) - `cargo clippy -p victory-gpu --all-targets --locked -- -D warnings` (default & `--all-features`): **0 warnings** - `cargo run -p xtask --locked -- policy`: **`asset policy: 314 files ok`**; `cargo test -p xtask --locked`: **11/11 passed** - **OS commit reduction proof (`K32GetProcessMemoryInfo`):** `ram_trim::tests::stress_decommit_recommit_reuse_no_corruption_and_os_commit_drops` — 3 consecutive rounds of 256 MiB snapshot decommit/recommit reuse: `private commit before=357.8 MiB, after=101.3 MiB, delta=-256.5 MiB` every round, 0 byte corruption, 0 D3D12 debug errors. - **Safety & recommit proof:** `safety_guard_rejects_write_watch_and_mapped_views` verifies non-resetting `GetWriteWatch(0, ...)` preserves dirty pages and rejects `MEM_WRITE_WATCH` / `MEM_MAPPED`; `ensure_commit_recommits_across_all_shadow_snapshot_paths` exercises `placed_copy`, `find_all`, `copy_back_with`, `relay_merge`, `land_back`, `writing`, `merge_under_writes`, and `copy_back_done` after `MEM_DECOMMIT`. - **D3D12 Hardware (`VICTORY_D3D12_DEBUG=1`, `--features diagnostics`):** - `ram_trim`: **13/13 passed** - `shadow::`: **66/66 passed** (4 ignored) - `pool::tests` (+ `prelude_pool`): **10/10 passed** - `list::tests`: **3/3 passed** - `host::spare`: **2/2 passed** - `pipeline::`: **38/38 passed** (1 ignored) - `texture::`: **8/8 passed** (3 ignored) - `watch::`: **52/52 passed** (1 ignored) - **D3D12 Hardware (default features):** `ram_trim` **13/13 passed**, `shadow::` **66/66 passed** (4 ignored) - **D3D12 WARP (`VICTORY_D3D12_WARP=1`, `VICTORY_D3D12_DEBUG=1`, `--features diagnostics`):** `ram_trim` **13/13 passed**, `pool::tests` **10/10 passed**, `list::tests` **3/3 passed**
Addresses sustained host RAM and commit growth (#212) while keeping
default behavior conservative and preserving virtual address stability:

- Add `ram_trim.rs` with host-tier/RAM-pressure `TrimPolicy`
  (`GlobalMemoryStatusEx` + `K32GetProcessMemoryInfo`), `VmBlock`
  (`MEM_RESERVE` + 64 KiB `MEM_DECOMMIT`/`MEM_COMMIT`), `SnapshotBuffer`,
  and `verify_safe_for_decommit` (`VirtualQuery(MEM_PRIVATE && MEM_COMMIT)`
  + non-resetting `GetWriteWatch(0, ...)` probe rejecting write-watch and
  mapped/image memory without clearing dirty bits).
- Back `Shadow::before` and `SnapshotPool` with `SnapshotBuffer`, enforce
  `ensure_commit` on every snapshot read/write path (`find_all`, `writing`,
  `copy_back_with`, `relay_merge`, `merge_under_writes`, `placed_copy`,
  `land_back`), release CPU `before` snapshots on promotion to card memory,
  reclaim dead shadow snapshots on `title_memory_remapped`/`unmapping`/
  `freed`, and gate cold-reference `MEM_DECOMMIT` behind opt-in
  `VICTORY_RAM_TRIM=1`.
- Trim aged empty 64 MiB `STAGING` upload blocks (`pool::room_with`),
  cold idle command lists/indirect caches (`list::let_go_idle_with`,
  `HostList::take_idle_caches`), cold `Spare` / `CardWork` caches
  (`host::sweep`), and oversized `texture::READ` spikes.
- Release translated DXIL blobs after PSO compilation (transparently
  reloading from the disk shader cache on demand) and zlib-compress cold
  shader container copies (`pipeline::trim_shaders_with`).
- Add `K32GetProcessMemoryInfo` OS commit-reduction stress tests,
  write-watch/mapped-view decommit safety tests, full `ensure_commit`
  recommit coverage across all shadow snapshot paths, and pool/list/spare/
  shader reclamation unit tests.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 13:00:15 +00:00
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-27 12:53 UTC · original

@⁠Vladimir-Human The snapshot commit, staging blocks and retained DXIL have different lifetimes. I’d measure those three paths independently with the same route. For snapshot trimming, the required check is that a live copy still has its bytes when the next refresh or copy-back uses it.

**@⁠TaynanGT** on GitHub · 2026-11-27 12:53 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/263#issuecomment-7218808448) @⁠Vladimir-Human The snapshot commit, staging blocks and retained DXIL have different lifetimes. I’d measure those three paths independently with the same route. For snapshot trimming, the required check is that a live copy still has its bytes when the next refresh or copy-back uses it.
github-bot force-pushed github-bot/gh-263 from a1d09e3290 to e6aaa43a51 2026-11-27 13:34:51 +00:00 Compare
Author
Owner

@⁠Vladimir-Human on GitHub · 2026-11-27 13:25 UTC · original

@⁠TaynanGT Updated e6aaa43a with independent per-path toggles so each lifetime can be isolated on the same route, plus a dedicated live-copy preservation check:

1. Independent Per-Path Switches (ram_trim.rs::TrimSwitches)

Each path defaults to following VICTORY_RAM_TRIM (on in default-safe / VICTORY_RAM_TRIM=1, off when VICTORY_RAM_TRIM=0), and explicit 0/1 on any per-path variable overrides the master switch:

  • VICTORY_RAM_TRIM_SNAPSHOTS — snapshot VmBlock MEM_DECOMMIT/MEM_RESERVE pool, title_memory_remapped dead-snapshot reclamation, card-promotion CPU before release, and (with VICTORY_RAM_TRIM=1) opt-in cold-reference decommit. When 0, restores baseline Vec<u8> snapshots and keep_largest/keep_smallest pool retention.
  • VICTORY_RAM_TRIM_STAGING — aged empty 64 MiB STAGING upload block reclamation (pool::room_with), idle Spare/CardWork/command-list cache trimming, and oversized texture::READ shrink. When 0, restores baseline pool::room / host::sweep retention.
  • VICTORY_RAM_TRIM_SHADERS — post-PSO DXIL release (DxilPin, disk-cache reload on demand) and cold container zlib compression (pipeline::trim_shaders_with). When 0, both are no-ops.

Same-route A/B isolation examples:

  • Baseline (all three off): VICTORY_RAM_TRIM=0
  • Snapshot commit only (default-safe): VICTORY_RAM_TRIM=0 VICTORY_RAM_TRIM_SNAPSHOTS=1
  • Snapshot commit only (aggressive cold-ref decommit): VICTORY_RAM_TRIM=1 VICTORY_RAM_TRIM_STAGING=0 VICTORY_RAM_TRIM_SHADERS=0
  • Staging blocks only: VICTORY_RAM_TRIM=0 VICTORY_RAM_TRIM_STAGING=1
  • Retained DXIL/containers only: VICTORY_RAM_TRIM=0 VICTORY_RAM_TRIM_SHADERS=1

copystat::log now prints active path states (snapshots=on/off, staging=on/off, shaders=on/off) alongside the per-path counters.

2. Live-Copy Byte Preservation Check

Added shadow::ram_trim_tests::live_copy_retains_exact_bytes_across_snapshot_trim_refresh_and_copy_back (verified on both D3D12 HW and WARP under VICTORY_D3D12_DEBUG=1):

  • CPU-backed live copy (4 MiB): verifies (a) mid-flight aggressive/panic snapshot trimming never disturbs a pending before snapshot before 3-way copy_back_with + relay_merge; (b) after settling and full cold-ref + pool MEM_DECOMMIT to 0 committed bytes, all 4 MiB of the live copy (shadow.data) remain byte-exact; (c) the next write-watch Shadow::update copies only the dirty 4 KiB OS pages (12,288 B, leaving 99.7% unrefreshed bytes intact from the live copy); and (d) the next Shadow::writing + full copy_back_with produces byte-exact 3-way merges with zero false diffs.
  • Carded live copy (2 MiB): verifies Card::staging retains exact bytes across CPU before snapshot reclamation into the next selective 4 KiB write-watch Shadow::update and card_dirty_now().

Also added per_path_switches_isolate_each_lifetime_independently, snapshots_toggle_off_restores_baseline_pool_without_decommit, and disabled-path no-op assertions for trim_staging=false (list::tests) and trim_shaders=false (pipeline::ram_trim_tests).

Re-verified (rustc 1.98.1, VICTORY_D3D12_DEBUG=1, --test-threads=1)

  • clippy -p victory-gpu --all-targets --locked -- -D warnings (default & --all-features): 0 warnings
  • xtask policy (314 files ok) & cargo test -p xtask --locked (11/11)
  • HW --features diagnostics: ram_trim 16/16, shadow:: 68/68 (4 ignored), pool::tests 10/10, pipeline:: 38/38 (1 ignored), list::tests 3/3, host::spare 2/2, texture:: 8/8 (3 ignored)
  • HW default: ram_trim 16/16, shadow:: 68/68 (4 ignored)
  • WARP (VICTORY_D3D12_WARP=1, --features diagnostics): ram_trim 16/16, pool::tests 10/10, pipeline:: 38/38 (1 ignored), list::tests 3/3
**@⁠Vladimir-Human** on GitHub · 2026-11-27 13:25 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/263#issuecomment-7219450120) @⁠TaynanGT Updated `e6aaa43a` with independent per-path toggles so each lifetime can be isolated on the same route, plus a dedicated live-copy preservation check: ### 1. Independent Per-Path Switches (`ram_trim.rs::TrimSwitches`) Each path defaults to following `VICTORY_RAM_TRIM` (on in default-safe / `VICTORY_RAM_TRIM=1`, off when `VICTORY_RAM_TRIM=0`), and explicit `0`/`1` on any per-path variable overrides the master switch: - **`VICTORY_RAM_TRIM_SNAPSHOTS`** — snapshot `VmBlock` `MEM_DECOMMIT`/`MEM_RESERVE` pool, `title_memory_remapped` dead-snapshot reclamation, card-promotion CPU `before` release, and (with `VICTORY_RAM_TRIM=1`) opt-in cold-reference decommit. When `0`, restores baseline `Vec<u8>` snapshots and `keep_largest`/`keep_smallest` pool retention. - **`VICTORY_RAM_TRIM_STAGING`** — aged empty 64 MiB `STAGING` upload block reclamation (`pool::room_with`), idle `Spare`/`CardWork`/command-list cache trimming, and oversized `texture::READ` shrink. When `0`, restores baseline `pool::room` / `host::sweep` retention. - **`VICTORY_RAM_TRIM_SHADERS`** — post-PSO DXIL release (`DxilPin`, disk-cache reload on demand) and cold container zlib compression (`pipeline::trim_shaders_with`). When `0`, both are no-ops. Same-route A/B isolation examples: - Baseline (all three off): `VICTORY_RAM_TRIM=0` - Snapshot commit only (default-safe): `VICTORY_RAM_TRIM=0 VICTORY_RAM_TRIM_SNAPSHOTS=1` - Snapshot commit only (aggressive cold-ref decommit): `VICTORY_RAM_TRIM=1 VICTORY_RAM_TRIM_STAGING=0 VICTORY_RAM_TRIM_SHADERS=0` - Staging blocks only: `VICTORY_RAM_TRIM=0 VICTORY_RAM_TRIM_STAGING=1` - Retained DXIL/containers only: `VICTORY_RAM_TRIM=0 VICTORY_RAM_TRIM_SHADERS=1` `copystat::log` now prints active path states (`snapshots=on/off, staging=on/off, shaders=on/off`) alongside the per-path counters. ### 2. Live-Copy Byte Preservation Check Added `shadow::ram_trim_tests::live_copy_retains_exact_bytes_across_snapshot_trim_refresh_and_copy_back` (verified on both D3D12 HW and WARP under `VICTORY_D3D12_DEBUG=1`): - **CPU-backed live copy (4 MiB):** verifies (a) mid-flight aggressive/panic snapshot trimming never disturbs a pending `before` snapshot before 3-way `copy_back_with` + `relay_merge`; (b) after settling and full cold-ref + pool `MEM_DECOMMIT` to `0` committed bytes, all 4 MiB of the live copy (`shadow.data`) remain byte-exact; (c) the next write-watch `Shadow::update` copies only the dirty 4 KiB OS pages (`12,288 B`, leaving 99.7% unrefreshed bytes intact from the live copy); and (d) the next `Shadow::writing` + full `copy_back_with` produces byte-exact 3-way merges with zero false diffs. - **Carded live copy (2 MiB):** verifies `Card::staging` retains exact bytes across CPU `before` snapshot reclamation into the next selective 4 KiB write-watch `Shadow::update` and `card_dirty_now()`. Also added `per_path_switches_isolate_each_lifetime_independently`, `snapshots_toggle_off_restores_baseline_pool_without_decommit`, and disabled-path no-op assertions for `trim_staging=false` (`list::tests`) and `trim_shaders=false` (`pipeline::ram_trim_tests`). ### Re-verified (`rustc 1.98.1`, `VICTORY_D3D12_DEBUG=1`, `--test-threads=1`) - `clippy -p victory-gpu --all-targets --locked -- -D warnings` (default & `--all-features`): **0 warnings** - `xtask policy` (`314 files ok`) & `cargo test -p xtask --locked` (**11/11**) - HW `--features diagnostics`: `ram_trim` **16/16**, `shadow::` **68/68** (4 ignored), `pool::tests` **10/10**, `pipeline::` **38/38** (1 ignored), `list::tests` **3/3**, `host::spare` **2/2**, `texture::` **8/8** (3 ignored) - HW default: `ram_trim` **16/16**, `shadow::` **68/68** (4 ignored) - WARP (`VICTORY_D3D12_WARP=1`, `--features diagnostics`): `ram_trim` **16/16**, `pool::tests` **10/10**, `pipeline::` **38/38** (1 ignored), `list::tests` **3/3**
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-27 13:37 UTC · original

@⁠Vladimir-Human The per-path switches and the live-copy byte check cover the split we needed. For the same-route comparison, record the active path line alongside private bytes and system commit. That will distinguish the snapshot result from staging blocks or retained shaders.

**@⁠TaynanGT** on GitHub · 2026-11-27 13:37 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/263#issuecomment-7219723372) @⁠Vladimir-Human The per-path switches and the live-copy byte check cover the split we needed. For the same-route comparison, record the active path line alongside private bytes and system commit. That will distinguish the snapshot result from staging blocks or retained shaders.
github-bot force-pushed github-bot/gh-263 from e6aaa43a51 to e7a320163a 2026-11-27 20:18:38 +00:00 Compare
This pull request has changes conflicting with the target branch.
  • crates/victory-gpu/src/pipeline/make.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/263/head:github-bot/gh-263'
git switch 'github-bot/gh-263'

Merge

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