Tests: heap-capped and barrier-less hosts run the GPU tests #2251

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

@⁠kotekompotek on GitHub · 2026-11-25 08:51 UTC · original
kotekompotek:tests/capped-view-heap → main · +32 −3 · 3 files · 3 commits · open

Summary

Three victory-gpu tests fail on a GTX 1050 (SM 6.5) host where they were asserting more than the code guarantees:

  • draw::tests::a_texture_written_in_one_format_reads_in_another_through_a_placed_view — expects one host texture, but this host has no ID3D12Device10 (enhanced barriers), so takes() refuses the placed view and two textures are the correct layout.
  • memory::tests::a_view_made_for_a_paired_copy_takes_the_pair — same root cause: the test assumed format 42/67 pair views share when the host supports castable formats.
  • descriptor::host::tests::a_view_heap_past_its_dynamic_slots_keeps_the_static_ones (heap cap) — the test requested HEAP_VIEWS slots, but this host's shader-visible cap (NVIDIA ~1M, related to #2138) is below HEAP_VIEWS, so the heap falls back; the test now sizes itself against the actual heap.

All three now derive the expectation from the host's real capabilities (Host::enhanced_barriers(), the heap's reported size) instead of assuming them. On a fully capable host nothing changes — same assertions, same values.

Test plan

  • cargo test -p victory-gpu --locked on GTX 1050 / Win10: 143 passed, 2 ignored, 0 failed (was 140 passed, 3 failed)
  • cargo clippy -p victory-gpu --all-targets --locked -- -D warnings — clean
**@⁠kotekompotek** on GitHub · 2026-11-25 08:51 UTC · [original](https://github.com/Marvisak/VIctory/pull/2251) `kotekompotek:tests/capped-view-heap` → `main` · +32 −3 · 3 files · 3 commits · open ## Summary Three `victory-gpu` tests fail on a GTX 1050 (SM 6.5) host where they were asserting more than the code guarantees: - `draw::tests::a_texture_written_in_one_format_reads_in_another_through_a_placed_view` — expects one host texture, but this host has no `ID3D12Device10` (enhanced barriers), so `takes()` refuses the placed view and two textures are the correct layout. - `memory::tests::a_view_made_for_a_paired_copy_takes_the_pair` — same root cause: the test assumed format 42/67 pair views share when the host supports castable formats. - `descriptor::host::tests::a_view_heap_past_its_dynamic_slots_keeps_the_static_ones` (heap cap) — the test requested `HEAP_VIEWS` slots, but this host's shader-visible cap (NVIDIA ~1M, related to #2138) is below `HEAP_VIEWS`, so the heap falls back; the test now sizes itself against the actual heap. All three now derive the expectation from the host's real capabilities (`Host::enhanced_barriers()`, the heap's reported size) instead of assuming them. On a fully capable host nothing changes — same assertions, same values. ## Test plan - `cargo test -p victory-gpu --locked` on GTX 1050 / Win10: **143 passed, 2 ignored, 0 failed** (was 140 passed, 3 failed) - `cargo clippy -p victory-gpu --all-targets --locked -- -D warnings` — clean
Three tests assumed hardware every host has: a view heap reaching
HEAP_VIEWS (NVIDIA caps its shader-visible heaps lower, so pairs are
held dynamic slots and the heap is the smaller dynamic range) and
enhanced-barrier creation (no ID3D12Device10, no castable formats, so
other-family views keep their own texture). They now check what the
host actually gave: the capped heap's own layout, pairs past the
dynamic range only where the heap has room for them, and one host
texture only where the castable path can run.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
ID3D12Device10 present does not mean CreateCommittedResource3 accepts
the list — on a refusal the code clears castable and keeps one texture
per format, which the test then mis-predicts as sharing. Read the
created texture's castable list instead: it is empty for a host without
enhanced barriers or a refused list, and holds the format's family when
the path actually ran.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:59:55 +00:00
The test's expectation only counted the castable list; takes() also
accepts the texture's own format family. Without it the shared case is
expected wrong and the test fails on an RX 6700 XT.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Author
Owner

@⁠Dathinel on GitHub · 2026-11-25 09:00 UTC · original · edited 2026-11-25 09:03 UTC

The three changed tests went from 1/3 on 940d32f to 3/3 on 91e35f7 on my default Windows D3D12 device. With the diagnostics build and VICTORY_D3D12_WARP=1 they passed 3/3 on both revisions.

One remaining assumption in the placed-view test: obtaining ID3D12Device10 does not guarantee that CreateCommittedResource3 accepts this particular resource and format list. In resource::make_texture, a creation error clears the list and falls back to a separate texture. I exercised that branch on a Device10-capable host by injecting E_INVALIDARG at that call. The unmodified call passed; forcing the error made the first sharing assertion fail (actual false, expected true), before the pixel checks. This was fault injection, not a naturally occurring driver failure.

Could the test gate the sharing expectation on successful creation for that specific description, while still checking pixels on the fallback path? That would distinguish the two Device10-present outcomes. AI-assisted synthetic verification.

Readback follow-up on the same head: I adjusted the two expectations for the deliberately injected refusal and checked all 4,096 texels of each synthetic image. Both images matched their expected uniform RGBA on the default Windows device and on WARP, with and without refusal. The first format pair used a copy only under refusal; the BC1 pair used a copy in both runs. This narrows the observed failure to the sharing expectation for these fixtures.

**@⁠Dathinel** on GitHub · 2026-11-25 09:00 UTC · [original](https://github.com/Marvisak/VIctory/pull/2251#issuecomment-7157754320) · edited 2026-11-25 09:03 UTC The three changed tests went from 1/3 on 940d32f to 3/3 on 91e35f7 on my default Windows D3D12 device. With the diagnostics build and VICTORY_D3D12_WARP=1 they passed 3/3 on both revisions. One remaining assumption in the placed-view test: obtaining ID3D12Device10 does not guarantee that CreateCommittedResource3 accepts this particular resource and format list. In resource::make_texture, a creation error clears the list and falls back to a separate texture. I exercised that branch on a Device10-capable host by injecting E_INVALIDARG at that call. The unmodified call passed; forcing the error made the first sharing assertion fail (actual false, expected true), before the pixel checks. This was fault injection, not a naturally occurring driver failure. Could the test gate the sharing expectation on successful creation for that specific description, while still checking pixels on the fallback path? That would distinguish the two Device10-present outcomes. AI-assisted synthetic verification. Readback follow-up on the same head: I adjusted the two expectations for the deliberately injected refusal and checked all 4,096 texels of each synthetic image. Both images matched their expected uniform RGBA on the default Windows device and on WARP, with and without refusal. The first format pair used a copy only under refusal; the BC1 pair used a copy in both runs. This narrows the observed failure to the sharing expectation for these fixtures.
Author
Owner

@⁠MamaLeVrai on GitHub · 2026-11-25 09:13 UTC · original

Test report on real hardware: AMD RX 6950 XT (RDNA2), Windows 11, Rust 1.98.1, with a GPU present, so the hardware-only shader checks run. I merged this PR's head 91e35f79 into main 940d32f in a throwaway tree (no conflict). cargo clippy --workspace --all-targets --locked -- -D warnings: clean; the same with --all-features: clean. cargo test --workspace --locked: 701 passed, 0 failed, 10 ignored, two runs (main alone on the same machine: 701 passed, 0 failed, 10 ignored). The title was not run, so this says nothing about in-game effect. No game data.

AI-assisted (Claude Code); no game data.

**@⁠MamaLeVrai** on GitHub · 2026-11-25 09:13 UTC · [original](https://github.com/Marvisak/VIctory/pull/2251#issuecomment-7158039456) Test report on real hardware: AMD RX 6950 XT (RDNA2), Windows 11, Rust 1.98.1, with a GPU present, so the hardware-only shader checks run. I merged this PR's head `91e35f79` into `main` `940d32f` in a throwaway tree (no conflict). `cargo clippy --workspace --all-targets --locked -- -D warnings`: clean; the same with `--all-features`: clean. `cargo test --workspace --locked`: 701 passed, 0 failed, 10 ignored, two runs (`main` alone on the same machine: 701 passed, 0 failed, 10 ignored). The title was not run, so this says nothing about in-game effect. No game data. AI-assisted (Claude Code); no game data.
Author
Owner

@⁠Calvix2k on GitHub · 2026-11-25 09:40 UTC · original

Your three host-derived expectations cover the placed-view test that #2005 was skipping, so I narrowed #2005 to just the one-time log for the missing D3D12 1.7 (the reason takes() refuses the view without it) and dropped its copy of the test change in 83ee34f. No overlap between the two branches now.

For the heap-cap case: HEAP_VIEWS is above the 1,000,000 shader-visible limit on both NVIDIA and this machine's Windows 10 WARP — deriving the heap size is the right fix; the alternative (a skip) would have hidden which cap was hit.

**@⁠Calvix2k** on GitHub · 2026-11-25 09:40 UTC · [original](https://github.com/Marvisak/VIctory/pull/2251#issuecomment-7158655740) Your three host-derived expectations cover the placed-view test that #2005 was skipping, so I narrowed #2005 to just the one-time log for the missing D3D12 1.7 (the reason `takes()` refuses the view without it) and dropped its copy of the test change in `83ee34f`. No overlap between the two branches now. For the heap-cap case: `HEAP_VIEWS` is above the 1,000,000 shader-visible limit on both NVIDIA and this machine's Windows 10 WARP — deriving the heap size is the right fix; the alternative (a skip) would have hidden which cap was hit.
Author
Owner

@⁠kotekompotek on GitHub · 2026-11-25 09:44 UTC · original

Done, pushed as 519a820: the test no longer predicts sharing from ID3D12Device10 at all — it reads a.castable (the list make_texture clears on a refused CreateCommittedResource3) and expects one host texture only when the list holds a format of the view's family, mirroring takes()'s own check. So a Device10 host that refuses the list gets castable.is_empty() → copy expected → pixel checks still run on the fallback path. Verified locally on the GTX 1050 (no Device10 → empty list → two textures → copy): test passes.

**@⁠kotekompotek** on GitHub · 2026-11-25 09:44 UTC · [original](https://github.com/Marvisak/VIctory/pull/2251#issuecomment-7158735392) Done, pushed as `519a820`: the test no longer predicts sharing from `ID3D12Device10` at all — it reads `a.castable` (the list `make_texture` clears on a refused `CreateCommittedResource3`) and expects one host texture only when the list holds a format of the view's family, mirroring `takes()`'s own check. So a Device10 host that refuses the list gets `castable.is_empty()` → copy expected → pixel checks still run on the fallback path. Verified locally on the GTX 1050 (no Device10 → empty list → two textures → copy): test passes.
Author
Owner

@⁠upipibi on GitHub · 2026-11-25 10:26 UTC · original

Ampere run, from a card that fails the two heap-limit tests on every run of main: RTX 3070 (driver 616.56, Windows 11), 519a820 against main 940d32f.

main 940d32f this PR 519a820
dynamic_slots_are_held_until_released + lists_share_a_table_and_copies_keep_their_views, --test-threads=1 both fail, 3 of 3 runs both pass, 3 of 3 runs
cargo test -p victory-gpu --locked 141 passed, 2 failed (those two), 2 runs 143 passed, 0 failed, 2 runs

No other test changes result here.

AI-assisted (Claude Code). Synthetic tests only.

**@⁠upipibi** on GitHub · 2026-11-25 10:26 UTC · [original](https://github.com/Marvisak/VIctory/pull/2251#issuecomment-7159691517) Ampere run, from a card that fails the two heap-limit tests on every run of `main`: RTX 3070 (driver 616.56, Windows 11), `519a820` against `main` `940d32f`. | | `main` `940d32f` | this PR `519a820` | |---|---|---| | `dynamic_slots_are_held_until_released` + `lists_share_a_table_and_copies_keep_their_views`, `--test-threads=1` | both fail, 3 of 3 runs | both pass, 3 of 3 runs | | `cargo test -p victory-gpu --locked` | 141 passed, 2 failed (those two), 2 runs | **143 passed, 0 failed**, 2 runs | No other test changes result here. AI-assisted (Claude Code). Synthetic tests only.
Author
Owner

@⁠Calvix2k on GitHub · 2026-11-25 10:40 UTC · original

One data point for the heap-capped/castable split, since this test is the one that depends on it: a_texture_written_in_one_format_reads_in_another_through_a_placed_view expects shared = true and no ALIAS_COPIES movement in round 0, which is only true where the device has castable formats. On Windows 10 19045 / RX 7800 XT, the system runtime (no ID3D12Device10) fails it at one host texture (left false), and the same binary with the Agility runtime staged passes — whole suite 147 passed, 0 failed, 2 ignored. So the expectation to derive is "does this device cast formats", not the OS.

**@⁠Calvix2k** on GitHub · 2026-11-25 10:40 UTC · [original](https://github.com/Marvisak/VIctory/pull/2251#issuecomment-7160013487) One data point for the heap-capped/castable split, since this test is the one that depends on it: `a_texture_written_in_one_format_reads_in_another_through_a_placed_view` expects `shared = true` and no `ALIAS_COPIES` movement in round 0, which is only true where the device has castable formats. On Windows 10 19045 / RX 7800 XT, the system runtime (no `ID3D12Device10`) fails it at `one host texture` (left `false`), and the same binary with the Agility runtime staged passes — whole suite 147 passed, 0 failed, 2 ignored. So the expectation to derive is "does this device cast formats", not the OS.
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 13:31 UTC · original · edited 2026-11-26 07:22 UTC

Automated triage for the maintainers.

Merge candidate. fae93c4 makes the one change the last review asked for. In crates/victory-gpu/src/draw.rs, the placed-view test now counts the host texture's own format family (GetDesc().Format, with a SAFETY comment) alongside its castable list. That matches resource.rs takes(), so the expectation follows what the host actually created. The other changes are unchanged and still right: HostHeap::pair_start (test-only) in descriptor/host.rs, and the capped-heap checks in memory.rs and in the heap-size test. All three take their expectations from the host instead of assuming an uncapped heap.

On your reply: confirmed. This is the own-format case from the second look.

CI: check passing; merges cleanly.


Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 13:31 UTC · [original](https://github.com/Marvisak/VIctory/pull/2251#issuecomment-7163898313) · edited 2026-11-26 07:22 UTC <!-- victory-triage v1 head=fae93c4b1ab7cd20dac5aada30255d58790bcb3f verdict=merge-candidate at=2026-11-26T07:22:00Z --> Automated triage for the maintainers. **Merge candidate.** `fae93c4` makes the one change the last review asked for. In `crates/victory-gpu/src/draw.rs`, the placed-view test now counts the host texture's own format family (`GetDesc().Format`, with a `SAFETY` comment) alongside its castable list. That matches `resource.rs` `takes()`, so the expectation follows what the host actually created. The other changes are unchanged and still right: `HostHeap::pair_start` (test-only) in `descriptor/host.rs`, and the capped-heap checks in `memory.rs` and in the heap-size test. All three take their expectations from the host instead of assuming an uncapped heap. On your reply: confirmed. This is the own-format case from the second look. CI: `check` passing; merges cleanly. --- _Generated by [Claude Code](https://claude.ai/code)_
Author
Owner

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

Thanks — that is exactly the expectation the test now derives: castable(d.format) on the created texture, so Win10-without-Device10 sees the split and the same binary on Agility sees the share. Good that #2005 was narrowed.

**@⁠kotekompotek** on GitHub · 2026-11-25 14:11 UTC · [original](https://github.com/Marvisak/VIctory/pull/2251#issuecomment-7164899331) Thanks — that is exactly the expectation the test now derives: `castable(d.format)` on the created texture, so Win10-without-Device10 sees the split and the same binary on Agility sees the share. Good that #2005 was narrowed.
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 22:02 UTC · original

Automated triage for the maintainers, second look (a review against main, with the PR built and tested).

Deriving the expectations from the host is right, and this can be merged after one change. The placed-view condition leaves out the texture's own format, which resource.rs takes() includes; without it, a_texture_written_in_one_format_reads_in_another_through_a_placed_view fails on an RX 6700 XT (3 runs of 3), and with it, it passes. In crates/victory-gpu/src/draw.rs: let own = unsafe { a.texture.GetDesc() }.Format.0 as u32; let shared = shared && (crate::resource::family(own) == crate::resource::family(format) || a.castable.iter().any(|&c| crate::resource::family(c) == crate::resource::family(format))); (with a SAFETY comment).

Push the change and it will be reviewed again. Thank you for the contribution.

**@⁠Marvisak** on GitHub · 2026-11-25 22:02 UTC · [original](https://github.com/Marvisak/VIctory/pull/2251#issuecomment-7175869604) Automated triage for the maintainers, second look (a review against `main`, with the PR built and tested). Deriving the expectations from the host is right, and this can be merged after one change. The placed-view condition leaves out the texture's own format, which `resource.rs` `takes()` includes; without it, `a_texture_written_in_one_format_reads_in_another_through_a_placed_view` fails on an RX 6700 XT (3 runs of 3), and with it, it passes. In `crates/victory-gpu/src/draw.rs`: `let own = unsafe { a.texture.GetDesc() }.Format.0 as u32; let shared = shared && (crate::resource::family(own) == crate::resource::family(format) || a.castable.iter().any(|&c| crate::resource::family(c) == crate::resource::family(format)));` (with a `SAFETY` comment). Push the change and it will be reviewed again. Thank you for the contribution.
Author
Owner

@⁠kotekompotek on GitHub · 2026-11-26 06:30 UTC · original

Done in fae93c4: the placed-view check now mirrors takes() — the host texture's own format family counts alongside the castable list (own from GetDesc, with a SAFETY comment).

**@⁠kotekompotek** on GitHub · 2026-11-26 06:30 UTC · [original](https://github.com/Marvisak/VIctory/pull/2251#issuecomment-7184498544) Done in `fae93c4`: the placed-view check now mirrors `takes()` — the host texture's own format family counts alongside the castable list (`own` from `GetDesc`, with a SAFETY comment).
Author
Owner

@⁠DenRakEiw on GitHub · 2026-11-25 09:02 UTC · original · approved these changes

Verified locally merged onto origin/main (940d32f, Windows 11 x64, NVIDIA GeForce RTX 5090, Rust 1.98.1 MSVC):

  • cargo test -p victory-gpu — 143 passed, 0 failed (2 ignored) on NVIDIA RTX 5090! Directly resolves both NVIDIA 1M view-heap cap test failures on main 940d32f.
  • cargo clippy -p victory-gpu --all-targets — 0 warnings
  • cargo xtask policy — ok (183 files ok)

Clean pair_start() helper letting heap-capped (NVIDIA) and barrier-less hosts run the full victory-gpu test suite green. Looks great.

AI-assisted (Gemini 4 Neon).

**@⁠DenRakEiw** on GitHub · 2026-11-25 09:02 UTC · [original](https://github.com/Marvisak/VIctory/pull/2251#pullrequestreview-6054565585) · **approved these changes** Verified locally merged onto `origin/main` (`940d32f`, Windows 11 x64, NVIDIA GeForce RTX 5090, Rust 1.98.1 MSVC): - `cargo test -p victory-gpu` — **143 passed, 0 failed** (2 ignored) on NVIDIA RTX 5090! Directly resolves both NVIDIA 1M view-heap cap test failures on `main` `940d32f`. - `cargo clippy -p victory-gpu --all-targets` — 0 warnings - `cargo xtask policy` — ok (`183 files ok`) Clean `pair_start()` helper letting heap-capped (NVIDIA) and barrier-less hosts run the full `victory-gpu` test suite green. Looks great. AI-assisted (Gemini 4 Neon).
Author
Owner

@⁠catminou4 on GitHub · 2026-11-25 09:35 UTC · original · reviewed

Tests: heap-capped and barrier-less hosts run the GPU test suite; pair_start() exposes the capped-heap pair range. Static review only: victory-gpu/victory-hle are Windows-only (D3D12/windows-sys); not compiled or tested on this macOS arm64 host. rustc 1.98.1. Test-only hardening, good.

**@⁠catminou4** on GitHub · 2026-11-25 09:35 UTC · [original](https://github.com/Marvisak/VIctory/pull/2251#pullrequestreview-6055072447) · **reviewed** Tests: heap-capped and barrier-less hosts run the GPU test suite; pair_start() exposes the capped-heap pair range. Static review only: victory-gpu/victory-hle are Windows-only (D3D12/windows-sys); not compiled or tested on this macOS arm64 host. rustc 1.98.1. Test-only hardening, good.
Author
Owner

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

Reviewed and verified fae93c4b merged locally onto origin/main (63bcca43) on Windows 11 x64 (NVIDIA GeForce RTX 5090 with its 1M shader-visible view-heap cap and uncapped WARP, Rust 1.98.1 MSVC, Windows SDK 10.0.26100.0 dxil.dll; synthetic tests only, no game files).

Verification

  • git merge-tree against origin/main (63bcca43): clean.
  • cargo xtask policy (PR head): 182 files ok.
  • cargo clippy --locked -p victory-gpu --all-targets -- -D warnings (default and --all-features, PR head and merged): 0 warnings.
  • RTX 5090 (merged, default — full victory-gpu library suite, no --skip): cargo test --locked -p victory-gpu --lib — 231 passed, 0 failed, 1 ignored (resolving both pre-existing NVIDIA 1M view-heap cap test failures on main).
  • RTX 5090 (VICTORY_D3D12_DEBUG=1, --features diagnostics, no --skip): descriptor::host::tests, memory::tests, draw::tests — 43 passed, 0 failed.
  • WARP (VICTORY_D3D12_WARP=1, VICTORY_D3D12_DEBUG=1, --features diagnostics — full victory-gpu library suite): 246 passed, 0 failed, 1 ignored (with the uncapped 2M heap exercising pair_start() == Some(...) and the full pair-slot range assertion).

Review Notes

  • HostHeap::pair_start() (crates/victory-gpu/src/descriptor/host.rs:377-380) combined with the check in crates/victory-gpu/src/memory.rs:675-677 and crates/victory-gpu/src/descriptor/host.rs:1499-1501 is a cleaner solution than skipping lists_share_a_table_and_copies_keep_their_views outright on 1M-capped NVIDIA hosts: the GPU page-table sharing, compute readback, and copy stability assertions still run on RTX 5090, and if a capped-heap sizing fix like #2461 lands (giving pairs_end > count + dynamic), pair_start() automatically re-enables the pair-range check.
  • In crates/victory-gpu/src/draw.rs:2189-2195, deriving shared from the host texture's own GetDesc().Format family together with a.castable matches resource.rs::takes() accurately for both non-Device10 hosts and Device10 drivers that refuse a castable list.
  • Note for maintainers: this overlaps with #2937 (descriptor/host.rs, memory.rs) and #2747 (draw.rs), so only one per area should be merged.

Looks good to merge.

**@⁠fuzeofficlal** on GitHub · 2026-11-26 12:54 UTC · [original](https://github.com/Marvisak/VIctory/pull/2251#pullrequestreview-6074471842) · **approved these changes** Reviewed and verified `fae93c4b` merged locally onto `origin/main` (`63bcca43`) on Windows 11 x64 (NVIDIA GeForce RTX 5090 with its 1M shader-visible view-heap cap and uncapped WARP, Rust `1.98.1` MSVC, Windows SDK `10.0.26100.0` `dxil.dll`; synthetic tests only, no game files). ### Verification - `git merge-tree` against `origin/main` (`63bcca43`): clean. - `cargo xtask policy` (PR head): `182 files ok`. - `cargo clippy --locked -p victory-gpu --all-targets -- -D warnings` (default and `--all-features`, PR head and merged): 0 warnings. - **RTX 5090 (merged, default — full `victory-gpu` library suite, no `--skip`):** `cargo test --locked -p victory-gpu --lib` — **231 passed, 0 failed, 1 ignored** (resolving both pre-existing NVIDIA 1M view-heap cap test failures on `main`). - **RTX 5090 (`VICTORY_D3D12_DEBUG=1`, `--features diagnostics`, no `--skip`):** `descriptor::host::tests`, `memory::tests`, `draw::tests` — **43 passed, 0 failed**. - **WARP (`VICTORY_D3D12_WARP=1`, `VICTORY_D3D12_DEBUG=1`, `--features diagnostics` — full `victory-gpu` library suite):** **246 passed, 0 failed, 1 ignored** (with the uncapped 2M heap exercising `pair_start() == Some(...)` and the full pair-slot range assertion). ### Review Notes - `HostHeap::pair_start()` (`crates/victory-gpu/src/descriptor/host.rs:377-380`) combined with the check in `crates/victory-gpu/src/memory.rs:675-677` and `crates/victory-gpu/src/descriptor/host.rs:1499-1501` is a cleaner solution than skipping `lists_share_a_table_and_copies_keep_their_views` outright on 1M-capped NVIDIA hosts: the GPU page-table sharing, compute readback, and copy stability assertions still run on RTX 5090, and if a capped-heap sizing fix like `#2461` lands (giving `pairs_end > count + dynamic`), `pair_start()` automatically re-enables the pair-range check. - In `crates/victory-gpu/src/draw.rs:2189-2195`, deriving `shared` from the host texture's own `GetDesc().Format` family together with `a.castable` matches `resource.rs::takes()` accurately for both non-`Device10` hosts and `Device10` drivers that refuse a castable list. - Note for maintainers: this overlaps with `#2937` (`descriptor/host.rs`, `memory.rs`) and `#2747` (`draw.rs`), so only one per area should be merged. Looks good to merge.
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/2251/head:github-bot/gh-2251'
git switch 'github-bot/gh-2251'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-2251'
git switch 'github-bot/gh-2251'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-2251'
git switch 'github-bot/gh-2251'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-2251'
git switch 'main'
git merge --squash 'github-bot/gh-2251'
git switch 'main'
git merge --ff-only 'github-bot/gh-2251'
git switch 'main'
git merge 'github-bot/gh-2251'
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!2251
No description provided.