GPU: retain immutable SRVs for each depth-plane twin #1111

Manually merged
github merged 1 commit from github-bot/gh-1111 into main 2026-11-29 00:27:59 +00:00 AGit
Owner

@⁠ghptc on GitHub · 2026-11-28 13:26 UTC · original
ghptc:review/depth-plane-srvs → main · +112 −87 · 2 files · 1 commits · merged 2026-11-29 00:24 UTC

A command list can reference a depth-plane SRV after its slot has been rewritten. The plane pass uses one descriptor per (slice, mip), so one texture with 257 layers can lap the 256-entry ring before submission. The first draw then samples the last layer. This patch stores an immutable shader-visible SRV heap on the depth twin. Existing command-list references to the twin retain its descriptors through execution.

The regression draws a 4×4 class mask with depth EQUAL into R8_UNORM and maps the result. Only seven texels in layer zero should light. Layers 1–256 contain class 65 throughout.

RTX 5070 readback, layer zero Base with regression only This branch
Single-layer control Seven correct texels Seven correct texels
257 layers recorded on one list Sixteen bytes of 255 [0,255,0,255,255,0,255,0,0,0,255,0,255,0,0,255]

The independent branch also passed the stencil-plane copy control. #1018 addresses when the producer publishes a depth plane on the same command list. This regression exercises descriptor identity and reproduces independently on the common base. The frequency in gameplay remains unknown.

Reproduce

Start in a clean checkout of this PR's head, on Linux with cargo-xwin, Rust and the x64 Windows MSVC SDK/CRT. Measurements used Rust 1.98.1, cargo-xwin 0.24.2, Arch Linux, NVIDIA 620.73.04, Proton Experimental 11.0-20261123b, DXVK v3.1.1-240-g9e57fa0b2c5b495 and VKD3D-Proton 3.2.0 (30b0eb9bc12dc9f). Set PROTON_FILES to Proton's files directory, SYNTHETIC_PREFIX to an initialized test-only prefix with Proton DXGI/D3D12/D3D12Core, and DXC_DIR to the x64 DLL directory from Microsoft DXC v1.8.2505.1. Set MS_FXC to a separately supplied x64 Microsoft d3dcompiler_47.dll. We used version 10.0.17134.12 to control for a separate builtin-compiler problem.

set -eu -o pipefail
repo=$PWD
tmp=$(mktemp -d)
git worktree add --detach "$tmp/base" 63b902fe1720a5188ee79d94a88c8de0470f6349
git diff -U3 63b902fe1720a5188ee79d94a88c8de0470f6349 HEAD -- crates/victory-gpu/src/resource.rs |
  awk '/^@@ / {keep=substr($2,2)+0 >= 4800; seen=1} !seen || keep' |
  git -C "$tmp/base" apply -
cp -a --reflink=auto "$SYNTHETIC_PREFIX" "$tmp/prefix"
export WINEPREFIX="$tmp/prefix" WINESERVER="$PROTON_FILES/bin/wineserver"
export VKD3D_SHADER_CACHE_PATH=0 XDG_CACHE_HOME="$tmp/cache"
export WINEDLLOVERRIDES='dxgi,d3d12,d3d12core=n;d3dcompiler_47=n'
export CARGO_BUILD_JOBS=2
export CARGO_TARGET_X86_64_PC_WINDOWS_MSVC_RUSTFLAGS='-Ctarget-feature=+crt-static'
mkdir "$tmp/bin"
cp "$DXC_DIR"/{dxcompiler,dxil}.dll "$tmp/bin/"
cp "$MS_FXC" "$tmp/bin/d3dcompiler_47.dll"
for src in "$tmp/base" "$repo"; do
  cd "$src"
  exe=$(cargo xwin test -j 2 --locked --release --target x86_64-pc-windows-msvc \
    -p victory-gpu --features diagnostics --lib --no-run --message-format=json |
    jq -r 'select(.executable and .profile.test) | .executable')
  cp "$exe" "$tmp/bin/regression.exe"
  cd "$tmp/bin"
  run() {
    local name=$1
    shift
    local log="$tmp/run.log" status=0
    flock -w 60 /tmp/victory-rtx5070.lock timeout -k 3 60 "$PROTON_FILES/bin/wine" \
      ./regression.exe --exact "$name" --nocapture --test-threads=1 "$@" > "$log" 2>&1 || status=$?
    cat "$log"
    if [[ $src == "$tmp/base" && $name == resource::tests::depth_array_draw_keeps_the_first_slices_view ]]; then
      [[ $status != 0 ]]
      grep -F 'test result: FAILED. 0 passed; 1 failed;' "$log"
      grep -F 'slice zero of 257' "$log"
    else
      [[ $status == 0 ]]
      grep -F 'test result: ok. 1 passed; 0 failed;' "$log"
    fi
  }
  run resource::tests::a_depth_planes_twin_is_drawn_into_the_plane
  run resource::tests::a_stencil_planes_twin_reaches_the_plane
  run resource::tests::depth_array_draw_keeps_the_first_slices_view --ignored
done

CI

Windows CI on this head stopped at the same two Clippy diagnostics as its exact base, in emit/mod.rs and shadow.rs. The hosted test step did not run. In an independent checkout with the four lint-only changes from #957 applied, Rust 1.98.1 passed Windows-target workspace Clippy with all targets in both default and all-features configurations (--locked -- -D warnings). PR run · Base run

**@⁠ghptc** on GitHub · 2026-11-28 13:26 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1111) `ghptc:review/depth-plane-srvs` → `main` · +112 −87 · 2 files · 1 commits · merged 2026-11-29 00:24 UTC A command list can reference a depth-plane SRV after its slot has been rewritten. The plane pass uses one descriptor per (slice, mip), so one texture with 257 layers can lap the 256-entry ring before submission. The first draw then samples the last layer. This patch stores an immutable shader-visible SRV heap on the depth twin. Existing command-list references to the twin retain its descriptors through execution. The regression draws a 4×4 class mask with depth EQUAL into R8_UNORM and maps the result. Only seven texels in layer zero should light. Layers 1–256 contain class 65 throughout. | RTX 5070 readback, layer zero | Base with regression only | This branch | |---|---|---| | Single-layer control | Seven correct texels | Seven correct texels | | 257 layers recorded on one list | Sixteen bytes of 255 | `[0,255,0,255,255,0,255,0,0,0,255,0,255,0,0,255]` | The independent branch also passed the stencil-plane copy control. #1018 addresses when the producer publishes a depth plane on the same command list. This regression exercises descriptor identity and reproduces independently on the common base. The frequency in gameplay remains unknown. ### Reproduce Start in a clean checkout of this PR's head, on Linux with cargo-xwin, Rust and the x64 Windows MSVC SDK/CRT. Measurements used Rust 1.98.1, cargo-xwin 0.24.2, Arch Linux, NVIDIA 620.73.04, Proton Experimental 11.0-20261123b, DXVK v3.1.1-240-g9e57fa0b2c5b495 and VKD3D-Proton 3.2.0 (30b0eb9bc12dc9f). Set `PROTON_FILES` to Proton's files directory, `SYNTHETIC_PREFIX` to an initialized test-only prefix with Proton DXGI/D3D12/D3D12Core, and `DXC_DIR` to the x64 DLL directory from Microsoft DXC v1.8.2505.1. Set `MS_FXC` to a separately supplied x64 Microsoft d3dcompiler_47.dll. We used version 10.0.17134.12 to control for a separate builtin-compiler problem. ```bash set -eu -o pipefail repo=$PWD tmp=$(mktemp -d) git worktree add --detach "$tmp/base" 63b902fe1720a5188ee79d94a88c8de0470f6349 git diff -U3 63b902fe1720a5188ee79d94a88c8de0470f6349 HEAD -- crates/victory-gpu/src/resource.rs | awk '/^@@ / {keep=substr($2,2)+0 >= 4800; seen=1} !seen || keep' | git -C "$tmp/base" apply - cp -a --reflink=auto "$SYNTHETIC_PREFIX" "$tmp/prefix" export WINEPREFIX="$tmp/prefix" WINESERVER="$PROTON_FILES/bin/wineserver" export VKD3D_SHADER_CACHE_PATH=0 XDG_CACHE_HOME="$tmp/cache" export WINEDLLOVERRIDES='dxgi,d3d12,d3d12core=n;d3dcompiler_47=n' export CARGO_BUILD_JOBS=2 export CARGO_TARGET_X86_64_PC_WINDOWS_MSVC_RUSTFLAGS='-Ctarget-feature=+crt-static' mkdir "$tmp/bin" cp "$DXC_DIR"/{dxcompiler,dxil}.dll "$tmp/bin/" cp "$MS_FXC" "$tmp/bin/d3dcompiler_47.dll" for src in "$tmp/base" "$repo"; do cd "$src" exe=$(cargo xwin test -j 2 --locked --release --target x86_64-pc-windows-msvc \ -p victory-gpu --features diagnostics --lib --no-run --message-format=json | jq -r 'select(.executable and .profile.test) | .executable') cp "$exe" "$tmp/bin/regression.exe" cd "$tmp/bin" run() { local name=$1 shift local log="$tmp/run.log" status=0 flock -w 60 /tmp/victory-rtx5070.lock timeout -k 3 60 "$PROTON_FILES/bin/wine" \ ./regression.exe --exact "$name" --nocapture --test-threads=1 "$@" > "$log" 2>&1 || status=$? cat "$log" if [[ $src == "$tmp/base" && $name == resource::tests::depth_array_draw_keeps_the_first_slices_view ]]; then [[ $status != 0 ]] grep -F 'test result: FAILED. 0 passed; 1 failed;' "$log" grep -F 'slice zero of 257' "$log" else [[ $status == 0 ]] grep -F 'test result: ok. 1 passed; 0 failed;' "$log" fi } run resource::tests::a_depth_planes_twin_is_drawn_into_the_plane run resource::tests::a_stencil_planes_twin_reaches_the_plane run resource::tests::depth_array_draw_keeps_the_first_slices_view --ignored done ``` ### CI Windows CI on this head stopped at the same two Clippy diagnostics as its exact base, in `emit/mod.rs` and `shadow.rs`. The hosted test step did not run. In an independent checkout with the four lint-only changes from #957 applied, Rust 1.98.1 passed Windows-target workspace Clippy with all targets in both default and all-features configurations (`--locked -- -D warnings`). [PR run](https://github.com/trustno1-coder/VIctory-NVIDIA/actions/runs/46149655472) · [Base run](https://github.com/trustno1-coder/VIctory-NVIDIA/actions/runs/46104876336)
The 256-entry global ring can wrap during recording, even within a single array texture. Previously recorded draws then see the wrong layer. Keep one shader-visible heap per twin, initialized once with one SRV per (slice, mip). The recording retains the twin until reset.

Add an opt-in hardware regression that draws a 4x4 mask from slice zero of a 257-layer texture, with a different class in all subsequent slices.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 14:33:30 +00:00
Author
Owner

@⁠sawetco on GitHub · 2026-11-28 13:52 UTC · original

Independent native D3D12 A/B on an RTX 5070 12 GB with Windows 11 build 26300, NVIDIA 621.40 and Rust 1.98.1. I used the hardware adapter and the regression's test hunks in resource.rs on base 63b902f, then ran the same cases at 3826f89.

Case Base + test hunks PR head
Single-slice depth control Pass Pass
Stencil-plane copy control Pass Pass
257 depth slices Fail, all 16 texels lit Pass, seven expected texels lit

The base returned sixteen 255 bytes. The PR passed the full byte comparison against [0,255,0,255,255,0,255,0,0,0,255,0,255,0,0,255]. Both runs used the synthetic fixture with the game closed.

**@⁠sawetco** on GitHub · 2026-11-28 13:52 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1111#issuecomment-7240251104) Independent native D3D12 A/B on an RTX 5070 12 GB with Windows 11 build 26300, NVIDIA 621.40 and Rust 1.98.1. I used the hardware adapter and the regression's test hunks in `resource.rs` on base `63b902f`, then ran the same cases at `3826f89`. | Case | Base + test hunks | PR head | | --- | --- | --- | | Single-slice depth control | Pass | Pass | | Stencil-plane copy control | Pass | Pass | | 257 depth slices | Fail, all 16 texels lit | Pass, seven expected texels lit | The base returned sixteen `255` bytes. The PR passed the full byte comparison against `[0,255,0,255,255,0,255,0,0,0,255,0,255,0,0,255]`. Both runs used the synthetic fixture with the game closed.
Author
Owner

@⁠upipibi on GitHub · 2026-11-28 21:41 UTC · original

Tested on Ampere: RTX 3070 (10de:2484), driver 616.56, native Windows 11 Pro 10.0.26100, rustc 1.98.1. Debug test profile. The system WARP is the one that ships with Windows.

  • Head 3826f89f3, merged onto main 77df871e5 (--no-ff, clean, no conflicts). The PR's base is 63b902f, 265 commits behind main, and 59 of those commits touch host.rs or resource.rs. The merge still changes the same two files by the same amounts as the PR: host.rs +70/-70, resource.rs +42/-17. The head was still 3826f89f3 when I finished.

Ampere reproduces the base failure, and the PR fixes it. With main's host.rs, the 257-slice draw lights all 16 texels of slice zero, on the 3070 and on WARP. That is the same readback as the description's and sawetco's RTX 5070 results. With the PR, it lights the seven expected texels on both adapters, in every run.

The test

cargo test -p victory-gpu --lib --locked -- resource::tests::depth_array_draw_keeps_the_first_slices_view --exact --ignored --nocapture --test-threads=1
VICTORY_D3D12_WARP=1 cargo test -p victory-gpu --lib --locked --features diagnostics -- (same filter and flags)
  • Hardware, 3 runs: 1 passed, 0 failed, 0 ignored each (0.27 to 0.32 s).
  • WARP, 3 runs: 1 passed, 0 failed, 0 ignored each (0.05 to 0.08 s).

The readback of slice zero was the same in all six runs, and it matches the test's expected:

[0, 255, 0, 255, 255, 0, 255, 0, 0, 0, 255, 0, 255, 0, 0, 255]

I also ran the two non-ignored neighbours, a_depth_planes_twin_is_drawn_into_the_plane (the same helper with 1 slice) and a_stencil_planes_twin_reaches_the_plane, once on each adapter: 2 passed, 0 failed, 0 ignored each time. The 1-slice readback is the same seven texels.

VICTORY_D3D12_WARP does nothing without --features diagnostics (host.rs:957, cfg!(feature = "diagnostics")). I checked this: a default-features run with VICTORY_D3D12_WARP=1 opened the 3070. The WARP figures above all come from the diagnostics build.

Two notes on silent passes:

  • a_depth_planes_twin_is_drawn_into_the_plane is now let _ = draw_depth_classes(1);. It passes without drawing if no host device opens or the depth twins are off (VICTORY_DEPTH_TWINS=0), as it did before the PR. The new test uses .expect(...), so it fails in that case instead.
  • None of my runs hit either case. The adapter print below shows a device each time, and the coverage print shows a readback each time.

Adapters seen

I added a temporary eprintln! in draw_depth_classes, after host(). It resolves host.device.GetAdapterLuid() through EnumAdapterByLuid and prints GetDesc1, and it prints the 16 coverage bytes before the assert. I removed it before the lib suites.

run adapter vendor:device flags
default features NVIDIA GeForce RTX 3070 10de:2484 0x0
default features, VICTORY_D3D12_WARP=1 NVIDIA GeForce RTX 3070 10de:2484 0x0
--features diagnostics, VICTORY_D3D12_WARP=1 Microsoft Basic Render Driver 1414:008c 0x2 (software)

Negative control: main's host.rs, PR's resource.rs

git checkout 77df871e5 -- crates/victory-gpu/src/host.rs. This keeps the PR's test, and the new Twin::plane_views field is left unused. git diff --stat 77df871e5 -- crates/: resource.rs only, +52/-17 (the PR's +42/-17 plus my temporary print). It builds with one extra warning, field plane_views is never read.

  • Hardware, 3 runs: 0 passed, 1 failed, 0 ignored each.
  • WARP, 3 runs: 0 passed, 1 failed, 0 ignored each.

All six runs panicked the same way:

assertion `left == right` failed: slice zero of 257
  left: [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]
 right: [0, 255, 0, 255, 255, 0, 255, 0, 0, 0, 255, 0, 255, 0, 0, 255]

The two neighbours still pass on main's host.rs on both adapters (2 passed, 0 failed, 0 ignored), and the 1-slice readback is the correct seven texels. So only the 257-slice case separates the two, as the description says.

All 16 texels lit is what the ring would give. The test's other 256 layers hold class 65, which the draw lights at every texel. Main's PLANE_VIEWS ring has 256 slots, so slice 256's view overwrites slot 0 before the list runs. That explanation comes from reading the code, not from a measurement.

cargo test -p victory-gpu --lib --locked (hardware, default features)

  • Merge: run 1 549 passed, 1 failed, 44 ignored. Runs 2 and 3: 550 passed, 0 failed, 44 ignored.
  • Main 77df871e5: 550 passed, 0 failed, 43 ignored in all 5 runs.
  • The extra ignored test is the new one.

The run-1 failure was watch::tests::what_the_kernel_writes_through_is_not_guarded_for_another_view (watch.rs:4764, left: Some([18664039]), right: Some([])). This is a CPU-side page-guard test in a file the PR does not change. It passed alone straight after, and in both later full runs. I count it as a flake: 1 failure in 3 merge runs and 0 in 5 main runs. I can't tell whether the PR makes it more likely.

The PR adds no new compiler warnings in the lib test build. The six warnings in victory-gpu and the one in victory-shader (unused colour) are all in code the PR does not touch.

CI

gh pr checks 1111: check fails. The description says it stops at two Clippy diagnostics that the base has too (emit/mod.rs, shadow.rs). I did not run clippy.

Overlap

  • #1541 (invismann, head d4b73ec90) supersedes the #1018 mentioned in the description and changes the same two files plus draw.rs. git merge-tree of the two heads auto-merges host.rs. It has one conflict, in resource.rs, and that conflict is in the test: both PRs rewrite the body of a_depth_planes_twin_is_drawn_into_the_plane. #1541 does not touch PLANE_VIEWS or record_plane_pass's descriptor handling.
  • #925 (helper shaders fall back to DXC) also changes host.rs. git merge-tree with #1111 is clean.
  • #1017 and #1449 came up in the search too. Both are clean with #1111 in git merge-tree, and neither touches the plane pass.

Not tested

  • Native wave64 hosts, AMD or Intel cards, and the Vulkan path (the description's Proton/VKD3D run).
  • More than one list recording the plane pass for the same twin at once, and mips above 1. The test uses one mip and one list.
  • Descriptor-heap memory with many large twins (one shader-visible heap per twin, sized slices x mips).
  • Merging alongside #1541.
  • The game and any title capture, clippy, the release build, the diagnostics lib suite, and the rest of the workspace.

AI use: Claude Code (Claude Opus 5.5) ran the tests and wrote this report.

**@⁠upipibi** on GitHub · 2026-11-28 21:41 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1111#issuecomment-7246195575) Tested on Ampere: RTX 3070 (`10de:2484`), driver 616.56, native Windows 11 Pro 10.0.26100, rustc 1.98.1. Debug test profile. The system WARP is the one that ships with Windows. - Head `3826f89f3`, merged onto main `77df871e5` (`--no-ff`, clean, no conflicts). The PR's base is `63b902f`, 265 commits behind main, and 59 of those commits touch `host.rs` or `resource.rs`. The merge still changes the same two files by the same amounts as the PR: `host.rs` +70/-70, `resource.rs` +42/-17. The head was still `3826f89f3` when I finished. **Ampere reproduces the base failure, and the PR fixes it.** With main's `host.rs`, the 257-slice draw lights all 16 texels of slice zero, on the 3070 and on WARP. That is the same readback as the description's and sawetco's RTX 5070 results. With the PR, it lights the seven expected texels on both adapters, in every run. **The test** ``` cargo test -p victory-gpu --lib --locked -- resource::tests::depth_array_draw_keeps_the_first_slices_view --exact --ignored --nocapture --test-threads=1 VICTORY_D3D12_WARP=1 cargo test -p victory-gpu --lib --locked --features diagnostics -- (same filter and flags) ``` - Hardware, 3 runs: 1 passed, 0 failed, 0 ignored each (0.27 to 0.32 s). - WARP, 3 runs: 1 passed, 0 failed, 0 ignored each (0.05 to 0.08 s). The readback of slice zero was the same in all six runs, and it matches the test's `expected`: ``` [0, 255, 0, 255, 255, 0, 255, 0, 0, 0, 255, 0, 255, 0, 0, 255] ``` I also ran the two non-ignored neighbours, `a_depth_planes_twin_is_drawn_into_the_plane` (the same helper with 1 slice) and `a_stencil_planes_twin_reaches_the_plane`, once on each adapter: 2 passed, 0 failed, 0 ignored each time. The 1-slice readback is the same seven texels. `VICTORY_D3D12_WARP` does nothing without `--features diagnostics` (`host.rs:957`, `cfg!(feature = "diagnostics")`). I checked this: a default-features run with `VICTORY_D3D12_WARP=1` opened the 3070. The WARP figures above all come from the diagnostics build. Two notes on silent passes: - `a_depth_planes_twin_is_drawn_into_the_plane` is now `let _ = draw_depth_classes(1);`. It **passes without drawing** if no host device opens or the depth twins are off (`VICTORY_DEPTH_TWINS=0`), as it did before the PR. The new test uses `.expect(...)`, so it fails in that case instead. - None of my runs hit either case. The adapter print below shows a device each time, and the coverage print shows a readback each time. **Adapters seen** I added a temporary `eprintln!` in `draw_depth_classes`, after `host()`. It resolves `host.device.GetAdapterLuid()` through `EnumAdapterByLuid` and prints `GetDesc1`, and it prints the 16 coverage bytes before the assert. I removed it before the lib suites. | run | adapter | vendor:device | flags | |---|---|---|---| | default features | NVIDIA GeForce RTX 3070 | `10de:2484` | `0x0` | | default features, `VICTORY_D3D12_WARP=1` | NVIDIA GeForce RTX 3070 | `10de:2484` | `0x0` | | `--features diagnostics`, `VICTORY_D3D12_WARP=1` | Microsoft Basic Render Driver | `1414:008c` | `0x2` (software) | **Negative control: main's `host.rs`, PR's `resource.rs`** `git checkout 77df871e5 -- crates/victory-gpu/src/host.rs`. This keeps the PR's test, and the new `Twin::plane_views` field is left unused. `git diff --stat 77df871e5 -- crates/`: `resource.rs` only, +52/-17 (the PR's +42/-17 plus my temporary print). It builds with one extra warning, `field plane_views is never read`. - Hardware, 3 runs: **0 passed, 1 failed, 0 ignored each.** - WARP, 3 runs: **0 passed, 1 failed, 0 ignored each.** All six runs panicked the same way: ``` assertion `left == right` failed: slice zero of 257 left: [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255] right: [0, 255, 0, 255, 255, 0, 255, 0, 0, 0, 255, 0, 255, 0, 0, 255] ``` The two neighbours still pass on main's `host.rs` on both adapters (2 passed, 0 failed, 0 ignored), and the 1-slice readback is the correct seven texels. So only the 257-slice case separates the two, as the description says. All 16 texels lit is what the ring would give. The test's other 256 layers hold class 65, which the draw lights at every texel. Main's `PLANE_VIEWS` ring has 256 slots, so slice 256's view overwrites slot 0 before the list runs. That explanation comes from reading the code, not from a measurement. **`cargo test -p victory-gpu --lib --locked`** (hardware, default features) - Merge: run 1 549 passed, **1 failed**, 44 ignored. Runs 2 and 3: 550 passed, 0 failed, 44 ignored. - Main `77df871e5`: 550 passed, 0 failed, 43 ignored in all 5 runs. - The extra ignored test is the new one. The run-1 failure was `watch::tests::what_the_kernel_writes_through_is_not_guarded_for_another_view` (`watch.rs:4764`, `left: Some([18664039])`, `right: Some([])`). This is a CPU-side page-guard test in a file the PR does not change. It passed alone straight after, and in both later full runs. I count it as a flake: 1 failure in 3 merge runs and 0 in 5 main runs. I can't tell whether the PR makes it more likely. The PR adds no new compiler warnings in the lib test build. The six warnings in `victory-gpu` and the one in `victory-shader` (unused `colour`) are all in code the PR does not touch. **CI** `gh pr checks 1111`: `check` fails. The description says it stops at two Clippy diagnostics that the base has too (`emit/mod.rs`, `shadow.rs`). I did not run clippy. **Overlap** - #1541 (invismann, head `d4b73ec90`) supersedes the #1018 mentioned in the description and changes the same two files plus `draw.rs`. `git merge-tree` of the two heads auto-merges `host.rs`. It has one conflict, in `resource.rs`, and that conflict is in the test: both PRs rewrite the body of `a_depth_planes_twin_is_drawn_into_the_plane`. #1541 does not touch `PLANE_VIEWS` or `record_plane_pass`'s descriptor handling. - #925 (helper shaders fall back to DXC) also changes `host.rs`. `git merge-tree` with #1111 is clean. - #1017 and #1449 came up in the search too. Both are clean with #1111 in `git merge-tree`, and neither touches the plane pass. **Not tested** - Native wave64 hosts, AMD or Intel cards, and the Vulkan path (the description's Proton/VKD3D run). - More than one list recording the plane pass for the same twin at once, and mips above 1. The test uses one mip and one list. - Descriptor-heap memory with many large twins (one shader-visible heap per twin, sized slices x mips). - Merging alongside #1541. - The game and any title capture, clippy, the release build, the `diagnostics` lib suite, and the rest of the workspace. AI use: Claude Code (Claude Opus 5.5) ran the tests and wrote this report.
github-bot referenced this pull request from a commit 2026-11-29 00:27:22 +00:00
github manually merged commit 393d82f3ee into main 2026-11-29 00:27:59 +00:00
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/trustno1-coder--VIctory-NVIDIA!1111
No description provided.