GPU: texture bytes off the runtime's memory are read at each refresh, as buffer copies' are (#2638) #2639

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

@⁠BastienRodz on GitHub · 2026-11-25 17:23 UTC · original
BastienRodz:gpu/texture-untracked-mips → main · +46 −2 · 2 files · 1 commits · open

What's wrong

A tracker leaves pages that touch non-runtime memory untracked, and per 280b150 and watch.rs such parts are "copied whole at each use". Staging::refresh_now asks only Tracked::take for changed pages, and since cc5f961 it detiles only the subresources those pages touch:

ranges.iter().any(|&(f, e)| f - start < b && a < e - start)

A subresource lying wholly in untracked pages is never touched, so it is never uploaded, not even the first time. Before cc5f961, the first refresh read the whole texture. Buffer copies already read untracked parts at each use.

What the fix does

The refresh also takes t.untracked(start, start + size) as candidate ranges, and returns early only when both lists are empty. Subresources found there go through the existing per-subresource hash, so they are uploaded when their bytes change, as a subresource in a page shared with other data is. The whole-changed-page shortcut still uses tracked pages only, and fully tracked textures are unchanged.

Tests

New draw::tests::a_mip_off_the_runtimes_memory_is_uploaded: a two-mip linear texture whose mip 0 fills plain committed memory after a reserved page. Both mips must be uploaded at first, and mip 0 again after the title writes it. It needs a host device but no HLSL.

  • On main (13f91ca) it fails: both mips at first, left: 1, right: 2.
  • With the fix it passes, under Wine 10 with vkd3d-proton 3.1 on llvmpipe. In texture::, watch::, shadow::, bindless::, draw:: and placement::, the same tests fail with and without the change. Those are the ones compiling HLSL with [RootSignature], which Wine's compiler drops.
  • windows-latest run on the fork: https://github.com/BastienRodz/VIctory/actions/runs/45664228006

Not tested

No title run, and no AMD/NVIDIA GPU. 280b150 measured no memory copied whole in boot-to-world runs, so like that commit this is a robustness fix: it matters only for a texture that straddles into memory that is not the runtime's.

Fixes #2638

AI-assisted (Claude Opus 5.5 found it and wrote the fix and test, Claude Code reviewed and verified it). No game data used.

🤖 Generated with Claude Code

**@⁠BastienRodz** on GitHub · 2026-11-25 17:23 UTC · [original](https://github.com/Marvisak/VIctory/pull/2639) `BastienRodz:gpu/texture-untracked-mips` → `main` · +46 −2 · 2 files · 1 commits · open ### What's wrong A tracker leaves pages that touch non-runtime memory untracked, and per 280b150 and `watch.rs` such parts are "copied whole at each use". `Staging::refresh_now` asks only `Tracked::take` for changed pages, and since cc5f961 it detiles only the subresources those pages touch: ```rust ranges.iter().any(|&(f, e)| f - start < b && a < e - start) ``` A subresource lying wholly in untracked pages is never touched, so it is never uploaded, not even the first time. Before cc5f961, the first refresh read the whole texture. Buffer copies already read untracked parts at each use. ### What the fix does The refresh also takes `t.untracked(start, start + size)` as candidate ranges, and returns early only when both lists are empty. Subresources found there go through the existing per-subresource hash, so they are uploaded when their bytes change, as a subresource in a page shared with other data is. The whole-changed-page shortcut still uses tracked pages only, and fully tracked textures are unchanged. ### Tests New `draw::tests::a_mip_off_the_runtimes_memory_is_uploaded`: a two-mip linear texture whose mip 0 fills plain committed memory after a reserved page. Both mips must be uploaded at first, and mip 0 again after the title writes it. It needs a host device but no HLSL. - On `main` (13f91ca) it fails: `both mips at first`, `left: 1`, `right: 2`. - With the fix it passes, under Wine 10 with vkd3d-proton 3.1 on llvmpipe. In `texture::`, `watch::`, `shadow::`, `bindless::`, `draw::` and `placement::`, the same tests fail with and without the change. Those are the ones compiling HLSL with `[RootSignature]`, which Wine's compiler drops. - windows-latest run on the fork: https://github.com/BastienRodz/VIctory/actions/runs/45664228006 ### Not tested No title run, and no AMD/NVIDIA GPU. 280b150 measured no memory copied whole in boot-to-world runs, so like that commit this is a robustness fix: it matters only for a texture that straddles into memory that is not the runtime's. Fixes #2638 AI-assisted (Claude Opus 5.5 found it and wrote the fix and test, Claude Code reviewed and verified it). No game data used. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
What was wrong: a tracker leaves pages that touch memory other than the
runtime's untracked, "copied whole at each use" (280b150), and such a
tracker is never clean. A texture's refresh asked only the tracker's
changed pages (`Tracked::take`) and, since cc5f961, re-detiled only the
subresources those pages touch: a subresource lying wholly in untracked
pages was never touched, so it was not uploaded at all, not even the
first time (before cc5f961 the first refresh read the whole texture).

What changed: the refresh also takes the tracker's untracked parts
(`Tracked::untracked`) as candidates. Subresources in them are read and
their bytes decide by hash, as for a page shared with other data; the
"a whole changed page" shortcut still looks at tracked pages only.

Test: `draw::tests::a_mip_off_the_runtimes_memory_is_uploaded` (a
two-mip linear texture whose mip 0 lies in plain committed memory after a
reserved page: both mips uploaded at first, mip 0 again after a write).
On main it fails: "both mips at first", left 1, right 2.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:10:56 +00:00
Author
Owner

@⁠Bj0rnis on GitHub · 2026-11-25 17:42 UTC · original

Independent Windows 11 hardware + WARP verification of #2639 at 2f98c154 (clean git merge-tree with origin/main 13f91cae, Rust 1.98.1 MSVC):

  • NVIDIA GeForce RTX 5070 Ti (real hardware): cargo test -p victory-gpu --features diagnostics --lib --locked -- --test-threads=1 -> 197 passed, 2 failed, 1 ignored (2.77s; includes the new test, only the 2 pre-existing #1744 NVIDIA 1M view-heap baseline failures also present on main 13f91cae).
  • WARP (VICTORY_D3D12_WARP=1): 199 passed, 0 failed, 1 ignored (1.69s).
  • Clippy: cargo clippy -p victory-gpu --all-targets --all-features --locked -- -D warnings -> 0 warnings.
  • Asset policy: cargo xtask policy -> 184 files ok.

Not tested: live game workload.

AI-assisted test run and summary.

**@⁠Bj0rnis** on GitHub · 2026-11-25 17:42 UTC · [original](https://github.com/Marvisak/VIctory/pull/2639#issuecomment-7169880555) Independent Windows 11 hardware + WARP verification of #2639 at `2f98c154` (clean `git merge-tree` with `origin/main` `13f91cae`, Rust 1.98.1 MSVC): - **NVIDIA GeForce RTX 5070 Ti (real hardware):** `cargo test -p victory-gpu --features diagnostics --lib --locked -- --test-threads=1` -> **197 passed, 2 failed, 1 ignored** (2.77s; includes the new test, only the 2 pre-existing #1744 NVIDIA 1M view-heap baseline failures also present on `main` `13f91cae`). - **WARP (`VICTORY_D3D12_WARP=1`):** **199 passed, 0 failed, 1 ignored** (1.69s). - **Clippy:** `cargo clippy -p victory-gpu --all-targets --all-features --locked -- -D warnings` -> **0 warnings**. - **Asset policy:** `cargo xtask policy` -> **184 files ok**. Not tested: live game workload. AI-assisted test run and summary.
Author
Owner

@⁠kotekompotek on GitHub · 2026-11-25 17:53 UTC · original

Reviewed: the regression test sets up a real reserve/commit split — mip 1's tail in a reserved page, mip 0 in committed-but-untracked memory — and asserts first-upload covers both, re-upload only the changed mip. Exercises exactly the fix (untracked memory read per refresh). CI green.

**@⁠kotekompotek** on GitHub · 2026-11-25 17:53 UTC · [original](https://github.com/Marvisak/VIctory/pull/2639#issuecomment-7170142377) Reviewed: the regression test sets up a real reserve/commit split — mip 1's tail in a reserved page, mip 0 in committed-but-untracked memory — and asserts first-upload covers both, re-upload only the changed mip. Exercises exactly the fix (untracked memory read per refresh). CI green.
Author
Owner

@⁠oni-swr on GitHub · 2026-11-25 17:58 UTC · original

Independent verification of head 2f98c154f7c7764939ff2b7b543d2491afac4dad merged onto origin/main 13f91caee25f2fdf2c062be5f7a27f058e51cbca.

  • Environment: Windows 11 Pro 10.0.26200, rustc 1.98.1 (48a229cea 2026-09-01), -j 4, WARP only (VICTORY_WARP=1, VICTORY_D3D12_WARP=1; d3d10warp 10.0.26100.9818), DXC/DXIL 1.8.2502.11 (Windows SDK 10.0.26100.0 x64 dxil.dll on PATH). No physical GPU device was created by the test runs.
  • Diff: texture.rs (Staging::refresh_now) plus one test in draw.rs; matches #2638 (subresources on untracked pages are now chosen via Tracked::untracked as well as take). Merges cleanly.
  • cargo clippy --locked -p victory-gpu --features diagnostics --all-targets: no warnings.
  • cargo test --locked -p victory-gpu --features diagnostics: 199 passed, 0 failed, 1 ignored (origin/main baseline under WARP: 198 passed, 0 failed, 1 ignored; the delta is the new test).
  • Negative control: kept the new test and reverted the two texture.rs hunks (ranges.is_empty() && loose.is_empty() and .chain(&loose)): a_mip_off_the_runtimes_memory_is_uploaded fails (both mips at first, left != right). So the test really runs on a WARP host rather than returning early at the host() check, and it catches the bug.
  • Found: no bugs. Edge note: the test returns silently when no host device exists, so it only means something where a device (here WARP) is available.

Independent verification by Claude Code (Claude Sonnet 5.5), an AI. No game files, dumps or shader names were used. Each PR head was merged (no conflicts) onto origin/main and run with --locked; clippy used --all-targets.

**@⁠oni-swr** on GitHub · 2026-11-25 17:58 UTC · [original](https://github.com/Marvisak/VIctory/pull/2639#issuecomment-7170253550) **Independent verification** of head `2f98c154f7c7764939ff2b7b543d2491afac4dad` merged onto `origin/main` `13f91caee25f2fdf2c062be5f7a27f058e51cbca`. - Environment: Windows 11 Pro 10.0.26200, rustc 1.98.1 (48a229cea 2026-09-01), `-j 4`, WARP only (`VICTORY_WARP=1`, `VICTORY_D3D12_WARP=1`; d3d10warp 10.0.26100.9818), DXC/DXIL 1.8.2502.11 (Windows SDK 10.0.26100.0 x64 dxil.dll on PATH). No physical GPU device was created by the test runs. - Diff: `texture.rs` (`Staging::refresh_now`) plus one test in `draw.rs`; matches #2638 (subresources on untracked pages are now chosen via `Tracked::untracked` as well as `take`). Merges cleanly. - `cargo clippy --locked -p victory-gpu --features diagnostics --all-targets`: no warnings. - `cargo test --locked -p victory-gpu --features diagnostics`: **199 passed, 0 failed, 1 ignored** (`origin/main` baseline under WARP: 198 passed, 0 failed, 1 ignored; the delta is the new test). - **Negative control:** kept the new test and reverted the two `texture.rs` hunks (`ranges.is_empty() && loose.is_empty()` and `.chain(&loose)`): `a_mip_off_the_runtimes_memory_is_uploaded` **fails** (`both mips at first`, left != right). So the test really runs on a WARP host rather than returning early at the `host()` check, and it catches the bug. - Found: no bugs. Edge note: the test returns silently when no host device exists, so it only means something where a device (here WARP) is available. Independent verification by Claude Code (Claude Sonnet 5.5), an AI. No game files, dumps or shader names were used. Each PR head was merged (no conflicts) onto `origin/main` and run with `--locked`; clippy used `--all-targets`.
Author
Owner

@⁠fuzeofficlal on GitHub · 2026-11-25 18:07 UTC · original

Tested 2f98c154 merged cleanly onto main (13f91ca) on Windows 11 with NVIDIA GeForce RTX 5090 (32.0.16.1656) and D3D12 WARP (--features diagnostics):

  • RTX 5090 (VICTORY_D3D12_WARP=0, --features diagnostics, --test-threads=1): texture::tests 2/2, watch::tests 12/12, draw::tests 12/12 (including a_mip_off_the_runtimes_memory_is_uploaded)
  • WARP (VICTORY_D3D12_WARP=1, --features diagnostics, --test-threads=1): full victory-gpu --lib 199 passed, 0 failed, 1 ignored
  • cargo clippy -p victory-gpu --all-targets -- -D warnings (default and --features diagnostics): clean (0 warnings)

loose untracked ranges feed subresource hashing without triggering the tracked-page unconditional fast path, and watch::track_as keeps dirty_bit = None so clean() never short-circuits — looks solid.

**@⁠fuzeofficlal** on GitHub · 2026-11-25 18:07 UTC · [original](https://github.com/Marvisak/VIctory/pull/2639#issuecomment-7170469137) Tested `2f98c154` merged cleanly onto `main` (`13f91ca`) on Windows 11 with **NVIDIA GeForce RTX 5090** (`32.0.16.1656`) and **D3D12 WARP** (`--features diagnostics`): - RTX 5090 (`VICTORY_D3D12_WARP=0`, `--features diagnostics`, `--test-threads=1`): `texture::tests` **2/2**, `watch::tests` **12/12**, `draw::tests` **12/12** (including `a_mip_off_the_runtimes_memory_is_uploaded`) - WARP (`VICTORY_D3D12_WARP=1`, `--features diagnostics`, `--test-threads=1`): full `victory-gpu --lib` **199 passed, 0 failed, 1 ignored** - `cargo clippy -p victory-gpu --all-targets -- -D warnings` (default and `--features diagnostics`): clean (0 warnings) `loose` untracked ranges feed subresource hashing without triggering the tracked-page unconditional fast path, and `watch::track_as` keeps `dirty_bit = None` so `clean()` never short-circuits — looks solid.
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 23:21 UTC · original · edited 2026-11-26 07:18 UTC

Automated triage for the maintainers.

Same head, verdict unchanged (merge candidate). The agreed rule with #2985 is noted for whichever PR lands second: a subresource that overlaps a loose range takes no row path and is read and hashed whole. CI: passing.


Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 23:21 UTC · [original](https://github.com/Marvisak/VIctory/pull/2639#issuecomment-7177457096) · edited 2026-11-26 07:18 UTC <!-- victory-triage v1 head=2f98c154f7c7764939ff2b7b543d2491afac4dad verdict=merge-candidate at=2026-11-26T07:18:27Z --> Automated triage for the maintainers. Same head, verdict unchanged (merge candidate). The agreed rule with #2985 is noted for whichever PR lands second: a subresource that overlaps a `loose` range takes no row path and is read and hashed whole. CI: passing. --- _Generated by [Claude Code](https://claude.ai/code)_
Author
Owner

@⁠wwwwwwww3333333 on GitHub · 2026-11-26 03:15 UTC · original

Heads-up: #2985 also changes Staging::refresh_now, reading and copying only the rows a changed tracked page touches inside a subresource that owns it. With both merged, a subresource that owns a changed tracked page and also overlaps one of the loose parts added here would take that row path, which looks only at the tracked ranges. The rule I proposed there for whichever lands second: no row path where the subresource overlaps a loose range, so it is read and hashed whole as this PR does.

**@⁠wwwwwwww3333333** on GitHub · 2026-11-26 03:15 UTC · [original](https://github.com/Marvisak/VIctory/pull/2639#issuecomment-7181548964) Heads-up: #2985 also changes `Staging::refresh_now`, reading and copying only the rows a changed tracked page touches inside a subresource that owns it. With both merged, a subresource that owns a changed tracked page and also overlaps one of the `loose` parts added here would take that row path, which looks only at the tracked ranges. The rule I proposed there for whichever lands second: no row path where the subresource overlaps a `loose` range, so it is read and hashed whole as this PR does.
Author
Owner

@⁠BastienRodz on GitHub · 2026-11-26 03:16 UTC · original

Agreed. With both merged, a subresource that overlaps a loose range has bytes no tracked page accounts for, so the row path (tracked ranges only) would miss them. Your rule keeps it correct: no row path where the subresource overlaps a loose range, so it is read and hashed whole, as here.

The two PRs also conflict textually (in draw.rs, where both add tests), so whichever lands second has to be rebased anyway, and the rule goes in with that rebase. If #2985 lands first, I'll add it here; if this one lands first, it's yours to add as you proposed.

**@⁠BastienRodz** on GitHub · 2026-11-26 03:16 UTC · [original](https://github.com/Marvisak/VIctory/pull/2639#issuecomment-7181561777) Agreed. With both merged, a subresource that overlaps a `loose` range has bytes no tracked page accounts for, so the row path (tracked ranges only) would miss them. Your rule keeps it correct: no row path where the subresource overlaps a `loose` range, so it is read and hashed whole, as here. The two PRs also conflict textually (in `draw.rs`, where both add tests), so whichever lands second has to be rebased anyway, and the rule goes in with that rebase. If #2985 lands first, I'll add it here; if this one lands first, it's yours to add as you proposed.
Author
Owner

@⁠Dukestar69 on GitHub · 2026-11-26 05:07 UTC · original · approved these changes

Tested merged onto origin/main (63bcca4) on Windows 11 x64 (NVIDIA GeForce RTX 5090):

  • cargo test -p victory-gpu --lib draw::tests: 21 passed, 0 failed (including new a_mip_off_the_runtimes_memory_is_uploaded).
  • cargo clippy -p victory-gpu --all-targets -- -D warnings: clean.
  • cargo xtask policy: 191 files ok.

Synthetic tests only (no game files used). AI-assisted (Gemini 4 Neon).

**@⁠Dukestar69** on GitHub · 2026-11-26 05:07 UTC · [original](https://github.com/Marvisak/VIctory/pull/2639#pullrequestreview-6068835372) · **approved these changes** Tested merged onto `origin/main` (`63bcca4`) on Windows 11 x64 (NVIDIA GeForce RTX 5090): - `cargo test -p victory-gpu --lib draw::tests`: **21 passed, 0 failed** (including new `a_mip_off_the_runtimes_memory_is_uploaded`). - `cargo clippy -p victory-gpu --all-targets -- -D warnings`: clean. - `cargo xtask policy`: 191 files ok. Synthetic tests only (no game files used). AI-assisted (Gemini 4 Neon).
Author
Owner

@⁠fuzeofficlal on GitHub · 2026-11-26 13:51 UTC · original · approved these changes

Reviewed and verified head 2f98c154f7c7764939ff2b7b543d2491afac4dad cleanly merged onto origin/main (63bcca43) on Windows 11 x64 with NVIDIA GeForce RTX 5090 and D3D12 WARP (VICTORY_D3D12_WARP=1, VICTORY_D3D12_DEBUG=1, Rust 1.98.1).

Code review

  • crates/victory-gpu/src/texture.rs (L571-584): adding let loose = t.untracked(start, start + size) to both the early-exit check (ranges.is_empty() && loose.is_empty()) and the touched subresource overlap filter (ranges.iter().chain(&loose)) brings texture staging in line with Shadow::update_tracked for memory straddling non-runtime pages (#2638).
  • Safety and fast-path checks:
    • watch::track_as leaves dirty_bit = None whenever untracked is non-empty, so t.clean() never short-circuits straddling textures, while fully tracked runtime-memory textures keep dirty_bit = Some(_) and continue taking the O(1) clean() fast path with zero extra reads or uploads.
    • t.untracked(start, start + size) clamps every run to [start, start + size), so f - start / e - start cannot underflow; loose ranges stay out of the tracked whole-page shortcut so subresources on untracked pages are deduplicated via their per-subresource BLAKE3 hash.
    • Note: for a single subresource straddling both a whole tracked page and an untracked page, the initial tracked whole-page shortcut clears last.hashes[i], causing one extra upload on the next unchanged refresh to seed the hash baseline before steady state settles to 0 uploads (sound, no missed writes). The agreed #2985 merge rule (skip row-sliced upload when a subresource overlaps loose) also makes sense for whichever lands second.
  • crates/victory-gpu/src/draw.rs (L2689 on PR head): a_mip_off_the_runtimes_memory_is_uploaded cleanly tests the exact reserved+committed mip boundary.

Verification

  • cargo xtask policy: 191 files ok; cargo clippy --locked -p victory-gpu --all-targets -- -D warnings (default & --all-features): 0 warnings
  • Negative control on origin/main (63bcca43 with only the draw.rs test applied): fails as expected (both mips at first, left: 1, right: 2)
  • draw::tests texture::tests watch::tests shadow::tests bindless::tests (--test-threads=1):
    • RTX 5090 (default): 50 passed, 0 failed
    • RTX 5090 (--features diagnostics, VICTORY_D3D12_DEBUG=1): 50 passed, 0 failed
    • WARP (VICTORY_D3D12_WARP=1, --features diagnostics, VICTORY_D3D12_DEBUG=1): 50 passed, 0 failed
  • Additional boundary probe on both RTX 5090 and WARP (VICTORY_D3D12_DEBUG=1): verified steady-state hash dedup (2→0→1→0 subresources on the 2-mip split), a single 1-mip 128×256 texture straddling a reserved tracked page and plain committed page (1→1→0 steady state, then 1 on writing the untracked half → 0), and a fully write-watched pool texture keeping maybe_changed() == false after first upload, all with 0 D3D12 Debug Layer messages.

Clean, minimal fix; approving.

**@⁠fuzeofficlal** on GitHub · 2026-11-26 13:51 UTC · [original](https://github.com/Marvisak/VIctory/pull/2639#pullrequestreview-6075272260) · **approved these changes** Reviewed and verified head `2f98c154f7c7764939ff2b7b543d2491afac4dad` cleanly merged onto `origin/main` (`63bcca43`) on Windows 11 x64 with **NVIDIA GeForce RTX 5090** and **D3D12 WARP** (`VICTORY_D3D12_WARP=1`, `VICTORY_D3D12_DEBUG=1`, Rust 1.98.1). **Code review** - `crates/victory-gpu/src/texture.rs` (`L571-584`): adding `let loose = t.untracked(start, start + size)` to both the early-exit check (`ranges.is_empty() && loose.is_empty()`) and the `touched` subresource overlap filter (`ranges.iter().chain(&loose)`) brings texture staging in line with `Shadow::update_tracked` for memory straddling non-runtime pages (#2638). - Safety and fast-path checks: - `watch::track_as` leaves `dirty_bit = None` whenever `untracked` is non-empty, so `t.clean()` never short-circuits straddling textures, while fully tracked runtime-memory textures keep `dirty_bit = Some(_)` and continue taking the O(1) `clean()` fast path with zero extra reads or uploads. - `t.untracked(start, start + size)` clamps every run to `[start, start + size)`, so `f - start` / `e - start` cannot underflow; `loose` ranges stay out of the tracked whole-page shortcut so subresources on untracked pages are deduplicated via their per-subresource BLAKE3 hash. - Note: for a single subresource straddling both a whole tracked page and an untracked page, the initial tracked whole-page shortcut clears `last.hashes[i]`, causing one extra upload on the next unchanged refresh to seed the hash baseline before steady state settles to 0 uploads (sound, no missed writes). The agreed #2985 merge rule (skip row-sliced upload when a subresource overlaps `loose`) also makes sense for whichever lands second. - `crates/victory-gpu/src/draw.rs` (`L2689` on PR head): `a_mip_off_the_runtimes_memory_is_uploaded` cleanly tests the exact reserved+committed mip boundary. **Verification** - `cargo xtask policy`: `191 files ok`; `cargo clippy --locked -p victory-gpu --all-targets -- -D warnings` (default & `--all-features`): 0 warnings - Negative control on `origin/main` (`63bcca43` with only the `draw.rs` test applied): fails as expected (`both mips at first`, `left: 1, right: 2`) - `draw::tests texture::tests watch::tests shadow::tests bindless::tests` (`--test-threads=1`): - RTX 5090 (default): **50 passed, 0 failed** - RTX 5090 (`--features diagnostics`, `VICTORY_D3D12_DEBUG=1`): **50 passed, 0 failed** - WARP (`VICTORY_D3D12_WARP=1`, `--features diagnostics`, `VICTORY_D3D12_DEBUG=1`): **50 passed, 0 failed** - Additional boundary probe on both RTX 5090 and WARP (`VICTORY_D3D12_DEBUG=1`): verified steady-state hash dedup (2→0→1→0 subresources on the 2-mip split), a single 1-mip 128×256 texture straddling a reserved tracked page and plain committed page (1→1→0 steady state, then 1 on writing the untracked half → 0), and a fully write-watched pool texture keeping `maybe_changed() == false` after first upload, all with 0 D3D12 Debug Layer messages. Clean, minimal fix; approving.
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

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

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-2639'
git switch 'github-bot/gh-2639'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-2639'
git switch 'github-bot/gh-2639'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-2639'
git switch 'main'
git merge --squash 'github-bot/gh-2639'
git switch 'main'
git merge --ff-only 'github-bot/gh-2639'
git switch 'main'
git merge 'github-bot/gh-2639'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/Marvisak--VIctory!2639
No description provided.