perf(victory-gpu): add fence-safe LRU texture eviction, budget-aware mip clamping, and async reaper #354

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

@⁠Vladimir-Human on GitHub · 2026-11-26 12:14 UTC · original
Vladimir-Human:perf/texture-vram-lru-mipcap → main · +6151 −2056 · 7 files · 3 commits · open

Summary

Ports the verified texture VRAM fence-safe LRU eviction, budget-aware mip-tail clamping, anti-thrash descriptor slot cooldown, and optional async reaper path from fxceless/victory-fork#1289 into third_party/victory/crates/victory-gpu, adapted cleanly atop AnyXboxX's existing VICTORY_VRAM_EVICT, VICTORY_SLOT_EVICT, partial-mip upload_from, 1-lock-per-slot HostHeap::kept / made_too, and 16-shard RETIRED architecture (draw.rs untouched).

What Changed

  1. Fence-safe 2-pass LRU texture eviction (VICTORY_TEXTURE_LRU_EVICT, default on, =0 disables):

    • Tracks last_used_frame, last_fence_value, and idempotent synchronous HostTexture::uncount(), stamped in Host::submit alongside atomic Host::last_signalled.
    • Evicts least-recently-used title-filled (fills && !host_wrote) textures in two TOCTOU-safe passes once last_fence_value <= completed_fence, Arc::strong_count == 1, and COM references == 1 (by default never pinned in any live shader-visible HostHeap::kept slot), respecting a 1,000 ms / 2-frame idle guard (plus an emergency 0 ms / 1-frame fence-safe fallback on OOM or >= 95% DXGI budget pressure) and dropping Staging / D3D12 COM objects strictly outside locks.
    • Preserves VICTORY_VRAM_EVICT (pressure_victims), VICTORY_SLOT_EVICT (slot_evict), and let_go_idle intact while adding last_fence_value <= completed_fence enforcement, TEXTURES liveness protection, and side-effect-free room_lately() (room_raw()).
    • Opt-in cold descriptor-heap slot eviction (VICTORY_TEXTURE_LRU_HEAP_EVICT=1, default off so bindless textures bound once into shader-visible HostHeap slots and read continuously by shaders are never evicted by default): under Host::submitted when no GPU submissions are in flight, unmakes cold shader-visible title slots and untaken dynamic table slots via descriptor::evict_kept_resources / HostHeap::evict_kept:
      • Clears made_too (Release) and made before slot.take() so lock-free mirror readers serialize cleanly.
      • Re-queues evicted non-tabled texture slots via TextureQueue::hold_evicted (240-frame anti-thrash cooldown preserved across texture_slots_room, sorted behind fresh title writes).
      • Registers unmade View::Shader slots in WAITING without premature make_waiting() resurrection; transparent re-upload occurs from console memory if sampled again later.
  2. Budget-aware mip-tail clamping (VICTORY_TEXTURE_AUTO_MIP_CLAMP, default Off):

    • 1 / auto: clamps eligible single-slice non-MSAA read-only 2D host textures to <= 2048 on <= 12 GiB DXGI budgets and <= 1024 on <= 8 GiB budgets or >= 85% effective pressure; <N> (>= 4) sets an explicit max dimension (0 / off disables).
    • Leaves title-facing ResourceDesc, footprint(), and console layouts completely unchanged; enforces mip_levels > 1, base <= first_tail_mip, and BC 4x4 block alignment.
    • Stores base_mip, host_width, and host_height on Staging, composing cleanly with upload_from(..., first) partial-mip staging so BC1–BC7 tail (2x2/1x1) and NPOT mips hit the STAGING cache without rebuilding or downgrading upgraded entries.
    • Shifts SRV MostDetailedMip, MipLevels, and ResourceMinLODClamp for Texture2D and Texture2DArray (adjust_srv_for_base_mip), and upgrades seamlessly via ensure_unclamped + ABA-safe PendingUnclamp deferred SRV rebinding on copy_resource, copy_texture_region, read_back, and resolve.
  3. Async COM retirement (VICTORY_REAPER=1 / alt, default off):

    • Wires "victory-reaper" into retire() and 16-shard bury() (single batched wakeup per bury) to offload D3D12 COM destruction off submission paths while HostTexture::uncount() updates live byte telemetry synchronously.

Verification

Tested on Windows x64 (third_party/victory):

  • cargo run -p xtask -- policy: asset policy: 199 files ok (all touched files < 512 KiB; host.rs = 429.2 KiB).
  • cargo clippy -p victory-gpu --all-targets -- -A deprecated (default & --features diagnostics): 0 warnings in touched files.
  • VICTORY_D3D12_DEBUG=1 VICTORY_D3D12_WARP=1 VICTORY_REAPER=1 --features diagnostics targeted tests (default_lru_eviction_*, mip_clamp_policy_*, in_flight_fenced_*, fence_completed_lru_*, mip_clamped_textures_*, mip_clamp_and_evict_kept_tests 3/3, first_mip_tests 3/3): 11/11 passed on both hardware D3D12 and WARP (0 D3D12 debug errors).
  • VICTORY_D3D12_DEBUG=1 VICTORY_REAPER=1 victory-gpu lib test suites: 192 passed; 0 failed (default) and 205 passed; 0 failed (diagnostics, excluding the 3 pre-existing baseline failures in untouched descriptor::host/indirect).

Source: fxceless/victory-fork#1289

**@⁠Vladimir-Human** on GitHub · 2026-11-26 12:14 UTC · [original](https://github.com/LooperSalty/AnyXboxX/pull/354) `Vladimir-Human:perf/texture-vram-lru-mipcap` → `main` · +6151 −2056 · 7 files · 3 commits · open ## Summary Ports the verified texture VRAM fence-safe LRU eviction, budget-aware mip-tail clamping, anti-thrash descriptor slot cooldown, and optional async reaper path from [fxceless/victory-fork#1289](https://github.com/fxceless/victory-fork/pull/1289) into `third_party/victory/crates/victory-gpu`, adapted cleanly atop `AnyXboxX`'s existing `VICTORY_VRAM_EVICT`, `VICTORY_SLOT_EVICT`, partial-mip `upload_from`, 1-lock-per-slot `HostHeap::kept` / `made_too`, and 16-shard `RETIRED` architecture (`draw.rs` untouched). ### What Changed 1. **Fence-safe 2-pass LRU texture eviction (`VICTORY_TEXTURE_LRU_EVICT`, default on, `=0` disables):** - Tracks `last_used_frame`, `last_fence_value`, and idempotent synchronous `HostTexture::uncount()`, stamped in `Host::submit` alongside atomic `Host::last_signalled`. - Evicts least-recently-used title-filled (`fills && !host_wrote`) textures in two TOCTOU-safe passes once `last_fence_value <= completed_fence`, `Arc::strong_count == 1`, and COM `references == 1` (by default never pinned in any live shader-visible `HostHeap::kept` slot), respecting a `1,000 ms / 2-frame` idle guard (plus an emergency `0 ms / 1-frame` fence-safe fallback on OOM or `>= 95%` DXGI budget pressure) and dropping `Staging` / D3D12 COM objects strictly outside locks. - Preserves `VICTORY_VRAM_EVICT` (`pressure_victims`), `VICTORY_SLOT_EVICT` (`slot_evict`), and `let_go_idle` intact while adding `last_fence_value <= completed_fence` enforcement, `TEXTURES` liveness protection, and side-effect-free `room_lately()` (`room_raw()`). - Opt-in cold descriptor-heap slot eviction (`VICTORY_TEXTURE_LRU_HEAP_EVICT=1`, **default off** so bindless textures bound once into shader-visible `HostHeap` slots and read continuously by shaders are never evicted by default): under `Host::submitted` when no GPU submissions are in flight, unmakes cold shader-visible title slots and untaken dynamic table slots via `descriptor::evict_kept_resources` / `HostHeap::evict_kept`: - Clears `made_too` (`Release`) and `made` before `slot.take()` so lock-free `mirror` readers serialize cleanly. - Re-queues evicted non-tabled texture slots via `TextureQueue::hold_evicted` (`240`-frame anti-thrash cooldown preserved across `texture_slots_room`, sorted behind fresh title writes). - Registers unmade `View::Shader` slots in `WAITING` without premature `make_waiting()` resurrection; transparent re-upload occurs from console memory if sampled again later. 2. **Budget-aware mip-tail clamping (`VICTORY_TEXTURE_AUTO_MIP_CLAMP`, default `Off`):** - `1` / `auto`: clamps eligible single-slice non-MSAA read-only 2D host textures to `<= 2048` on `<= 12 GiB` DXGI budgets and `<= 1024` on `<= 8 GiB` budgets or `>= 85%` effective pressure; `<N>` (`>= 4`) sets an explicit max dimension (`0` / `off` disables). - Leaves title-facing `ResourceDesc`, `footprint()`, and console layouts completely unchanged; enforces `mip_levels > 1`, `base <= first_tail_mip`, and BC `4x4` block alignment. - Stores `base_mip`, `host_width`, and `host_height` on `Staging`, composing cleanly with `upload_from(..., first)` partial-mip staging so BC1–BC7 tail (`2x2`/`1x1`) and NPOT mips hit the `STAGING` cache without rebuilding or downgrading upgraded entries. - Shifts SRV `MostDetailedMip`, `MipLevels`, and `ResourceMinLODClamp` for `Texture2D` and `Texture2DArray` (`adjust_srv_for_base_mip`), and upgrades seamlessly via `ensure_unclamped` + ABA-safe `PendingUnclamp` deferred SRV rebinding on `copy_resource`, `copy_texture_region`, `read_back`, and `resolve`. 3. **Async COM retirement (`VICTORY_REAPER=1` / `alt`, default off):** - Wires `"victory-reaper"` into `retire()` and 16-shard `bury()` (single batched wakeup per `bury`) to offload D3D12 COM destruction off submission paths while `HostTexture::uncount()` updates live byte telemetry synchronously. ### Verification Tested on Windows x64 (`third_party/victory`): - `cargo run -p xtask -- policy`: `asset policy: 199 files ok` (all touched files `< 512 KiB`; `host.rs` = `429.2 KiB`). - `cargo clippy -p victory-gpu --all-targets -- -A deprecated` (default & `--features diagnostics`): `0` warnings in touched files. - `VICTORY_D3D12_DEBUG=1 VICTORY_D3D12_WARP=1 VICTORY_REAPER=1` `--features diagnostics` targeted tests (`default_lru_eviction_*`, `mip_clamp_policy_*`, `in_flight_fenced_*`, `fence_completed_lru_*`, `mip_clamped_textures_*`, `mip_clamp_and_evict_kept_tests` 3/3, `first_mip_tests` 3/3): **11/11 passed** on both hardware D3D12 and WARP (`0` D3D12 debug errors). - `VICTORY_D3D12_DEBUG=1 VICTORY_REAPER=1` `victory-gpu` lib test suites: **192 passed; 0 failed** (default) and **205 passed; 0 failed** (`diagnostics`, excluding the 3 pre-existing baseline failures in untouched `descriptor::host`/`indirect`). Source: [fxceless/victory-fork#1289](https://github.com/fxceless/victory-fork/pull/1289)
Prevent VRAM exhaustion, D3D12 allocation failures, and black texture surfaces on 8-12 GB cards when title-filled textures accumulate in card memory and descriptor heaps:

1. Fence-safe 2-pass LRU texture eviction under DXGI budget pressure (`VICTORY_TEXTURE_LRU_EVICT`, default on, `=0` disables):
   - Track `last_used_frame`, `last_fence_value`, and idempotent synchronous `HostTexture::uncount()`, stamped at submission in `Host::submit` alongside atomic `Host::last_signalled`.
   - Evict least-recently-used title-filled (`fills && !host_wrote`) textures in two TOCTOU-safe passes once `last_fence_value <= completed_fence`, `Arc::strong_count == 1`, and COM `references == 1`, respecting a 1,000 ms / 2-frame idle guard (with an emergency 0 ms / 1-frame fence-safe fallback on OOM or >=95% budget pressure) and dropping staging/COM objects strictly outside locks.
   - Preserve existing `VICTORY_VRAM_EVICT` (`pressure_victims`), `VICTORY_SLOT_EVICT` (`slot_evict`), and `let_go_idle` paths while upgrading all three with `last_fence_value <= completed_fence` checks, safe `TEXTURES` liveness guards, and side-effect-free `room_lately()`.
   - Under `Host::submitted` when no submissions are in flight, unmake cold shader-visible title slots and untaken dynamic table slots via `descriptor::evict_kept_resources` / `HostHeap::evict_kept` (clearing `made_too` with `Release` before `slot.take()`, preserving a 240-frame `hold_evicted` cooldown across `texture_slots_room`, and avoiding premature resurrection in `make_waiting`), transparently re-uploading from console memory on reuse.

2. Budget-aware mip-tail clamping (`VICTORY_TEXTURE_AUTO_MIP_CLAMP`, default off; `1`/`auto` clamps <= 2048 on <= 12 GiB budgets and <= 1024 on <= 8 GiB budgets or >= 85% pressure; numeric >= 4 sets an explicit max dimension):
   - Keep title-facing `ResourceDesc`, `footprint()`, and console layouts unchanged; clamp only eligible single-slice non-MSAA read-only 2D host D3D12 textures (`mip_levels > 1`, `base <= first_tail_mip`, BC 4x4 block alignment enforced).
   - Compose `Staging` mip-clamping (`base_mip`, `host_width`, `host_height`) with `upload_from` partial-mip `first` staging so BC1-BC7 tail (`2x2`/`1x1`) and NPOT mips hit the `STAGING` cache cleanly without downgrading upgraded entries.
   - Shift SRV `MostDetailedMip`, `MipLevels`, and `ResourceMinLODClamp` for `Texture2D` and `Texture2DArray`, and upgrade cleanly via `ensure_unclamped` + ABA-safe deferred SRV rebinding (`PendingUnclamp`) on explicit GPU copies and resolves.

3. Optional async COM retirement (`VICTORY_REAPER=1` / `alt`):
   - Offload post-fence D3D12 COM destruction from `retire()` and 16-shard `bury()` onto a dedicated background `"victory-reaper"` thread while updating live byte counters synchronously via `HostTexture::uncount()`.

Source: fxceless/victory-fork #1289 (54e7592)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 12:16:18 +00:00
Author
Owner

@⁠Skyfrye on GitHub · 2026-11-26 14:22 UTC · original

Test report, for information. I stacked this PR with #381 and #382 and the open #278, #279, #291, #292, #307 and #360–#362, on main at 8ed1109. Setup: RTX 5080, Series X, one 600 s run in the world, VICTORY_INDIRECT_RAW=3, VICTORY_TEXTURE_AUTO_MIP_CLAMP=auto, VICTORY_STAGE_POOL_MB=2048.

Results:

  • The picture was right in screen captures every 15 s, with textures drawn.
  • No exception, no device lost.
  • "The texture queue is refused" was logged 2 times in 10 minutes, against 8 without the auto mip clamp.
  • Median 14.8 fps after the first two minutes, against 12.5.
  • It was one run each, with the machine about 62 % loaded by other work, so take the frame rate as a hint only.

One merge note: with #278 applied, SHADER_HEAPS is a RwLock. The SHADER_HEAPS.lock() in this PR's descriptor.rs (the eviction walk) then has to become heaps_read(). That is the only change I needed to build the two together.

🤖 Generated with Claude Code

**@⁠Skyfrye** on GitHub · 2026-11-26 14:22 UTC · [original](https://github.com/LooperSalty/AnyXboxX/pull/354#issuecomment-7194730135) Test report, for information. I stacked this PR with #381 and #382 and the open #278, #279, #291, #292, #307 and #360–#362, on `main` at `8ed1109`. Setup: RTX 5080, Series X, one 600 s run in the world, `VICTORY_INDIRECT_RAW=3`, `VICTORY_TEXTURE_AUTO_MIP_CLAMP=auto`, `VICTORY_STAGE_POOL_MB=2048`. Results: - The picture was right in screen captures every 15 s, with textures drawn. - No exception, no device lost. - "The texture queue is refused" was logged 2 times in 10 minutes, against 8 without the auto mip clamp. - Median 14.8 fps after the first two minutes, against 12.5. - It was one run each, with the machine about 62 % loaded by other work, so take the frame rate as a hint only. One merge note: with #278 applied, `SHADER_HEAPS` is a `RwLock`. The `SHADER_HEAPS.lock()` in this PR's `descriptor.rs` (the eviction walk) then has to become `heaps_read()`. That is the only change I needed to build the two together. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
HostList::stamp_textures only stamps textures tracked in HostList::states
(barriers), not bindless textures bound once into shader-visible
HostHeap::kept and read continuously by shaders. Passing
llow_heap_unmake: true by default in vict_if_pressured could unmake
live shader-visible HostHeap SRVs onto the 240-frame cooldown under
VRAM pressure.

- Add lru_heap_evict_enabled() gated strictly on opt-in
  VICTORY_TEXTURE_LRU_HEAP_EVICT=1 (default off) and pass it as
  llow_heap_unmake across both passes of vict_if_pressured(), so
  default LRU eviction (VICTORY_TEXTURE_LRU_EVICT=1) only reclaims
  fence-completed idle textures with 
eferences == 1.
- Gate NEED_HEAP_EVICT reads and writes on lru_heap_evict_enabled()
  and gate hosted()'s proactive eviction pass on lru_evict_enabled().
- Add default_lru_eviction_preserves_live_host_heap_textures_until_opt_in
  covering vict_if_pressured() under default off and opt-in =1.

Source: https://github.com/fxceless/victory-fork/pull/1289 (4c18c9e)
Author
Owner

@⁠Vladimir-Human on GitHub · 2026-11-26 14:27 UTC · original · edited 2026-11-26 15:37 UTC

Pushed 6539f20 (synced from fxceless/victory-fork#1289 16a6f8e) fixing a live bindless texture regression isolated during RTX 3080 A/B testing on #1289:

  • Why: HostList::stamp_textures() only stamps textures tracked in HostList::states (barriers), not bindless textures bound once into shader-visible HostHeap::kept and read continuously by shaders. Passing allow_heap_unmake: true by default in evict_if_pressured() could unmake live shader-visible HostHeap SRVs onto the 240-frame cooldown under VRAM pressure.
  • Fix: Gated allow_heap_unmake (across both passes of evict_if_pressured()) and NEED_HEAP_EVICT reads/writes strictly behind opt-in VICTORY_TEXTURE_LRU_HEAP_EVICT=1 (default off), and completed the VICTORY_TEXTURE_LRU_EVICT=0 kill-switch in hosted(). By default (VICTORY_TEXTURE_LRU_EVICT=1), LRU eviction only reclaims fence-completed idle textures with references == 1 (never pinned by any live HostHeap slot), keeping VICTORY_TEXTURE_AUTO_MIP_CLAMP and flush_unclamped_rebinds() unchanged.
  • Verification: Added resource::tests::default_lru_eviction_preserves_live_host_heap_textures_until_opt_in (11/11 targeted tests passing on both hardware D3D12 and WARP with VICTORY_D3D12_DEBUG=1 VICTORY_REAPER=1, 199 files ok in xtask policy, 0 clippy warnings in resource.rs).
**@⁠Vladimir-Human** on GitHub · 2026-11-26 14:27 UTC · [original](https://github.com/LooperSalty/AnyXboxX/pull/354#issuecomment-7194853725) · edited 2026-11-26 15:37 UTC Pushed `6539f20` (synced from [fxceless/victory-fork#1289](https://github.com/fxceless/victory-fork/pull/1289) `16a6f8e`) fixing a live bindless texture regression isolated during RTX 3080 A/B testing on `#1289`: - **Why:** `HostList::stamp_textures()` only stamps textures tracked in `HostList::states` (barriers), not bindless textures bound once into shader-visible `HostHeap::kept` and read continuously by shaders. Passing `allow_heap_unmake: true` by default in `evict_if_pressured()` could unmake live shader-visible `HostHeap` SRVs onto the 240-frame cooldown under VRAM pressure. - **Fix:** Gated `allow_heap_unmake` (across both passes of `evict_if_pressured()`) and `NEED_HEAP_EVICT` reads/writes strictly behind opt-in `VICTORY_TEXTURE_LRU_HEAP_EVICT=1` (**default off**), and completed the `VICTORY_TEXTURE_LRU_EVICT=0` kill-switch in `hosted()`. By default (`VICTORY_TEXTURE_LRU_EVICT=1`), LRU eviction only reclaims fence-completed idle textures with `references == 1` (never pinned by any live `HostHeap` slot), keeping `VICTORY_TEXTURE_AUTO_MIP_CLAMP` and `flush_unclamped_rebinds()` unchanged. - **Verification:** Added `resource::tests::default_lru_eviction_preserves_live_host_heap_textures_until_opt_in` (`11/11` targeted tests passing on both hardware D3D12 and WARP with `VICTORY_D3D12_DEBUG=1 VICTORY_REAPER=1`, `199 files ok` in `xtask policy`, `0` clippy warnings in `resource.rs`).
github-bot force-pushed github-bot/gh-354 from 6539f200fa to 6f18db7a4e 2026-11-26 17:19:56 +00:00 Compare
github-bot force-pushed github-bot/gh-354 from 6f18db7a4e to 7031e42a91 2026-11-26 17:30:58 +00:00 Compare
Author
Owner

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

Updated perf/texture-vram-lru-mipcap to 7031e42 (rebased cleanly onto main ef4791e preserving #396 and #398, mergeable):

Summary

  • Tier 2 (default ON, VICTORY_KEPT_VIEWS_YIELD=1): Tracks keeping slots where keep_views() retained an older copy while a sharper view waits (clearing on keep(), unmake(), or pressure), and invokes yield_kept_views() under VRAM pressure (!room() or want > 0) to free stale superseded copies without touching non-superseded active textures.
  • Tier 3 (opt-in VICTORY_TEXTURE_LRU_HEAP_EVICT=1, OFF by default): Tracks per-slot last_used_frame (mirror(..., for_draw = true) and keep()), drains unpinned refs == 1 victims first, then evicts cold HostHeap slots oldest-last_used_frame first while protecting taken dynamic slots, non-heap COM pins (refs > 1 + kept_refs), and slots within VICTORY_TEXTURE_LRU_HEAP_IDLE_FRAMES (default 120), with a 30-frame recreate cooldown.

Verification (7031e42, VICTORY_D3D12_DEBUG=1 VICTORY_REAPER=1)

  • cargo xtask policy: 214 files ok; clippy (default & diagnostics): 0 new warnings in PR files
  • HW & WARP mip_clamp_and_evict_kept_tests (6/6), resource:: (24/24)
  • Full victory-gpu --lib: default 256/256 + 3 pre-existing main failures (4 ignored), diagnostics 269/269 + same 3 pre-existing main failures (4 ignored)
**@⁠Vladimir-Human** on GitHub · 2026-11-26 17:25 UTC · [original](https://github.com/LooperSalty/AnyXboxX/pull/354#issuecomment-7198995177) Updated `perf/texture-vram-lru-mipcap` to `7031e42` (rebased cleanly onto `main` `ef4791e` preserving `#396` and `#398`, mergeable): ### Summary - **Tier 2 (default ON, `VICTORY_KEPT_VIEWS_YIELD=1`):** Tracks `keeping` slots where `keep_views()` retained an older copy while a sharper view waits (clearing on `keep()`, `unmake()`, or pressure), and invokes `yield_kept_views()` under VRAM pressure (`!room()` or `want > 0`) to free stale superseded copies without touching non-superseded active textures. - **Tier 3 (opt-in `VICTORY_TEXTURE_LRU_HEAP_EVICT=1`, OFF by default):** Tracks per-slot `last_used_frame` (`mirror(..., for_draw = true)` and `keep()`), drains unpinned `refs == 1` victims first, then evicts cold `HostHeap` slots oldest-`last_used_frame` first while protecting taken dynamic slots, non-heap COM pins (`refs > 1 + kept_refs`), and slots within `VICTORY_TEXTURE_LRU_HEAP_IDLE_FRAMES` (default `120`), with a `30`-frame recreate cooldown. ### Verification (`7031e42`, `VICTORY_D3D12_DEBUG=1 VICTORY_REAPER=1`) - `cargo xtask policy`: 214 files ok; `clippy` (default & `diagnostics`): 0 new warnings in PR files - HW & WARP `mip_clamp_and_evict_kept_tests` (`6/6`), `resource::` (`24/24`) - Full `victory-gpu --lib`: default `256/256` + 3 pre-existing `main` failures (`4 ignored`), `diagnostics` `269/269` + same 3 pre-existing `main` failures (`4 ignored`)
github-bot force-pushed github-bot/gh-354 from 7031e42a91 to 5865586f6b 2026-11-26 19:12:25 +00:00 Compare
Author
Owner

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

Rebased onto main (50936c0 -> 5865586, resolving descriptor/host.rs and texture.rs with #395 prepare::take_ready/staged_from/build_staging_untimed).
Verified locally (VICTORY_D3D12_DEBUG=1): cargo xtask policy (215 files ok), cargo clippy -p victory-gpu --features diagnostics --all-targets exit 0; texture:: 8/8, resource:: 24/24, draw:: 5/5 (1 ignored) passed (descriptor:: 36/37 with only upstream spans_say_the_next_start_and_the_lowest_level_viewed failing).

**@⁠Vladimir-Human** on GitHub · 2026-11-26 19:11 UTC · [original](https://github.com/LooperSalty/AnyXboxX/pull/354#issuecomment-7201293619) Rebased onto `main` (`50936c0` -> `5865586`, resolving `descriptor/host.rs` and `texture.rs` with #395 `prepare::take_ready`/`staged_from`/`build_staging_untimed`). Verified locally (`VICTORY_D3D12_DEBUG=1`): `cargo xtask policy` (`215 files ok`), `cargo clippy -p victory-gpu --features diagnostics --all-targets` exit `0`; `texture::` `8/8`, `resource::` `24/24`, `draw::` `5/5` (1 ignored) passed (`descriptor::` `36/37` with only upstream `spans_say_the_next_start_and_the_lowest_level_viewed` failing).
Author
Owner

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

Noting that #409 (37d4686) replaced third_party/victory with the combined avatarmanz + cool_fox base, putting this branch in CONFLICTING right after the 50936c0 rebase.
The clean avatarmanz-lineage version is open at avatarmanz/VIctory-7900XTX#212 (and fxceless/victory-fork#1289); happy to re-port onto 37d4686+ once #409 settles if you want it here.

**@⁠Vladimir-Human** on GitHub · 2026-11-26 19:19 UTC · [original](https://github.com/LooperSalty/AnyXboxX/pull/354#issuecomment-7201451784) Noting that #409 (`37d4686`) replaced `third_party/victory` with the combined `avatarmanz + cool_fox` base, putting this branch in `CONFLICTING` right after the `50936c0` rebase. The clean `avatarmanz`-lineage version is open at `avatarmanz/VIctory-7900XTX#212` (and `fxceless/victory-fork#1289`); happy to re-port onto `37d4686+` once `#409` settles if you want it here.
This pull request has changes conflicting with the target branch.
  • third_party/victory/crates/victory-gpu/src/descriptor/host.rs
  • third_party/victory/crates/victory-gpu/src/frame.rs
  • third_party/victory/crates/victory-gpu/src/host.rs
  • third_party/victory/crates/victory-gpu/src/resource.rs
  • third_party/victory/crates/victory-gpu/src/texture.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/354/head:github-bot/gh-354'
git switch 'github-bot/gh-354'

Merge

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