D3D12.X: stencil views get a uint T# format, so shaders load them as integers #2790

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

@⁠MacieGx on GitHub · 2026-11-26 13:16 UTC · original
MacieGx:d3d12x/stencil-view-uint → main · +121 −9 · 2 files · 1 commits · open

A console view of a stencil plane reaches the PC as X24_TYPELESS_G8_UINT or X32_TYPELESS_G8X24_UINT. Neither is in the GFX10 format table, so view_shape_desc gave the view's T# format 0, and translated shaders take an image's class from that format (img_cls): 0 is the float class. An image_load of a stencil view was therefore a float load of a UINT view, which D3D12 leaves undefined. Stencil views now get the T# format 8_UINT, the uint class. Part of #505.

The newer retail title of #505 reads stencil from compute: the G-buffer depth's stencil holds the material ids that CS_GenerateMaterialMasks classifies, and the stencil of a D16S8 mask buffer is read by the material tiles, the tile light loop and the final gather.

What is in it

  • crates/xcl/src/hle/d3d12x/real.rs: view_tsharp_format (stencil view formats -> 8_UINT, the rest as before), used by view_shape_desc (SRVs and UAVs) and by the null-view paths of SRVs and UAVs (a null stencil view gets the uint class too; found by @⁠retrope13 in review); a unit test that the T# of a stencil view has a uint format and the depth view of the same buffer stays float; a GPU test that a translated image_load of a stencil view returns the stencil values.
  • crates/xcl/src/gpu/recomp/runner.rs: a test texture in a stencil view format is a depth-stencil buffer whose stencil plane holds the data, with its SRV on plane 1 (for the GPU test).

Tested

  • NVIDIA GeForce RTX 5080 16 GB (driver 621.24 = 32.0.16.2124), AMD Ryzen 7 5800X3D, 32 GB, Windows 11 Pro 10.0.26200, Rust 1.100.0 stable-x86_64-pc-windows-msvc; the targeted runs below in debug, the full suite in release.
  • cargo test -p xcl --lib -- srv_tsharp --test-threads=4: 2 passed, 0 failed, 0 ignored. With view_shape_desc back to gfx10_format(f).unwrap_or(0) the new unit test fails (left: (0, 0), right: (5, 4) for X24_TYPELESS_G8_UINT).
  • cargo test -p xcl --lib -- gpu_image_load_of_a_stencil_view --test-threads=4: 1 passed. It passes on this card without the fix too: NVIDIA's float load of the UINT view happens to return the stencil bits. That is the undefined case, so the unit test above is the one that pins the fix.
  • cargo test -p xcl --lib -- hle::d3d12x::real gpu::dxil::msaa_tests gpu::dxil::ops_tests gpu::recomp::tests --test-threads=4 (every test that uses the runner's test textures): 259 passed, 0 failed, 17 ignored; SKIPPED gpu_geometry_wave32_prefix_count_over_a_mask and gpu_wave32_program_in_wave64_hardware (no wave64).
  • cargo build --release --workspace && cargo test --release --workspace --no-fail-fast -- --test-threads=4 on 7253d5b: 1433 passed, 4 failed, 47 ignored. The 4 failures are gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_0..3 (CreateComputePipelineState: out of memory (0x8007000E)), which fail on main as well. SKIPPED (the same as on main): 21 "no wave64", 3 refused by the per-lane form, heap_window_out_of_memory_falls_back_to_the_switch_form, pso_measurement_compiles_an_exact_synthetic_record.
  • In a lab tree (an older main + open PRs + lab work, not this branch) the same mapping behind a switch was run in the newer retail title: in the first run with it the prison cell's walls were lit where they had been near black. Over the later runs with it the picture and the speed varied from run to run, and those runs also had a lab change this PR does not include (stencil views give their green component as the first), so they are not evidence for this PR alone. The change rests on the D3D12 rule above and the tests.

Regression run
main:

xcl-smoke v1
commit: 568e7db7729c8fa6c8f0f4b32d798faaf11462bb
gpu: NVIDIA GeForce RTX 5080
title: 16b5e5d4
seconds: 60
exit: 0x0
frames shown: 1383 (PresentX 1383)
presents per 2 s (last 3): 35 52 56
device removals: 0
crashes: 0
peak commit: 19703 MB

this PR:

xcl-smoke v1
commit: 7253d5b8d560d4a53ad9e30dc85660c19f0f574a
gpu: NVIDIA GeForce RTX 5080
title: 16b5e5d4
seconds: 60
exit: 0x0
frames shown: 1624 (PresentX 1624)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 15081 MB

Not tested

  • The runner's stencil test texture is 2-D only: for a 2-D array with a stencil format, plane 1's subresource index would be first_plane * subresources + k, not first_plane + k (noted by @⁠retrope13; no test uses that case).
  • AMD and Intel GPUs; wave32-only GPUs.
  • This branch alone in the retail title (only the lab tree above).
  • Which component the title's shaders read a stencil view through: the PC's view gives the stencil in the second component, a console shader written for a one-component view would read the first. Not changed here.

AI use

  • Claude Code. Claude Opus 5.5 coordinated and ran the full suite and the regression runs; a Claude Fable 5.2 lab subagent found the cause in the title's runs; a Claude Opus 5.5 subagent wrote this change, its tests and this description.

🤖 Generated with Claude Code

**@⁠MacieGx** on GitHub · 2026-11-26 13:16 UTC · [original](https://github.com/xcl-dev/xcl/pull/2790) `MacieGx:d3d12x/stencil-view-uint` → `main` · +121 −9 · 2 files · 1 commits · open A console view of a stencil plane reaches the PC as X24_TYPELESS_G8_UINT or X32_TYPELESS_G8X24_UINT. Neither is in the GFX10 format table, so `view_shape_desc` gave the view's T# format 0, and translated shaders take an image's class from that format (`img_cls`): 0 is the float class. An `image_load` of a stencil view was therefore a float load of a UINT view, which D3D12 leaves undefined. Stencil views now get the T# format 8_UINT, the uint class. Part of #505. The newer retail title of #505 reads stencil from compute: the G-buffer depth's stencil holds the material ids that `CS_GenerateMaterialMasks` classifies, and the stencil of a D16S8 mask buffer is read by the material tiles, the tile light loop and the final gather. **What is in it** - `crates/xcl/src/hle/d3d12x/real.rs`: `view_tsharp_format` (stencil view formats -> 8_UINT, the rest as before), used by `view_shape_desc` (SRVs and UAVs) and by the null-view paths of SRVs and UAVs (a null stencil view gets the uint class too; found by @⁠retrope13 in review); a unit test that the T# of a stencil view has a uint format and the depth view of the same buffer stays float; a GPU test that a translated `image_load` of a stencil view returns the stencil values. - `crates/xcl/src/gpu/recomp/runner.rs`: a test texture in a stencil view format is a depth-stencil buffer whose stencil plane holds the data, with its SRV on plane 1 (for the GPU test). **Tested** - NVIDIA GeForce RTX 5080 16 GB (driver 621.24 = 32.0.16.2124), AMD Ryzen 7 5800X3D, 32 GB, Windows 11 Pro 10.0.26200, Rust 1.100.0 `stable-x86_64-pc-windows-msvc`; the targeted runs below in debug, the full suite in release. - `cargo test -p xcl --lib -- srv_tsharp --test-threads=4`: 2 passed, 0 failed, 0 ignored. With `view_shape_desc` back to `gfx10_format(f).unwrap_or(0)` the new unit test fails (`left: (0, 0)`, `right: (5, 4)` for X24_TYPELESS_G8_UINT). - `cargo test -p xcl --lib -- gpu_image_load_of_a_stencil_view --test-threads=4`: 1 passed. It passes on this card without the fix too: NVIDIA's float load of the UINT view happens to return the stencil bits. That is the undefined case, so the unit test above is the one that pins the fix. - `cargo test -p xcl --lib -- hle::d3d12x::real gpu::dxil::msaa_tests gpu::dxil::ops_tests gpu::recomp::tests --test-threads=4` (every test that uses the runner's test textures): 259 passed, 0 failed, 17 ignored; SKIPPED `gpu_geometry_wave32_prefix_count_over_a_mask` and `gpu_wave32_program_in_wave64_hardware` (no wave64). - `cargo build --release --workspace && cargo test --release --workspace --no-fail-fast -- --test-threads=4` on `7253d5b`: 1433 passed, 4 failed, 47 ignored. The 4 failures are `gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_0..3` (`CreateComputePipelineState: out of memory (0x8007000E)`), which fail on `main` as well. SKIPPED (the same as on `main`): 21 "no wave64", 3 refused by the per-lane form, `heap_window_out_of_memory_falls_back_to_the_switch_form`, `pso_measurement_compiles_an_exact_synthetic_record`. - In a lab tree (an older `main` + open PRs + lab work, not this branch) the same mapping behind a switch was run in the newer retail title: in the first run with it the prison cell's walls were lit where they had been near black. Over the later runs with it the picture and the speed varied from run to run, and those runs also had a lab change this PR does not include (stencil views give their green component as the first), so they are not evidence for this PR alone. The change rests on the D3D12 rule above and the tests. **Regression run** main: ``` xcl-smoke v1 commit: 568e7db7729c8fa6c8f0f4b32d798faaf11462bb gpu: NVIDIA GeForce RTX 5080 title: 16b5e5d4 seconds: 60 exit: 0x0 frames shown: 1383 (PresentX 1383) presents per 2 s (last 3): 35 52 56 device removals: 0 crashes: 0 peak commit: 19703 MB ``` this PR: ``` xcl-smoke v1 commit: 7253d5b8d560d4a53ad9e30dc85660c19f0f574a gpu: NVIDIA GeForce RTX 5080 title: 16b5e5d4 seconds: 60 exit: 0x0 frames shown: 1624 (PresentX 1624) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 15081 MB ``` **Not tested** - The runner's stencil test texture is 2-D only: for a 2-D array with a stencil format, plane 1's subresource index would be `first_plane * subresources + k`, not `first_plane + k` (noted by @⁠retrope13; no test uses that case). - AMD and Intel GPUs; wave32-only GPUs. - This branch alone in the retail title (only the lab tree above). - Which component the title's shaders read a stencil view through: the PC's view gives the stencil in the second component, a console shader written for a one-component view would read the first. Not changed here. **AI use** - Claude Code. Claude Opus 5.5 coordinated and ran the full suite and the regression runs; a Claude Fable 5.2 lab subagent found the cause in the title's runs; a Claude Opus 5.5 subagent wrote this change, its tests and this description. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
The PC's stencil view formats, X24_TYPELESS_G8_UINT and
X32_TYPELESS_G8X24_UINT, are not in the GFX10 format table, so
`view_shape_desc` gave their T# format 0. Translated shaders pick the
image's class from that format (`img_cls`), and 0 is the float class:
an image_load of a stencil view became a float load of a UINT view,
which D3D12 leaves undefined. These views now get 8_UINT.

In the newer retail title (#505) the material classification reads
the G-buffer stencil and a D16S8 mask buffer's stencil through such
views from compute (tiled lighting, subsurface tiles, final gather).

The kernel test runner can now make a stencil test texture: a D2
texture in a stencil view format is a depth-stencil buffer whose
stencil plane holds the data, with its SRV on plane 1.

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

@⁠retrope13 on GitHub · 2026-11-26 13:32 UTC · original

Independent Ada Lovelace (RTX 4060 Laptop 8 GB) + Intel UHD Graphics verification and diff review of #2790 (ccb14f7f) against main (b49be183): full debug suite green (0 failures) + one null-SRV review note. No title was run.

Tested

  • Hardware / Env:
    • NVIDIA GeForce RTX 4060 Laptop GPU (8 GB, Ada Lovelace, driver 32.0.16.2140, wave32), XCL_ADAPTER=NVIDIA
    • Intel UHD Graphics (driver 32.0.101.7092), XCL_ADAPTER=Intel
    • Intel Core i5-14500HX (14C/20T), 24 GB RAM, Windows 11 26H2 (build 26300.9818), rustc 1.100.0 (stable-x86_64-pc-windows-msvc), Windows SDK 10.0.26100.0 DXC 1.9.2602.17.
  • RTX 4060 (XCL_ADAPTER=NVIDIA, debug):
    • cargo test --locked -p xcl --lib -- srv_tsharp gpu_image_load_of_a_stencil_view --test-threads=4 --nocapture: 3 passed, 0 failed (gpu_image_load_of_a_stencil_view_gives_the_stencil executed and passed on wave32; not skipped).
    • Full workspace (cargo build --workspace --locked, then cargo test --workspace --locked --no-fail-fast -- --test-threads=4):
      • Clean main (b49be183): 1435 passed, 0 failed, 47 ignored
      • PR #2790 (ccb14f7f): 1437 passed, 0 failed, 47 ignored (+2 new tests, 0 failures)
  • Intel UHD Graphics (XCL_ADAPTER=Intel, debug):
    • cargo test --locked -p xcl --lib -- srv_tsharp gpu_image_load_of_a_stencil_view --test-threads=4 --nocapture: 3 passed, 0 failed (gpu_image_load_of_a_stencil_view_gives_the_stencil reported SKIPPED: no wave64 on Intel UHD).
    • Runner/texture suites (hle::d3d12x::real, gpu::dxil::msaa_tests, gpu::dxil::ops_tests, gpu::recomp::tests): 259 passed, 0 failed, 17 ignored (wave64 GPU tests skipped on Intel UHD as expected).

Code Review Notes (b49be183..ccb14f7f)

  1. Null image SRV path (crates/xcl/src/hle/d3d12x/real.rs:2310): When a title creates a null stencil SRV (CreateShaderResourceView(NULL, &desc) with DXGI_FORMAT_X24_TYPELESS_G8_UINT or DXGI_FORMAT_X32_TYPELESS_G8X24_UINT), line 2310 still uses crate::gpu::desc::gfx10_format(v.Format).unwrap_or(0) instead of view_tsharp_format(v.Format). That leaves a null stencil SRV's T# with format 0 (float class) instead of 8_UINT (5, uint class). Switching line 2310 (and optionally the parallel null-UAV fallback at line 2678 for consistency) to view_tsharp_format(v.Format) would cover null stencil descriptors too.
  2. Runner planar subresource index (crates/xcl/src/gpu/recomp/runner.rs:305,365): GetCopyableFootprints(&rd, first_plane(t), subs, ...) and SubresourceIndex: first_plane(t) + k as u32 are correct for TexDim::D2 (t.depth == 1, as documented on TestTexture). Just a heads-up in case a future test passes TexDim::D2Array (t.depth > 1) with a stencil format: D3D12's plane-1 subresource index for MipLevels == 1 is first_plane(t) * subs + k as u32 rather than first_plane(t) + k as u32.

Not Tested

  • Live retail title runs, AMD GPUs, Linux, release full suite on this PR, and the 47 #[ignore] / SKIPPED tests.

AI disclosure: Antigravity (Gemini 4 Neon, XHigh) ran the builds/tests, reviewed the diff, and drafted this report.

**@⁠retrope13** on GitHub · 2026-11-26 13:32 UTC · [original](https://github.com/xcl-dev/xcl/pull/2790#issuecomment-7193498484) **Independent Ada Lovelace (RTX 4060 Laptop 8 GB) + Intel UHD Graphics verification and diff review of `#2790` (`ccb14f7f`) against `main` (`b49be183`): full debug suite green (0 failures) + one null-SRV review note.** No title was run. ### Tested - **Hardware / Env:** - NVIDIA GeForce RTX 4060 Laptop GPU (8 GB, Ada Lovelace, driver `32.0.16.2140`, wave32), `XCL_ADAPTER=NVIDIA` - Intel UHD Graphics (driver `32.0.101.7092`), `XCL_ADAPTER=Intel` - Intel Core i5-14500HX (14C/20T), 24 GB RAM, Windows 11 26H2 (build `26300.9818`), `rustc 1.100.0` (`stable-x86_64-pc-windows-msvc`), Windows SDK `10.0.26100.0` DXC `1.9.2602.17`. - **RTX 4060 (`XCL_ADAPTER=NVIDIA`, debug):** - `cargo test --locked -p xcl --lib -- srv_tsharp gpu_image_load_of_a_stencil_view --test-threads=4 --nocapture`: **3 passed, 0 failed** (`gpu_image_load_of_a_stencil_view_gives_the_stencil` executed and passed on wave32; not skipped). - Full workspace (`cargo build --workspace --locked`, then `cargo test --workspace --locked --no-fail-fast -- --test-threads=4`): - Clean `main` (`b49be183`): **1435 passed, 0 failed, 47 ignored** - PR `#2790` (`ccb14f7f`): **1437 passed, 0 failed, 47 ignored** (+2 new tests, 0 failures) - **Intel UHD Graphics (`XCL_ADAPTER=Intel`, debug):** - `cargo test --locked -p xcl --lib -- srv_tsharp gpu_image_load_of_a_stencil_view --test-threads=4 --nocapture`: **3 passed, 0 failed** (`gpu_image_load_of_a_stencil_view_gives_the_stencil` reported `SKIPPED: no wave64` on Intel UHD). - Runner/texture suites (`hle::d3d12x::real`, `gpu::dxil::msaa_tests`, `gpu::dxil::ops_tests`, `gpu::recomp::tests`): **259 passed, 0 failed, 17 ignored** (wave64 GPU tests skipped on Intel UHD as expected). ### Code Review Notes (`b49be183..ccb14f7f`) 1. **Null image SRV path (`crates/xcl/src/hle/d3d12x/real.rs:2310`):** When a title creates a **null** stencil SRV (`CreateShaderResourceView(NULL, &desc)` with `DXGI_FORMAT_X24_TYPELESS_G8_UINT` or `DXGI_FORMAT_X32_TYPELESS_G8X24_UINT`), line 2310 still uses `crate::gpu::desc::gfx10_format(v.Format).unwrap_or(0)` instead of `view_tsharp_format(v.Format)`. That leaves a null stencil SRV's T# with format `0` (float class) instead of `8_UINT` (`5`, uint class). Switching line 2310 (and optionally the parallel null-UAV fallback at line 2678 for consistency) to `view_tsharp_format(v.Format)` would cover null stencil descriptors too. 2. **Runner planar subresource index (`crates/xcl/src/gpu/recomp/runner.rs:305,365`):** `GetCopyableFootprints(&rd, first_plane(t), subs, ...)` and `SubresourceIndex: first_plane(t) + k as u32` are correct for `TexDim::D2` (`t.depth == 1`, as documented on `TestTexture`). Just a heads-up in case a future test passes `TexDim::D2Array` (`t.depth > 1`) with a stencil format: D3D12's plane-1 subresource index for `MipLevels == 1` is `first_plane(t) * subs + k as u32` rather than `first_plane(t) + k as u32`. ### Not Tested - Live retail title runs, AMD GPUs, Linux, release full suite on this PR, and the 47 `#[ignore]` / `SKIPPED` tests. *AI disclosure: Antigravity (Gemini 4 Neon, XHigh) ran the builds/tests, reviewed the diff, and drafted this report.*
Author
Owner

@⁠Prime1997 on GitHub · 2026-11-26 13:41 UTC · original · reviewed

Good within the tested scope; retain for integration. At clean head ccb14f7f653d823876a5411b67d3049cc6c43a58, the integer stencil T# mapping passed both selected checks: 2 passed, 0 failed, 0 ignored, 0 skipped.

  • CPU: hle::d3d12x::real::pso_blend_and_tsharp_tests::srv_tsharp_of_a_stencil_view_has_a_uint_format.
  • Device: hle::d3d12x::real::pso_blend_and_tsharp_tests::gpu_image_load_of_a_stencil_view_gives_the_stencil passed the 8x8 D24S8 stencil-plane readback.

Built with cargo test --locked --offline -p xcl --lib --no-run --message-format=json --target-dir <isolated-target>; each selected exact filter ran separately with --exact --test-threads=1 --nocapture. Windows 11 Pro 26200, i5-10400, 32 GiB RAM, Rust 1.100.0 MSVC debug, private DXC 1.9.2609.5. The device fixture emitted no skip, but its log does not identify the actual adapter or establish InfoQueue coverage, so I am not presenting its pass as independently attributed NVIDIA validation.

The CPU result supports the R8_UINT classification; the device result covers one D24S8 image load. D32S8, stencil arrays, general rendering, the whole suite and retail regression remain untested. This is a bounded functional result, not merge certification.

AI use: Codex (GPT-6) reviewed source, ran the selected tests and verified raw results. Optional temporary Discord for coordinating contributor work, testing and comparing results.

**@⁠Prime1997** on GitHub · 2026-11-26 13:41 UTC · [original](https://github.com/xcl-dev/xcl/pull/2790#pullrequestreview-6075140148) · **reviewed** **Good within the tested scope; retain for integration.** At clean head `ccb14f7f653d823876a5411b67d3049cc6c43a58`, the integer stencil T# mapping passed both selected checks: **2 passed, 0 failed, 0 ignored, 0 skipped**. - CPU: `hle::d3d12x::real::pso_blend_and_tsharp_tests::srv_tsharp_of_a_stencil_view_has_a_uint_format`. - Device: `hle::d3d12x::real::pso_blend_and_tsharp_tests::gpu_image_load_of_a_stencil_view_gives_the_stencil` passed the 8x8 D24S8 stencil-plane readback. Built with `cargo test --locked --offline -p xcl --lib --no-run --message-format=json --target-dir <isolated-target>`; each selected exact filter ran separately with `--exact --test-threads=1 --nocapture`. Windows 11 Pro 26200, i5-10400, 32 GiB RAM, Rust 1.100.0 MSVC debug, private DXC 1.9.2609.5. The device fixture emitted no skip, but its log does not identify the actual adapter or establish InfoQueue coverage, so I am not presenting its pass as independently attributed NVIDIA validation. The CPU result supports the R8_UINT classification; the device result covers one D24S8 image load. D32S8, stencil arrays, general rendering, the whole suite and retail regression remain untested. This is a bounded functional result, not merge certification. AI use: Codex (GPT-6) reviewed source, ran the selected tests and verified raw results. Optional temporary [Discord](https://discord.gg/gK3y7WRRY) for coordinating contributor work, testing and comparing results.
Author
Owner

@⁠DarkPanda69 on GitHub · 2026-11-26 13:51 UTC · original · edited 2026-11-26 14:24 UTC

Update for head 7253d5b: same result. Applied on main b49be18, cargo test -p xcl --lib -- stencil --nocapture gives 3 passed, 0 failed, 0 SKIPPED (both new tests among them) and the d3d12x:: filter 256 passed, 0 failed, on both the RX 9070 XT and the RTX 3060.


AMD and wave32-only run (both listed as untested): the new tests pass on an RX 9070 XT and on an RTX 3060, which runs 32-lane waves only. Nothing else changes in the GPU suite.

Head ccb14f7 applied on main b49be18, debug, Windows 11 Pro 26200, card chosen with XCL_ADAPTER:

  • gpu_image_load_of_a_stencil_view_gives_the_stencil --nocapture: ok, no SKIPPED, on the RX 9070 XT (RDNA4, 32.0.32029.2010) and on the RTX 3060 (32.0.16.1088). The test takes the card through xcl's runner.
  • srv_tsharp_of_a_stencil_view_has_a_uint_format: ok on both.
  • cargo test -p xcl --lib -- gpu:: --test-threads=4 on main and with the PR: no result changes on either card (the new tests are under hle::d3d12x). RX 9070 XT 708 passed, 2 failed (#2115, the same on main); RTX 3060 710 passed, 0 failed.

Not tested: Intel, the title.
AI use: Claude Code (Claude Opus 5.5) ran the tests on this machine and wrote this report.

**@⁠DarkPanda69** on GitHub · 2026-11-26 13:51 UTC · [original](https://github.com/xcl-dev/xcl/pull/2790#issuecomment-7193940390) · edited 2026-11-26 14:24 UTC **Update for head `7253d5b`:** same result. Applied on `main` `b49be18`, `cargo test -p xcl --lib -- stencil --nocapture` gives 3 passed, 0 failed, 0 SKIPPED (both new tests among them) and the `d3d12x::` filter 256 passed, 0 failed, on both the RX 9070 XT and the RTX 3060. --- AMD and wave32-only run (both listed as untested): the new tests pass on an RX 9070 XT and on an RTX 3060, which runs 32-lane waves only. Nothing else changes in the GPU suite. Head `ccb14f7` applied on `main` `b49be18`, debug, Windows 11 Pro 26200, card chosen with `XCL_ADAPTER`: - `gpu_image_load_of_a_stencil_view_gives_the_stencil --nocapture`: ok, no SKIPPED, on the **RX 9070 XT** (RDNA4, 32.0.32029.2010) and on the **RTX 3060** (32.0.16.1088). The test takes the card through xcl's runner. - `srv_tsharp_of_a_stencil_view_has_a_uint_format`: ok on both. - `cargo test -p xcl --lib -- gpu:: --test-threads=4` on `main` and with the PR: no result changes on either card (the new tests are under `hle::d3d12x`). RX 9070 XT 708 passed, 2 failed (#2115, the same on `main`); RTX 3060 710 passed, 0 failed. Not tested: Intel, the title. AI use: Claude Code (Claude Opus 5.5) ran the tests on this machine and wrote this report.
Author
Owner

@⁠SzczepanGrela on GitHub · 2026-11-26 13:53 UTC · original · edited 2026-11-26 14:29 UTC

Updated for 7253d5b8: RX 9070 / Wine null-descriptor hook regression and both stencil GPU readbacks.

Tested

  • Current head 7253d5b8d560d4a53ad9e30dc85660c19f0f574a versus previous PR head ccb14f7f653d823876a5411b67d3049cc6c43a58. This follow-up uses the previous PR head as its control. Upstream main remains b49be1836844fe0b0cdb3211dce3cb7fb4e21ac7.
  • RX 9070 16 GB (RADV GFX1201), Ryzen 7 7700, CachyOS kernel 7.3.0-5-cachyos, Mesa 26.3.1-arch3.5, GE-Proton11-12 Wine 11.0 Staging, vkd3d-proton 8293130ebe370b1+ (local asserts-disabled build), DXC/DXIL 1.9.2602.17, Rust 1.97.1, release x86_64-pc-windows-gnu.
  • Explicit RX 9070 selection, XCL_REQUIRE_GPU=wave64, XCL_NETWORK=0, private enabled caches, XCL_UMA_MB=64, XCL_COHERENT_MB=64. Windows libtest binaries invoked through GE-Proton Wine with --nocapture.

Local fixtures and source verification

The complete archive delta from ccb14f7f is exactly the two null-SRV/null-UAV format calls changing to view_tsharp_format. Both source copies retain their original production code and upstream tests, with identical local #[cfg(test)] additions:

  • An X32/G8X24 clone of the upstream X24/G8 GPU readback, checking 0x80..0xbf instead of 0x40..0x7f, across all 64 lanes. Both are D2, one slice, plane 1.
  • null_stencil_srv_uav_hooks_write_uint_tsharp, calling the actual dev_create_srv_x and dev_create_uav_x hooks with null resources for each stencil view format. It reads back the shadow descriptor and checks its format/class, index and 1x1 dimensions. Owned recording callbacks replace the downstream PC API calls; this tests hook metadata and forwarding, with no native null-UAV GPU execution. The callback checks require 4 SRV calls, 2 UAV calls, all 6 with null resources and non-null descriptors.

Removing the shared test additions reconstructs the exact original source bytes on each side. Source inventories and executable hashes were checked after execution.

Results

Filter hle::d3d12x::real::pso_blend_and_tsharp_tests::, three fresh serial processes plus one --test-threads=4 process per revision/backend:

Backend Previous ccb14f7f, each invocation Current 7253d5b8, each invocation
HLSL/DXC, XCL_DIRECT_DXIL=0 6 passed / 1 failed / 0 ignored 7 passed / 0 failed / 0 ignored
Direct DXIL, XCL_DIRECT_DXIL=1 6 passed / 1 failed / 0 ignored 7 passed / 0 failed / 0 ignored

The only previous-head failure is the final class assertion in the new null-hook test. It records all four combinations before asserting:

Null descriptor Previous format/class Current format/class
X24/G8 SRV 0 / 0 5 / 4
X24/G8 UAV 0 / 0 5 / 4
X32/G8X24 SRV 0 / 0 5 / 4
X32/G8X24 UAV 0 / 0 5 / 4

Descriptor indices are 0, 2, 4, 6 and dimensions 1x1 on both revisions. Callback-forwarding assertions pass on both. The four combinations have the same results in all eight module invocations per revision; the hook metadata test itself is independent of translator backend.

Both real GPU stencil readbacks and the existing stencil/depth class assertions pass on both revisions through both backends. Additional ordinary R32_UINT store/readback control, gpu::recomp::tests::gpu_image_load_reads_a_store_of_the_same_dispatch --exact, passes 1/0/0 per revision/backend. All 20 process summaries and 64 null-hook records were independently re-read. No runtime skips or ignored tests in these selections.

The earlier ccb14f7f versus main comparison remains valid: head 6/0/0 versus main control 5/1/0 per module invocation, with the uint descriptor-class assertion as the sole main-control failure. That control included the PR's runner stencil-upload support and test fixtures. Both stencil GPU readbacks passed on both revisions.

Not tested

Native GPU execution of null stencil SRV/UAV descriptors, stencil arrays/MSAA GPU readback, graphics-stage sampling, forced Wave32 split mode, native Windows, full workspace suite, retail behavior, smoke workloads, performance or FPS. No retail-impact conclusion from these synthetic checks.

AI use

OpenAI Codex (GPT-6; exact serving variant not exposed) reviewed the source delta, added the local test fixtures, ran and independently verified the paired evidence, and drafted this update. Publication authorized by the account owner.

**@⁠SzczepanGrela** on GitHub · 2026-11-26 13:53 UTC · [original](https://github.com/xcl-dev/xcl/pull/2790#issuecomment-7193988255) · edited 2026-11-26 14:29 UTC Updated for `7253d5b8`: RX 9070 / Wine null-descriptor hook regression and both stencil GPU readbacks. **Tested** - Current head `7253d5b8d560d4a53ad9e30dc85660c19f0f574a` versus previous PR head `ccb14f7f653d823876a5411b67d3049cc6c43a58`. This follow-up uses the previous PR head as its control. Upstream main remains `b49be1836844fe0b0cdb3211dce3cb7fb4e21ac7`. - RX 9070 16 GB (RADV GFX1201), Ryzen 7 7700, CachyOS kernel 7.3.0-5-cachyos, Mesa 26.3.1-arch3.5, GE-Proton11-12 Wine 11.0 Staging, vkd3d-proton `8293130ebe370b1+` (local asserts-disabled build), DXC/DXIL 1.9.2602.17, Rust 1.97.1, release `x86_64-pc-windows-gnu`. - Explicit RX 9070 selection, `XCL_REQUIRE_GPU=wave64`, `XCL_NETWORK=0`, private enabled caches, `XCL_UMA_MB=64`, `XCL_COHERENT_MB=64`. Windows libtest binaries invoked through GE-Proton Wine with `--nocapture`. **Local fixtures and source verification** The complete archive delta from `ccb14f7f` is exactly the two null-SRV/null-UAV format calls changing to `view_tsharp_format`. Both source copies retain their original production code and upstream tests, with identical local `#[cfg(test)]` additions: - An X32/G8X24 clone of the upstream X24/G8 GPU readback, checking `0x80..0xbf` instead of `0x40..0x7f`, across all 64 lanes. Both are D2, one slice, plane 1. - `null_stencil_srv_uav_hooks_write_uint_tsharp`, calling the actual `dev_create_srv_x` and `dev_create_uav_x` hooks with null resources for each stencil view format. It reads back the shadow descriptor and checks its format/class, index and 1x1 dimensions. Owned recording callbacks replace the downstream PC API calls; this tests hook metadata and forwarding, with no native null-UAV GPU execution. The callback checks require 4 SRV calls, 2 UAV calls, all 6 with null resources and non-null descriptors. Removing the shared test additions reconstructs the exact original source bytes on each side. Source inventories and executable hashes were checked after execution. **Results** Filter `hle::d3d12x::real::pso_blend_and_tsharp_tests::`, three fresh serial processes plus one `--test-threads=4` process per revision/backend: | Backend | Previous `ccb14f7f`, each invocation | Current `7253d5b8`, each invocation | | --- | --- | --- | | HLSL/DXC, `XCL_DIRECT_DXIL=0` | 6 passed / 1 failed / 0 ignored | 7 passed / 0 failed / 0 ignored | | Direct DXIL, `XCL_DIRECT_DXIL=1` | 6 passed / 1 failed / 0 ignored | 7 passed / 0 failed / 0 ignored | The only previous-head failure is the final class assertion in the new null-hook test. It records all four combinations before asserting: | Null descriptor | Previous format/class | Current format/class | | --- | --- | --- | | X24/G8 SRV | 0 / 0 | 5 / 4 | | X24/G8 UAV | 0 / 0 | 5 / 4 | | X32/G8X24 SRV | 0 / 0 | 5 / 4 | | X32/G8X24 UAV | 0 / 0 | 5 / 4 | Descriptor indices are 0, 2, 4, 6 and dimensions 1x1 on both revisions. Callback-forwarding assertions pass on both. The four combinations have the same results in all eight module invocations per revision; the hook metadata test itself is independent of translator backend. Both real GPU stencil readbacks and the existing stencil/depth class assertions pass on both revisions through both backends. Additional ordinary R32_UINT store/readback control, `gpu::recomp::tests::gpu_image_load_reads_a_store_of_the_same_dispatch --exact`, passes 1/0/0 per revision/backend. All 20 process summaries and 64 null-hook records were independently re-read. No runtime skips or ignored tests in these selections. The earlier `ccb14f7f` versus main comparison remains valid: head 6/0/0 versus main control 5/1/0 per module invocation, with the uint descriptor-class assertion as the sole main-control failure. That control included the PR's runner stencil-upload support and test fixtures. Both stencil GPU readbacks passed on both revisions. **Not tested** Native GPU execution of null stencil SRV/UAV descriptors, stencil arrays/MSAA GPU readback, graphics-stage sampling, forced Wave32 split mode, native Windows, full workspace suite, retail behavior, smoke workloads, performance or FPS. No retail-impact conclusion from these synthetic checks. **AI use** OpenAI Codex (GPT-6; exact serving variant not exposed) reviewed the source delta, added the local test fixtures, ran and independently verified the paired evidence, and drafted this update. Publication authorized by the account owner.
github-bot force-pushed github-bot/gh-2790 from ccb14f7f65 to 7253d5b8d5 2026-11-26 14:05:22 +00:00 Compare
Author
Owner

@⁠MacieGx on GitHub · 2026-11-26 14:02 UTC · original

Thanks @⁠retrope13, @⁠DarkPanda69 and @⁠SzczepanGrela for the runs on Ada / Intel, AMD RX 9070 XT / RTX 3060 and RX 9070 under Wine.

@⁠retrope13's first point was right: the null SRV / UAV paths still gave a stencil view the float class. Fixed in the head now, 7253d5b (both paths use view_tsharp_format; the full suite and a new regression run are in the description). The second point, the plane-1 index for a 2-D array, is noted under Not tested, since no test uses that case. Your runs were on ccb14f7; the change since is those two lines.

AI use: Claude Code (Claude Opus 5.5).

**@⁠MacieGx** on GitHub · 2026-11-26 14:02 UTC · [original](https://github.com/xcl-dev/xcl/pull/2790#issuecomment-7194196366) Thanks @⁠retrope13, @⁠DarkPanda69 and @⁠SzczepanGrela for the runs on Ada / Intel, AMD RX 9070 XT / RTX 3060 and RX 9070 under Wine. @⁠retrope13's first point was right: the null SRV / UAV paths still gave a stencil view the float class. Fixed in the head now, `7253d5b` (both paths use `view_tsharp_format`; the full suite and a new regression run are in the description). The second point, the plane-1 index for a 2-D array, is noted under **Not tested**, since no test uses that case. Your runs were on `ccb14f7`; the change since is those two lines. AI use: Claude Code (Claude Opus 5.5).
Author
Owner

@⁠Aniseto on GitHub · 2026-11-26 14:32 UTC · original

Ran the stencil-view tests at 7253d5b:

Environment: Windows 11 Pro build 26200 x64, NVIDIA GeForce RTX 5070 Ti (Blackwell, 32-lane waves only, 16 GB) driver 32.0.16.2124, Intel Core i5-12400F, 64 GB RAM, rustc 1.100.0 (0ef1bc386 2026-11-09) MSVC 14.44.35207, DXC 1.9.2609.5, debug build.

XCL_ADAPTER=nvidia cargo test -p xcl --lib -- srv_tsharp --test-threads=4
2 passed; 0 failed; 0 ignored; 1336 filtered out      (exit 0)

XCL_ADAPTER=nvidia cargo test -p xcl --lib -- gpu_image_load_of_a_stencil_view --test-threads=4
1 passed; 0 failed; 0 ignored; 1337 filtered out      (exit 0)

All three pass here. The GPU test reads stencil values through a translated image_load on the real adapter. As the description notes, that GPU test also passes on NVIDIA without the fix (the float load of a UINT view happens to return the bits there), so the unit test asserting the uint T# format is the one that pins the change.

What this adds: the author tested an RTX 5080 16 GB with the same driver. This is a second Blackwell host; the thread has no report from another machine.

Not tested: the full workspace suite, a paired 60 s smoke run, a retail title, AMD and Intel GPUs, 2-D array stencil views, Wine, release profile, game data.

AI-assisted (OpenCode), model: DeepSeek V4.1 Flash Free - checked out the PR's head commit in a detached worktree, built it, ran the tests, wrote this report; the worktree was not modified; no game data was used.

**@⁠Aniseto** on GitHub · 2026-11-26 14:32 UTC · [original](https://github.com/xcl-dev/xcl/pull/2790#issuecomment-7194963266) Ran the stencil-view tests at `7253d5b`: Environment: Windows 11 Pro build 26200 x64, NVIDIA GeForce RTX 5070 Ti (Blackwell, 32-lane waves only, 16 GB) driver 32.0.16.2124, Intel Core i5-12400F, 64 GB RAM, rustc 1.100.0 (0ef1bc386 2026-11-09) MSVC 14.44.35207, DXC 1.9.2609.5, debug build. ``` XCL_ADAPTER=nvidia cargo test -p xcl --lib -- srv_tsharp --test-threads=4 2 passed; 0 failed; 0 ignored; 1336 filtered out (exit 0) XCL_ADAPTER=nvidia cargo test -p xcl --lib -- gpu_image_load_of_a_stencil_view --test-threads=4 1 passed; 0 failed; 0 ignored; 1337 filtered out (exit 0) ``` All three pass here. The GPU test reads stencil values through a translated `image_load` on the real adapter. As the description notes, that GPU test also passes on NVIDIA without the fix (the float load of a UINT view happens to return the bits there), so the unit test asserting the uint T# format is the one that pins the change. What this adds: the author tested an RTX 5080 16 GB with the same driver. This is a second Blackwell host; the thread has no report from another machine. Not tested: the full workspace suite, a paired 60 s smoke run, a retail title, AMD and Intel GPUs, 2-D array stencil views, Wine, release profile, game data. AI-assisted (OpenCode), model: **DeepSeek V4.1 Flash Free** - checked out the PR's head commit in a detached worktree, built it, ran the tests, wrote this report; the worktree was not modified; no game data was used.
Author
Owner

@⁠Decodere on GitHub · 2026-11-26 14:46 UTC · original

Independent RTX 4060 (8 GB) / Windows 11 release verification of PR #2790 at 7253d5b8d560d4a53ad9e30dc85660c19f0f574a (exact parent origin/main b49be1836844fe0b0cdb3211dce3cb7fb4e21ac7). Measurements and targeted test results only; not a full source review.

Setup

  • GPU: NVIDIA GeForce RTX 4060 (8 GB / 7956 MiB reported by D3D12), driver 32.0.16.2114 (NVIDIA 621.14, WDDM 3.2)
  • CPU / RAM / OS: Intel Core i5-11400F (6 cores / 12 threads), 32 GB RAM (31.9 GiB usable), Windows 11 Home 26200
  • Toolchain / caches: rustc 1.100.0 (0ef1bc386 2026-11-09), DXC 1.9.2609.5, release builds, warm DXIL/pipeline caches, quiet machine (zero concurrent builds/tests during timed runs)
  • Workload: Retail workload title: 29640639 via scripts/smoke.ps1 -Seconds 60 (XCL_NETWORK=0 XCL_ACTIVITY=1, default flags, no input)

Targeted RTX 4060 release unit tests (7253d5b8)

  • cargo test --release -p xcl --lib srv_tsharp_of_a_stencil_view_has_a_uint_format -- --nocapture: 1 passed, 0 failed, 0 ignored (0.00 s, exit 0).
  • cargo test --release -p xcl --lib gpu_image_load_of_a_stencil_view_gives_the_stencil -- --nocapture: 1 passed, 0 failed, 0 ignored (0.31 s, ran live on RTX 4060 with DXC 1.9.2609.5, 0 skipped, exit 0).
  • cargo test --release -p xcl --lib hle::d3d12x::real::pso_blend_and_tsharp_tests:: -- --test-threads=4: 5 passed, 0 failed, 0 ignored (0.23 s, 0 skipped, exit 0).
  • cargo test --release -p xcl --lib hle::d3d12x::real:: -- --test-threads=4: 62 passed, 0 failed, 0 ignored (0.60 s, 0 skipped, exit 0).

Observations

  • Both stencil T# / live GPU image_load tests (srv_tsharp_of_a_stencil_view_has_a_uint_format covering explicit + null SRV/UAV stencil paths, and live RTX 4060 gpu_image_load_of_a_stencil_view_gives_the_stencil) and all 62 hle::d3d12x::real:: tests passed cleanly in --release on exact head 7253d5b8 with 0 skips.
  • Quiet 60 s retail smoke ran cleanly (exit: 0x0, 1533 frames shown, 60 60 60 steady-state presents per 2 s, 0 device removals, 0 crashes, 14010 MB peak commit vs parent b49be183's 14018 MB / 1518 frames).

Paired 60 s RTX 4060 smoke (b49be183 vs 7253d5b8)

Parent origin/main (b49be183):

xcl-smoke v1
commit: b49be1836844fe0b0cdb3211dce3cb7fb4e21ac7
gpu: NVIDIA GeForce RTX 4060
title: 29640639
seconds: 60
exit: 0x0
frames shown: 1518 (PresentX 1518)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14018 MB

PR #2790 head (7253d5b8):

xcl-smoke v1
commit: 7253d5b8d560d4a53ad9e30dc85660c19f0f574a
gpu: NVIDIA GeForce RTX 4060
title: 29640639
seconds: 60
exit: 0x0
frames shown: 1533 (PresentX 1533)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14010 MB

Limits of coverage

  • Full workspace test suite was not re-run on 7253d5b8 (only targeted pso_blend_and_tsharp_tests:: and hle::d3d12x::real:: release tests plus paired quiet 60 s smoke).
  • Single discrete NVIDIA 8 GB GPU (RTX 4060, Ada, default translator backend) on native Windows 11; no AMD, Intel, or Wine/Linux run on this host.

AI use

Ran the targeted release unit tests and paired quiet 60 s smoke runs with assistance from Google Antigravity (Gemini 4 Neon); all test counts and smoke blocks were taken directly from cargo test and scripts/smoke.ps1 outputs.

**@⁠Decodere** on GitHub · 2026-11-26 14:46 UTC · [original](https://github.com/xcl-dev/xcl/pull/2790#issuecomment-7195305291) **Independent RTX 4060 (8 GB) / Windows 11 release verification of PR #2790 at `7253d5b8d560d4a53ad9e30dc85660c19f0f574a`** (exact parent `origin/main` `b49be1836844fe0b0cdb3211dce3cb7fb4e21ac7`). Measurements and targeted test results only; not a full source review. ### Setup - **GPU:** NVIDIA GeForce RTX 4060 (8 GB / `7956 MiB` reported by D3D12), driver `32.0.16.2114` (NVIDIA `621.14`, WDDM 3.2) - **CPU / RAM / OS:** Intel Core i5-11400F (6 cores / 12 threads), 32 GB RAM (`31.9 GiB` usable), Windows 11 Home `26200` - **Toolchain / caches:** `rustc 1.100.0 (0ef1bc386 2026-11-09)`, DXC `1.9.2609.5`, release builds, warm DXIL/pipeline caches, quiet machine (zero concurrent builds/tests during timed runs) - **Workload:** Retail workload `title: 29640639` via `scripts/smoke.ps1 -Seconds 60` (`XCL_NETWORK=0 XCL_ACTIVITY=1`, default flags, no input) ### Targeted RTX 4060 release unit tests (`7253d5b8`) - `cargo test --release -p xcl --lib srv_tsharp_of_a_stencil_view_has_a_uint_format -- --nocapture`: **1 passed, 0 failed, 0 ignored** (`0.00 s`, exit `0`). - `cargo test --release -p xcl --lib gpu_image_load_of_a_stencil_view_gives_the_stencil -- --nocapture`: **1 passed, 0 failed, 0 ignored** (`0.31 s`, ran live on RTX 4060 with DXC `1.9.2609.5`, `0` skipped, exit `0`). - `cargo test --release -p xcl --lib hle::d3d12x::real::pso_blend_and_tsharp_tests:: -- --test-threads=4`: **5 passed, 0 failed, 0 ignored** (`0.23 s`, `0` skipped, exit `0`). - `cargo test --release -p xcl --lib hle::d3d12x::real:: -- --test-threads=4`: **62 passed, 0 failed, 0 ignored** (`0.60 s`, `0` skipped, exit `0`). ### Observations - Both stencil T# / live GPU `image_load` tests (`srv_tsharp_of_a_stencil_view_has_a_uint_format` covering explicit + null SRV/UAV stencil paths, and live RTX 4060 `gpu_image_load_of_a_stencil_view_gives_the_stencil`) and all 62 `hle::d3d12x::real::` tests passed cleanly in `--release` on exact head `7253d5b8` with `0` skips. - Quiet 60 s retail smoke ran cleanly (`exit: 0x0`, `1533` frames shown, `60 60 60` steady-state presents per 2 s, `0` device removals, `0` crashes, `14010 MB` peak commit vs parent `b49be183`'s `14018 MB` / `1518` frames). ### Paired 60 s RTX 4060 smoke (`b49be183` vs `7253d5b8`) Parent `origin/main` (`b49be183`): ``` xcl-smoke v1 commit: b49be1836844fe0b0cdb3211dce3cb7fb4e21ac7 gpu: NVIDIA GeForce RTX 4060 title: 29640639 seconds: 60 exit: 0x0 frames shown: 1518 (PresentX 1518) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14018 MB ``` PR #2790 head (`7253d5b8`): ``` xcl-smoke v1 commit: 7253d5b8d560d4a53ad9e30dc85660c19f0f574a gpu: NVIDIA GeForce RTX 4060 title: 29640639 seconds: 60 exit: 0x0 frames shown: 1533 (PresentX 1533) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14010 MB ``` ### Limits of coverage - Full workspace test suite was not re-run on `7253d5b8` (only targeted `pso_blend_and_tsharp_tests::` and `hle::d3d12x::real::` release tests plus paired quiet 60 s smoke). - Single discrete NVIDIA 8 GB GPU (`RTX 4060`, Ada, default translator backend) on native Windows 11; no AMD, Intel, or Wine/Linux run on this host. ### AI use Ran the targeted release unit tests and paired quiet 60 s smoke runs with assistance from Google Antigravity (Gemini 4 Neon); all test counts and smoke blocks were taken directly from `cargo test` and `scripts/smoke.ps1` outputs.
Author
Owner

@⁠tiagonleal on GitHub · 2026-11-26 15:07 UTC · original

Suite on RTX 5070 Ti (Windows 11) at 7253d5b8: 1433 passed, 4 failed (the fuzz out-of-memory ones, same on main); both new tests pass

Tested

  • Head 7253d5b8d560d4a53ad9e30dc85660c19f0f574a (parent main b49be183), clean detached worktree, built as is, debug. PR open and head unchanged when I started.
  • RTX 5070 Ti 16 GB (driver 32.0.16.1742), Ryzen 7 9800X3D, 32 GB RAM, Windows 11 Pro 26300, rustc 1.100.0 (0ef1bc386 2026-11-09). NVIDIA profile for xcl.exe: shader heap 1024 MB. DXC in use: Windows SDK 1.8.2502.11.
  • cargo build --workspace: ok. cargo test --workspace --no-fail-fast -- --test-threads=4: 1433 passed, 4 failed, 47 ignored.
  • 25 lines contain SKIPPED: 21 "no wave64", 3 wave32 per-lane forms refused (f16 arithmetic, f16 packed, f32 conversions), 1 heap_window_out_of_memory_falls_back_to_the_switch_form (no heap windows).
  • The failures are gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_0..3, each CreateComputePipelineState: Not enough memory resources are available to complete this operation. (0x8007000E). They fail the same way on main b49be183 (cargo test -p xcl --lib gpu::dxil::fuzz_tests::fuzz_validate_and_gpu: 0 passed, 4 failed).
  • New tests: cargo test -p xcl --lib -- srv_tsharp gpu_image_load_of_a_stencil_view --nocapture --test-threads=1: 3 passed, 0 failed (srv_tsharp_of_a_stencil_view_has_a_uint_format, gpu_image_load_of_a_stencil_view_gives_the_stencil, srv_tsharp_populates_base_level_and_msaa_last_level). The GPU test ran; it was not skipped.

Not tested

  • The retail title, AMD or Intel, a release-profile suite, Wine or Linux. One machine, one suite run.
  • Whether the GPU test fails without the fix on this card. The PR text says it does not on NVIDIA.

AI use

  • Claude Code with Claude Fable 5.2 and Anthropic subagents (Claude Sonnet 5.5) ran the builds and tests and wrote this; I checked it.
**@⁠tiagonleal** on GitHub · 2026-11-26 15:07 UTC · [original](https://github.com/xcl-dev/xcl/pull/2790#issuecomment-7195817698) Suite on RTX 5070 Ti (Windows 11) at `7253d5b8`: 1433 passed, 4 failed (the fuzz out-of-memory ones, same on `main`); both new tests pass **Tested** - Head `7253d5b8d560d4a53ad9e30dc85660c19f0f574a` (parent `main` `b49be183`), clean detached worktree, built as is, debug. PR open and head unchanged when I started. - RTX 5070 Ti 16 GB (driver 32.0.16.1742), Ryzen 7 9800X3D, 32 GB RAM, Windows 11 Pro 26300, rustc 1.100.0 (0ef1bc386 2026-11-09). NVIDIA profile for xcl.exe: shader heap 1024 MB. DXC in use: Windows SDK 1.8.2502.11. - `cargo build --workspace`: ok. `cargo test --workspace --no-fail-fast -- --test-threads=4`: 1433 passed, 4 failed, 47 ignored. - 25 lines contain `SKIPPED`: 21 "no wave64", 3 wave32 per-lane forms refused (f16 arithmetic, f16 packed, f32 conversions), 1 `heap_window_out_of_memory_falls_back_to_the_switch_form` (no heap windows). - The failures are `gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_0..3`, each `CreateComputePipelineState: Not enough memory resources are available to complete this operation. (0x8007000E)`. They fail the same way on `main` `b49be183` (`cargo test -p xcl --lib gpu::dxil::fuzz_tests::fuzz_validate_and_gpu`: 0 passed, 4 failed). - New tests: `cargo test -p xcl --lib -- srv_tsharp gpu_image_load_of_a_stencil_view --nocapture --test-threads=1`: 3 passed, 0 failed (`srv_tsharp_of_a_stencil_view_has_a_uint_format`, `gpu_image_load_of_a_stencil_view_gives_the_stencil`, `srv_tsharp_populates_base_level_and_msaa_last_level`). The GPU test ran; it was not skipped. **Not tested** - The retail title, AMD or Intel, a release-profile suite, Wine or Linux. One machine, one suite run. - Whether the GPU test fails without the fix on this card. The PR text says it does not on NVIDIA. **AI use** - Claude Code with Claude Fable 5.2 and Anthropic subagents (Claude Sonnet 5.5) ran the builds and tests and wrote this; I checked it.
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/2790/head:github-bot/gh-2790'
git switch 'github-bot/gh-2790'

Merge

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