You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DXIL fuzz tests: fuzz_validate_and_gpu_1 fails on AMD (seed 722 and others, RDNA2-4), so the default suite is red there #2115
fuzz_validate_and_gpu_1 (seeds 500..1000) is not ignored and fails on AMD cards on main, so cargo test --workspace is red on them. On #1679, @bmjask wrote that this needs "a translator-side workaround or an explicit AMD skip with a tracking issue before merge". #1679 was merged without either, and I can't find an open issue for it, so this is one to collect the results in.
On main6987e49 (RX 7600 XT, RDNA3, native wave64), cargo test --workspace --no-fail-fast -- --test-threads=4:
no variable: 1153 passed, 1 failed, 46 ignored. The failure is fuzz_validate_and_gpu_1, seed 722: res[30] = 0x1, CPU 0x7fffffff.
@thiagocalile's backward slice of seed 540 found the emitted DXIL sound, and on the RX 9070 the reduced 722 form (switch + WaveReadLaneFirst) already fails on its own, which fits @bmjask's guess that the driver moves the read into a divergent case. Both point at the AMD DXIL compiler, but nobody has confirmed that independently. The NVIDIA failures in the same tests are a different problem (CreateComputePipelineState returns 0x8007000E, no wrong values): #1905, and #1919.
Ways to make main green on AMD (I haven't tried any of them):
skip the seeds known to mismatch on AMD, with a reason that names this issue, or
a translator-side workaround once a reduced form is understood (amd_reduced_seeds has the 722 and 1599 shapes).
Setup: AMD Radeon RX 7600 XT 16 GB (RDNA3, Navi 33), driver 32.0.31041.1004 (AMD Software 26.8.1); Ryzen 5 9600X; Windows 11 Home 26200.9974; rustc 1.99.1; DXC 1.8.2502.11 (SDK 10.0.26100); debug build; main at 6987e49, no local changes.
AI use: Claude Code (Claude Opus 5.5) ran the tests, collected the reports from #1679 and wrote this issue.
RX 6800M data point on current mainf5c5bdf0e91035f8f1404f46f4f2f7aedc259e7f:
Tested: Windows 11 build 26200, Ryzen 9 5980HX, AMD Radeon RX 6800M (RDNA2), driver 30.0.13002.13003, Rust 1.99.0 MSVC, DXC/DXIL 1.9.2609.5. I ran cargo test --locked -p xcl --lib -j 2 gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1 -- --test-threads=1 --show-output with XCL_ADAPTER=6800M, XCL_REQUIRE_GPU=1, and the stated DXC directory.
XCL_DIRECT_DXIL=0: two isolated runs both failed at seed 530 while creating the compute pipeline: The GPU device instance has been suspended ... (0x887A0005). The test reported 0 passed, 1 failed, 1123 filtered out each time.
XCL_DIRECT_DXIL=1: one isolated run failed at the same seed with the same device-suspended error and counts.
A paired full workspace run on this main and PR Shaders: restore direct DXIL cache ID after source deletion #2047 head had identical failing test names (993 passed, 161 failed, 46 ignored on each); both logs contained 0x887A0005 after the fuzz tests began. This says nothing about the cause of every downstream failure.
This run stops at seed 530, before reaching the seed 540 or 722 value mismatches reported on other AMD cards. It is a pipeline/device error, not an observed result mismatch. I did not reduce seed 530, collect a driver crash dump, test a newer driver, or test another adapter.
AI use: OpenAI Codex (GPT-6, exact variant not exposed in this session) ran the tests, compared the logs, and drafted this report.
RDNA3 data point under Linux/Wine, and it does not match the Windows seed pattern: fuzz_validate_and_gpu_1 is green here, and the two reduced AMD shapes pass on their own.
Rig: RX 7900 XT (RDNA3, RADV NAVI31, Mesa 26.2.5), Proton Experimental (wine-11.0) + the xcl-pinned vkd3d-proton 3.1 build, DXC 1.9.2609.5, release build, main at cbc296ab, no local changes, pipeline cache removed before each run. XCL_DIRECT_DXIL unset (default).
Per test on the default suite:
fuzz_validate_and_gpu_1 (500..1000): passes. fuzz seeds 500..1000: validated 500, GPU-compared 313. No mismatch at 722, 783, 817 or anywhere in the range. This is the first green _1 among the AMD reports here; every Windows entry hits 722 or 540.
fuzz_validate_and_gpu_2 (1000..1500): fails at seed 1003: res[713] = 0x1, CPU 0x0. This test failed on 4/4 attempts on this stack across two checkouts; the seed line here is from main cbc296ab. Matches the RX 9070 XT Linux/RADV entry (also 1003), so 1003 now reproduces on two AMD generations under Wine/Mesa, and it does not appear in any Windows table entry.
fuzz_validate_and_gpu_3 (1500..2000): passes. No 1599 mismatch.
amd_reduced_seeds (--ignored): both hand-reduced shapes pass on this stack: PASS full seed 722: 0 mismatching dwords, PASS full seed 1599: 0 mismatching dwords. So the reduced forms are not sufficient to reproduce on RDNA3 under Mesa; whatever makes them fail on the RDNA4 reports is absent here.
Two variables stand out between this green _1 and the Windows red ones: this rig runs DXC 1.9.2609.5 while several red entries ran 1.8.2502.11, and the driver path is Mesa RADV rather than the amdgpu Windows driver. The seed 1003-only-under-Linux pattern cuts the other way, so the seed set that misbehaves looks stack-dependent in both directions. Not claiming cause, just the counts.
Counts only, no game data.
AI use: Hermes agent (local Qwen-class) ran the suite and drafted this; I checked it before posting.
@SlopTart, could you run the full seed 1003 and the reduced comparison across four initialization variants on the RX 7900 XT/RADV setup from your 4/4 reproduction? Please keep the same Proton Experimental, vkd3d-proton build and DXC if available. Your full seed returned 1 at word 713, where the CPU expected 0. Please report whether that still reproduces and whether the reduced baseline independently reproduces at word 9, also expected 0. Either result is useful. Your reproduction
The runner and all four fixtures use XCL 6020a33b16ba2de25b3aef5947552f2dc1831f09. The full and reduced baseline DXIL, inputs and expected results match the artifacts regenerated from cbc296ab65a2661a61e3e2da109134bcd5319f60 byte for byte. The candidates are saved synthetic fixtures on the same revision, with no production patch. The four runs pair the unchanged full seed with the reduced baseline, single-writer counters only, initialized scratch only, and both changes together.
Extract both archives. In the companion directory, set WINEPREFIX, XCL_ADAPTER and XCL_DXC_DIR as described in the README. Use the existing launcher that selects your reproducing stack.
Please return summary.tsv, environment.txt and the four variant logs, including any mismatching words, the actual RX 7900 XT/RADV/Mesa device and driver, the Proton build, the vkd3d-proton revision or loaded DLL SHA-256, and the DXC version. Each run should compare 4,736 words with zero skips, including 576 for the full seed and 64 for the reduced variant. If an expected mismatch disappears, please report the result for that variant. The controls also change generated code shape, so a pass alone does not isolate a cause.
Locally all four reduced forms passed DXIL validation and matched the CPU expectations. The wrapper rejected local runs with zero GPU comparisons. The reduced baseline and three controls await hardware results on your stack.
AI-assisted using OpenAI Codex. GPT-6.2 Astra created and reviewed the original diagnostics. GPT-6.2 Sol prepared the Linux wrapper and this request.
Every seed on two AMD GPUs (Windows), main568e7db.fuzz_validate_and_gpu_* stops at the first mismatch, so for a skip list I ran all 2000 seeds with a local copy of run_seeds that logs a mismatch and goes on (not pushed). 1232 seeds were GPU-run on each, with no pipeline errors. Two runs each, the same seeds both times, and the same with XCL_DIRECT_DXIL=0 and 1:
GPU
driver
mismatching seeds
RX 7600 XT (RDNA3, Navi 33)
32.0.31041.1004
722 (1 dword), 783 (32), 817 (64)
Ryzen 5 9600X iGPU (RDNA2, gfx1036)
32.0.21045.5002
540 (21 dwords), 783 (32), 817 (64)
722, 783 and 817 are the seeds @srcamarda listed for the RX 7800 XT, and 540 is the one on the RX 6600 and the 9800X3D iGPU. 1599 passes on both GPUs here, as amd_reduced_seeds showed for the RX 7600 XT.
So the Windows AMD reports in this issue come to five seeds: 540, 722, 783 and 817 (_1), and 1599 (_3, RDNA4 only so far). 1003 (_2) is only on Linux/RADV.
First mismatching words: 722 res[30] = 0x1 (CPU 0x7fffffff); 540 res[833] = 0x7 (CPU 0x6); 783 res[64] = 0xc on the RX 7600 XT, 0xf5ffddbf on the iGPU (CPU 0x7fffffff); 817 res[320] = 0xfe53ffff on both (CPU 0x4a43fdeb).
The rest of the suite found nothing else AMD-specific on this main. I ran cargo test --workspace --no-fail-fast -- --test-threads=4 on the iGPU (XCL_ADAPTER="radeon(tm)", with and without XCL_DIRECT_DXIL=1), and on the RX 7600 XT with XCL_DIRECT_DXIL=all and with XCL_SPLIT_WAVE64=1. Apart from fuzz_validate_and_gpu_1 (seed 540 on the iGPU, 722 on the RX 7600 XT), the only failures were gpu_image_get_resinfo_1d_array (#2046) and offline_compute_pipeline_is_reused_by_a_second_process (#1674) with the direct backend.
Setup: Ryzen 5 9600X, Windows 11 Home 26200.9974, rustc 1.99.1, DXC 1.8.2502.11 (SDK 10.0.26100), debug, main568e7db with no changes apart from the local scan test.
AI use: Claude Code (Claude Opus 5.5) wrote the scan, ran it and wrote this comment from its output.
Update: seed 1599 is an AMD driver constant-folding bug: Bfrev(Countbits(K)) with a constant K. RX 9070 XT, driver 32.0.32015.7029, main568e7db.
On this card, amdxc64 folds reversebits(countbits(K)) to reversebits(n) | n, where n = countbits(K). For example, K = 2 gives 0x80000001 instead of 0x80000000. Single-op kernels with every word checked:
Bfrev(Countbits(K)) fails for K = 1, 2, 3, 5, 0xF0, 0x80000000 and 0xFFFFFFFF. In each case the GPU value is bfrev(n) | n, for both Countbits.i32 and Countbits.i64.
These forms pass:
Bfrev(K), Countbits(K), Countbits(Bfrev(K)) and Bfrev(Bfrev(K)).
Bfrev(FirstbitLo/Hi(K)).
Bfrev(Countbits(x)) when x comes from a buffer load, WaveReadLaneFirst(load), WaveReadLaneAt(load, 5) or the lane index.
So it only happens when the driver can prove the operand is constant. The Countbits.i64 split in ops.rs does not avoid it.
It reproduces without XCL, from DXC output. DXC folds a literal itself, so the constant is routed through WaveReadLaneFirst. Built with DXC 1.9.2602 (-T cs_6_6), it gives 0x80000001 on every lane at both -Od and -O3. The control, with k = mem.Load(...) = 2, gives 0x80000000.
Workaround (local branch, not pushed):Shader::bit_count (crates/xcl/src/gpu/dxil/ops.rs) folds Countbits of an integer constant to an i32 constant, using the new helper Module::int_const. A new test, ops_tests::bfrev_of_countbits_of_a_constant_matches_cpu, covers it. Results on this card:
cargo test -p xcl --lib -- --test-threads=4: 1098 passed, 1 failed, 26 ignored. The failure is _1 at seed 722, which is unchanged.
One case is not covered: the reduced Countbits.i64(zext((in & 0) | 2)). The driver folds that to a constant itself, so it still fails. Only the driver can fix it fully.
#2192 on this card: I swapped in its shader.rs (head 1d8341a). With it, the reduced 722 forms and full seed 722 pass. With both changes, _3 passes and _1 stops at seed 783 (res[64] = 0xffffffff, CPU 0x7fffffff). That is the seed @oni-swr is working on.
Tested on AMD Radeon RX 9070 XT (RDNA4) at main568e7db7729c8fa6c8f0f4b32d798faaf11462bb
cargo test --workspace --no-fail-fast -- --test-threads=4: 1152 passed, 2 failed, 46 ignored. The failures are fuzz_validate_and_gpu_1 and fuzz_validate_and_gpu_3; nothing else failed. gpu_direct_msaa_image_loads passes.
Full sweep: cargo test -p xcl --lib gpu::dxil::fuzz_tests::fuzz_validate_and_gpu -- --test-threads=1 --nocapture, with a local copy of run_seeds that logs a mismatch and continues (not pushed). 1232 seeds were GPU-compared (299 / 313 / 314 / 306 for _0 .. _3), no pipeline errors, one run.
test
failing seeds
first mismatching word
_0 (0..500)
none
_1 (500..1000)
722 (1 dword), 783 (32 dwords)
722: res[30] = 0x1, CPU 0x7fffffff; 783: res[64] = 0xffffffff, CPU 0x7fffffff
_2 (1000..1500)
none
_3 (1500..2000)
1599 (62 dwords)
res[193] = 0x1, CPU 0x0
540 and 817 do not mismatch on this card.
Not tested: XCL_DIRECT_DXIL variants, release build, retail title.
AI use: The test report was written by Claude Code (Claude Sonnet 5.5), and the 1599 reduction, workaround and update by Claude Code (Claude Opus 5.5), all from real runs on this machine.
Draft PR with the workaround: #2231.Shader::bit_count folds Countbits of a constant. Seed 1599 gives 0 mismatches, and fuzz_validate_and_gpu_3 passes on this card.
Plan: #2192 (draft) already addresses seed 722, so I am not touching that. I will reproduce and reduce seeds 783 and 817 on an RX 7800 XT (RDNA3), independent of #2192, and open a Part of #2115 PR: a translator-side fix if the emitted DXIL is at fault, otherwise a reduced regression test plus an explicit AMD-Windows skip that names this issue.
Another RDNA4 data point for the table, on a newer driver: RX 9070, driver 32.0.32029.2010, main 6020a33. fuzz_validate_and_gpu_1 (seed 722) and fuzz_validate_and_gpu_3 (seed 1599) fail in 5 of 5 runs, with the same
seed and values each time. amd_reduced_seeds gives the same output as the RX 9070 on 32.0.32015.7029 reported on #1679.
With FUZZ_WATCH=30 on seed 722, the input word for lane 0 is 0x7fffffff and for lane 30 is 0x1; lane 30 is
the only one of the 32 lanes with input 1. So the expected 0x7fffffff is lane 0's value, and the GPU wrote
lane 30's own value.
cargo test -p xcl --lib gpu::dxil::fuzz_tests::amd_reduced_seeds -- --ignored --nocapture, once
(test result: FAILED. 0 passed; 1 failed):
The same two tests are the only failures in this machine's earlier whole-suite run of maincbc296a
(1152 passed, 2 failed, 46 ignored), and a second whole-suite run of cbc296a shows the same seeds and values.
Not tested
Seeds after the first mismatch in each test (the test stops there; I did not change it to log every seed).
Any other driver version on this card, and whether a workaround or skip fixes it.
Which part of the driver or the generated DXIL causes the difference.
AI use: Claude Code (Claude Opus 5.5) ran the tests and wrote this draft.
All three seed ranges (_1 500..1000, _2 1000..1500, _3 1500..2000) pass, zero mismatching seeds. So on this stack the AMD seed failures do not appear at all, which fits the WaveReadLaneFirst/divergence reading from @thiagocalile and @Diskuss rather than a translator-wide problem. The NVIDIA failures previously noted here (#1905, #1919) were CreateComputePipelineState returning 0x8007000E on Windows; under Linux/wine with the proprietary driver the compute pipelines are created fine and the values match, so that blocker does not apply to this configuration.
Contrast from the same day, RDNA3 under Linux (maincbc296ab, RX 7900 XT, Mesa 26.2.5, Proton Experimental): _1 and _3 green, _2 fails at seed 1003, matching the existing Linux/RADV row.
Counts only, no game data.
AI use: Hermes agent (local Qwen-class) ran the suite and drafted this; I checked it before posting.
Linux/RADV seed 1003 is a Mesa NIR bug, not XCL or vkd3d-proton. With Mesa MR 46698 ("nir/range_analysis: fix ishr uub of possibly negative sources"; open, not merged when I checked) applied, fuzz_validate_and_gpu_2 passes here. This says nothing about the Windows seeds (540, 722, 783, 817, 1599).
Reduced. With x = 0xffffffff loaded from a buffer, y = int(x << 26) >> 26 is correctly -1, but on stock Mesa:
compare
GPU
expected
uint(y) <= 0xfffffffe (shifts of 26, 24 and 16)
1
0
uint(y) < 0xffffffff (shift 26)
1
0
uint(y) != 0xffffffff (shift 26)
0
0
uint(y) <= 100 (shift 26)
0
0
x <= 0xfffffffe, no sign extension
0
0
The SPIR-V from vkd3d-proton passes spirv-val (checked on the full seed) and, for the 26-bit <= case, keeps OpShiftRightArithmetic → OpULessThanEqual.
In the final NIR for that case (RADV_DEBUG=nir), the compare result is already the constant 1, while the ishr is still computed and stored. The MR attributes this fold to nir_opt_uub.
In seed 1003 the compare is v62, on a value that comes from the GsAtomic through GsExchange. In cut-down versions, the atomic result alone and the exchanged value are correct, and the compare is wrong with or without the exchange. The version with atomic, ashr, exchange and compare gives the same 8 wrong lanes as the full seed.
Distro Mesa 26.3.1: debug_seed with FUZZ_SEED=1003 gives 8 mismatching words (res[713..=716] and res[721..=724]: 0x1, CPU 0x0).
A/B: RADV built from the Mesa 26.3.1 tarball with the same options (-Dllvm=disabled, release), without and with the MR's patch (commit 723fba05; one hunk applied at an offset), selected with VK_DRIVER_FILES; the loader log shows which library ran.
stock
patched
seed 1003, mismatching words
8
0
reduced compares above, wrong rows
first two
none
cargo test -p xcl --lib suite, run twice each
1088 passed, 7 failed, 26 ignored
1089 passed, 6 failed, 26 ignored
The suite ran with 4 threads, shader caches off and 3 tests skipped that abort the test process on this stack: integer_ops_match_cpu, uaddc_and_usubb_match_cpu, jumps_to_outer_loop_heads_are_structured. The only difference is fuzz_validate_and_gpu_2; the other 6 failures are the same on both.
So for RADV I would not change the translator for this seed. Until a Mesa with the fix is out, _2 can be expected to stay red on affected versions.
Not tested: Windows, other GPUs, Mesa versions other than 26.3.1, Mesa's own tests or CTS with the patch, the workspace's other crates, a retail title, and whether any title shader that XCL translates has this pattern.
AI use: Claude Code (Claude Sonnet 5.5) wrote the temporary reduced tests (not committed), built both drivers, ran everything on the machine above and wrote this comment.
Ran the three-PR stack together on both Linux rigs I report from, since nobody has yet: main + #2192 + #1946 + #2237 merged (clean merges, no conflict).
RX 7900 XT (RDNA3), Mesa 26.2.5, Proton Experimental wine-11.0, release, tree 3077cf70:gpu::dxil::fuzz_tests 5 passed, 1 failed, 2 ignored. The one failure is the Mesa-only fuzz_validate_and_gpu_2 seed 1003, byte-identical to before the stack: seed 1003: res[713] = 0x1, CPU 0x0.
GTX 1070 (Pascal), NVIDIA 550.163.01, Debian wine 10, release, tree 98db545: 6 passed, 0 failed, 2 ignored. Still fully green with all three fixes on top.
Two honest caveats for oni-swr's summary claim:
this does not confirm "722 + 783 + 817 should clear _1" on RDNA3 under Linux, because those three seeds never failed on this stack in the first place; _1 was already green before the stack. What it does confirm is that the three fixes break nothing on either Linux configuration.
Seed 1003 (the Linux/Mesa-only one from our rows) is now delta-reduced on our RX 7900 XT / Mesa 26.2.5 rig.
Reduction oracle: the mismatch must stay the exact same triple (word 713: GPU 0x1, CPU 0x0), the module must still pass validation, and the GPU run must complete. Greedy deletion of whole segments, then single instructions, then output-slot trims, and finally all instruction pairs, since coupled instructions often only die together. Converged: what is left is irreducible under both single and pair deletion, and re-confirms 3/3 after convergence.
The kernel that survives (from the harness IR, roughly):
one input load (V1, V2)
a group-shared atomic or with constant 0x76f77f5f, old value kept as V3
V5 = V1 or 1, then V6 = udiv V3 / V5
a constant-folded fadd nnan ninf double (-16.0 + -3.0) feeding an fptrunc to f32
V11 = V3 - 1, V12 = V3 and 31, then V13 = ashr V11 by variable V12
a group-shared exchange of V13 at slot 7, old value kept as V23
two shl 26 / ashr 26 sign-extension pairs (over V1 and V23), a multiply, compare and cast chain, then the raw stores
Everything above is load bearing: deleting any single instruction or any pair changes or clears the mismatch.
Still red on: plain origin/main, the 2192 + 1946 + 2237 stack (our comment above), and the 2227/2228/2229/2231/2241/2246/2247/2254 cascade. Still green on NVIDIA (GTX 1070, driver 550) on the same seeds. So none of the current open fixes touch whatever RADV does differently here.
Windows run of the whole stack: main68a284a + #1974 + #1946 + #2192 + #2237 makes every fuzz seed pass on two AMD GPUs. This is the Windows counterpart of SlopTart's Linux stack run, with #1974 added for 540. The four merge onto 68a284a with no conflicts, in that order.
Tested
AMD Radeon RX 7600 XT 16 GB (RDNA3, Navi 33), driver 32.0.31041.1004, and the Ryzen 5 9600X iGPU (RDNA2, gfx1036), driver 32.0.21045.5002. Windows 11 Home 26200.9974, rustc 1.99.1, DXC 1.8.2502.11 (SDK 10.0.26100), debug. The two trees were built in separate folders with cargo build --workspace first. Apart from the merges, the only local change is the logging copy of run_seeds from my earlier comment, as an ignored test (not pushed).
All 2000 seeds (1232 GPU-compared), twice per GPU, with the same seeds and dword counts both times:
RX 7600 XT
iGPU gfx1036
main68a284a
722 (1 dword), 783 (32), 817 (64)
540 (21), 783 (32), 817 (64)
stack
none
none
amd_reduced_seeds -- --ignored: every variant and full seed passes on both GPUs with the stack. On main the full seed 722 fails on the RX 7600 XT, and both 540 variants and the full seed 540 fail on the iGPU. One change from 568e7db: on 68a284a the two reduced 722 shapes pass on the RX 7600 XT (two runs) while the full seed 722 still fails. On 568e7db both shapes failed there.
cargo test --workspace --no-fail-fast -- --test-threads=4, once each. The 47 ignored include the local scan test:
main68a284a
stack
RX 7600 XT
1288 passed, 2 failed, 47 ignored
1294 passed, 1 failed, 47 ignored
RX 7600 XT, XCL_DIRECT_DXIL=1
1287 passed, 3 failed, 47 ignored
1293 passed, 2 failed, 47 ignored
iGPU
1288 passed, 2 failed, 47 ignored
1294 passed, 1 failed, 47 ignored
The stack's 6 extra passes are the 5 tests the PRs add plus fuzz_validate_and_gpu_1. The failure left on both trees is a_bridged_mask_write_where_one_half_is_elsewhere_meets_no_barrier (left: 3, right: 1), which already fails on main since the #2074 merge and is acknowledged there. With XCL_DIRECT_DXIL=1 there is also offline_compute_pipeline_is_reused_by_a_second_process (#1674) on both trees. The same 8 SKIPPED lines in all six runs.
So on this machine, with those four PRs in, cargo test --workspace has no AMD-specific failure left. 1599 doesn't reproduce here, so this says nothing about #2231 or RDNA4.
Not tested: a release build, a title or smoke run of the stack, NVIDIA, RDNA4.
AI use: Claude Code (Claude Opus 5.5) merged the PRs, ran the tests and wrote this comment from their output.
NVIDIA GeForce RTX 5060 (8 GB, 32-wide waves only): the fuzz GPU tests fail with a refused pipeline (0x8007000E), not with a wrong result
On main68a284a — NVIDIA GeForce RTX 5060 (8 GB), driver 32.0.16.2101; Windows 11 build 26200 x64; Rust 1.100.0 (stable-x86_64-pc-windows-msvc); release profile; no XCL_SAMPLE_*:
cargo test --release --workspace --no-fail-fast -- --test-threads=4 → 1285 passed, 5 failed, 46 ignored; 29 SKIPPED lines (21 of them no wave64 — this card runs 32-wide waves only).
Four of the five failures are this issue's test family, and on this card they fail a third way — the driver refuses the pipeline instead of computing a wrong value:
test
seed
error
gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_0
70
CreateComputePipelineState: 0x8007000E (out of memory)
gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1
545
same
gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_2
1019
same
gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_3
1507
same
So on an 8 GB card the panic is at the pipeline creation, not at the comparison with the CPU result — the run never reaches the seeds the AMD cards fail on. This looks like the fixed 13 824 MB budget wall (#333, #345, #1585, #1337) seen from the fuzz tests; a test that skips when the driver refuses the pipeline would keep the default suite green on small cards.
The same four failures also occur on the head of #2352 (440e802), so they are not from that PR.
The fifth failure is not a GPU one: gpu::recomp::lower_dxil::tests::a_bridged_mask_write_where_one_half_is_elsewhere_meets_no_barrier fails on main too (1 group barrier expected, 3 in the program). It is not card-specific: the CI run on main3ceb5507 fails on it on the Windows runner without a GPU. Reported separately.
AI use: MiniMax Code (MiniMax-M3.1-Flash) ran the suite and wrote this report.
Not tested:#1946 and #2192 individually in isolation, NVIDIA/Intel GPUs, Linux/RADV, or world load past the 60 s smoke window.
AI use: Antigravity (Gemini 4 Neon) ran the merge, workspace tests, and smoke runs and drafted this report; the account owner reviewed and approved posting.
722 fixed (first_active_lane_value_survives_a_divergent_switch passes); fuzz_validate_and_gpu_1 then fails on seed 783 (hidden behind 722 until now); 1599 fails (not in this PR)
Seed 783:res[64] = 0xffffffff, CPU 0x7fffffff. It's the high dword of dx.op.binary.i64 IMax (op 37) over constants: IMax(-5, 0x7FFFFFFFFFFFFFFB). Signed max is 0x7FFFFFFFFFFFFFFB (high 0x7fffffff). The GPU returns the unsigned max 0xFFFFFFFFFFFFFFFB (high 0xffffffff). So amdxc64 on RDNA4 appears to fold i64 IMax as unsigned, and #1946's compare/select lowering avoids it.
Activity
luckyteagirl commentedon Nov 25, 2026
RX 6800M data point on current
mainf5c5bdf0e91035f8f1404f46f4f2f7aedc259e7f:Tested: Windows 11 build 26200, Ryzen 9 5980HX, AMD Radeon RX 6800M (RDNA2), driver
30.0.13002.13003, Rust 1.99.0 MSVC, DXC/DXIL 1.9.2609.5. I rancargo test --locked -p xcl --lib -j 2 gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1 -- --test-threads=1 --show-outputwithXCL_ADAPTER=6800M,XCL_REQUIRE_GPU=1, and the stated DXC directory.XCL_DIRECT_DXIL=0: two isolated runs both failed at seed 530 while creating the compute pipeline:The GPU device instance has been suspended ... (0x887A0005). The test reported 0 passed, 1 failed, 1123 filtered out each time.XCL_DIRECT_DXIL=1: one isolated run failed at the same seed with the same device-suspended error and counts.mainand PR Shaders: restore direct DXIL cache ID after source deletion #2047 head had identical failing test names (993 passed, 161 failed, 46 ignored on each); both logs contained0x887A0005after the fuzz tests began. This says nothing about the cause of every downstream failure.This run stops at seed 530, before reaching the seed 540 or 722 value mismatches reported on other AMD cards. It is a pipeline/device error, not an observed result mismatch. I did not reduce seed 530, collect a driver crash dump, test a newer driver, or test another adapter.
AI use: OpenAI Codex (GPT-6, exact variant not exposed in this session) ran the tests, compared the logs, and drafted this report.
SlopTart commentedon Nov 25, 2026
RDNA3 data point under Linux/Wine, and it does not match the Windows seed pattern:
fuzz_validate_and_gpu_1is green here, and the two reduced AMD shapes pass on their own.Rig: RX 7900 XT (RDNA3, RADV NAVI31, Mesa 26.2.5), Proton Experimental (wine-11.0) + the xcl-pinned vkd3d-proton 3.1 build, DXC 1.9.2609.5, release build, main at
cbc296ab, no local changes, pipeline cache removed before each run.XCL_DIRECT_DXILunset (default).Per test on the default suite:
fuzz_validate_and_gpu_1(500..1000): passes.fuzz seeds 500..1000: validated 500, GPU-compared 313. No mismatch at 722, 783, 817 or anywhere in the range. This is the first green_1among the AMD reports here; every Windows entry hits 722 or 540.fuzz_validate_and_gpu_2(1000..1500): fails atseed 1003: res[713] = 0x1, CPU 0x0. This test failed on 4/4 attempts on this stack across two checkouts; the seed line here is from maincbc296ab. Matches the RX 9070 XT Linux/RADV entry (also 1003), so 1003 now reproduces on two AMD generations under Wine/Mesa, and it does not appear in any Windows table entry.fuzz_validate_and_gpu_3(1500..2000): passes. No 1599 mismatch.amd_reduced_seeds(--ignored): both hand-reduced shapes pass on this stack:PASS full seed 722: 0 mismatching dwords,PASS full seed 1599: 0 mismatching dwords. So the reduced forms are not sufficient to reproduce on RDNA3 under Mesa; whatever makes them fail on the RDNA4 reports is absent here.Two variables stand out between this green
_1and the Windows red ones: this rig runs DXC 1.9.2609.5 while several red entries ran 1.8.2502.11, and the driver path is Mesa RADV rather than the amdgpu Windows driver. The seed 1003-only-under-Linux pattern cuts the other way, so the seed set that misbehaves looks stack-dependent in both directions. Not claiming cause, just the counts.Counts only, no game data.
AI use: Hermes agent (local Qwen-class) ran the suite and drafted this; I checked it before posting.
chaseb64 commentedon Nov 25, 2026
@SlopTart, could you run the full seed 1003 and the reduced comparison across four initialization variants on the RX 7900 XT/RADV setup from your 4/4 reproduction? Please keep the same Proton Experimental, vkd3d-proton build and DXC if available. Your full seed returned
1at word 713, where the CPU expected0. Please report whether that still reproduces and whether the reduced baseline independently reproduces at word 9, also expected0. Either result is useful. Your reproductionThe runner and all four fixtures use XCL
6020a33b16ba2de25b3aef5947552f2dc1831f09. The full and reduced baseline DXIL, inputs and expected results match the artifacts regenerated fromcbc296ab65a2661a61e3e2da109134bcd5319f60byte for byte. The candidates are saved synthetic fixtures on the same revision, with no production patch. The four runs pair the unchanged full seed with the reduced baseline, single-writer counters only, initialized scratch only, and both changes together.Synthetic downloads and SHA-256 hashes:
5efd465dc313163e3a3c6e0f445a955a97ca82c7e6bd0dd17525d1a887cce13b1082e18ac4a79c5a1a3bcef6ec9120400c4f65a6385e4fd99c1b4c363b7242efExtract both archives. In the companion directory, set
WINEPREFIX,XCL_ADAPTERandXCL_DXC_DIRas described in the README. Use the existing launcher that selects your reproducing stack.bash ./run-seed1003-linux.sh /absolute/path/to/xcl-shader-kit \ ./seed-replay.exe /absolute/path/to/existing-wine-or-proton-wrapper ./seed1003-resultsPlease return
summary.tsv,environment.txtand the four variant logs, including any mismatching words, the actual RX 7900 XT/RADV/Mesa device and driver, the Proton build, the vkd3d-proton revision or loaded DLL SHA-256, and the DXC version. Each run should compare 4,736 words with zero skips, including 576 for the full seed and 64 for the reduced variant. If an expected mismatch disappears, please report the result for that variant. The controls also change generated code shape, so a pass alone does not isolate a cause.Locally all four reduced forms passed DXIL validation and matched the CPU expectations. The wrapper rejected local runs with zero GPU comparisons. The reduced baseline and three controls await hardware results on your stack.
AI-assisted using OpenAI Codex. GPT-6.2 Astra created and reviewed the original diagnostics. GPT-6.2 Sol prepared the Linux wrapper and this request.
cindertheblue commentedon Nov 25, 2026
Every seed on two AMD GPUs (Windows),
main568e7db.fuzz_validate_and_gpu_*stops at the first mismatch, so for a skip list I ran all 2000 seeds with a local copy ofrun_seedsthat logs a mismatch and goes on (not pushed). 1232 seeds were GPU-run on each, with no pipeline errors. Two runs each, the same seeds both times, and the same withXCL_DIRECT_DXIL=0and1:gfx1036)amd_reduced_seedsshowed for the RX 7600 XT._1), and 1599 (_3, RDNA4 only so far). 1003 (_2) is only on Linux/RADV.res[30]=0x1(CPU0x7fffffff); 540res[833]=0x7(CPU0x6); 783res[64]=0xcon the RX 7600 XT,0xf5ffddbfon the iGPU (CPU0x7fffffff); 817res[320]=0xfe53ffffon both (CPU0x4a43fdeb).The rest of the suite found nothing else AMD-specific on this
main. I rancargo test --workspace --no-fail-fast -- --test-threads=4on the iGPU (XCL_ADAPTER="radeon(tm)", with and withoutXCL_DIRECT_DXIL=1), and on the RX 7600 XT withXCL_DIRECT_DXIL=alland withXCL_SPLIT_WAVE64=1. Apart fromfuzz_validate_and_gpu_1(seed 540 on the iGPU, 722 on the RX 7600 XT), the only failures weregpu_image_get_resinfo_1d_array(#2046) andoffline_compute_pipeline_is_reused_by_a_second_process(#1674) with the direct backend.Setup: Ryzen 5 9600X, Windows 11 Home 26200.9974, rustc 1.99.1, DXC 1.8.2502.11 (SDK 10.0.26100), debug,
main568e7dbwith no changes apart from the local scan test.AI use: Claude Code (Claude Opus 5.5) wrote the scan, ran it and wrote this comment from its output.
Diskuss commentedon Nov 25, 2026
Update: seed 1599 is an AMD driver constant-folding bug:
Bfrev(Countbits(K))with a constantK. RX 9070 XT, driver 32.0.32015.7029,main568e7db.On this card, amdxc64 folds
reversebits(countbits(K))toreversebits(n) | n, wheren = countbits(K). For example,K = 2gives0x80000001instead of0x80000000. Single-op kernels with every word checked:Bfrev(Countbits(K))fails for K = 1, 2, 3, 5, 0xF0, 0x80000000 and 0xFFFFFFFF. In each case the GPU value isbfrev(n) | n, for bothCountbits.i32andCountbits.i64.Bfrev(K),Countbits(K),Countbits(Bfrev(K))andBfrev(Bfrev(K)).Bfrev(FirstbitLo/Hi(K)).Bfrev(Countbits(x))when x comes from a buffer load,WaveReadLaneFirst(load),WaveReadLaneAt(load, 5)or the lane index.Countbits.i64split inops.rsdoes not avoid it.It reproduces without XCL, from DXC output. DXC folds a literal itself, so the constant is routed through
WaveReadLaneFirst. Built with DXC 1.9.2602 (-T cs_6_6), it gives0x80000001on every lane at both-Odand-O3. The control, withk = mem.Load(...)= 2, gives0x80000000.Workaround (local branch, not pushed):
Shader::bit_count(crates/xcl/src/gpu/dxil/ops.rs) foldsCountbitsof an integer constant to an i32 constant, using the new helperModule::int_const. A new test,ops_tests::bfrev_of_countbits_of_a_constant_matches_cpu, covers it. Results on this card:fuzz_validate_and_gpu_3: passes, 306 seeds GPU-compared.cargo test -p xcl --lib -- --test-threads=4: 1098 passed, 1 failed, 26 ignored. The failure is_1at seed 722, which is unchanged.Countbits.i64(zext((in & 0) | 2)). The driver folds that to a constant itself, so it still fails. Only the driver can fix it fully.#2192 on this card: I swapped in its
shader.rs(head1d8341a). With it, the reduced 722 forms and full seed 722 pass. With both changes,_3passes and_1stops at seed 783 (res[64] = 0xffffffff, CPU0x7fffffff). That is the seed @oni-swr is working on.Tested on AMD Radeon RX 9070 XT (RDNA4) at
main568e7db7729c8fa6c8f0f4b32d798faaf11462bbAMD Radeon RX 9070 XT (RDNA4), driver 32.0.32015.7029; Ryzen 7 5700X3D; Windows 11 Pro 26300.9974; Rust 1.100.0 MSVC; DXC 1.9.2602.17; debug build;
XCL_DIRECT_DXILunset.Tested:
cargo test --workspace --no-fail-fast -- --test-threads=4: 1152 passed, 2 failed, 46 ignored. The failures arefuzz_validate_and_gpu_1andfuzz_validate_and_gpu_3; nothing else failed.gpu_direct_msaa_image_loadspasses.cargo test -p xcl --lib gpu::dxil::fuzz_tests::fuzz_validate_and_gpu -- --test-threads=1 --nocapture, with a local copy ofrun_seedsthat logs a mismatch and continues (not pushed). 1232 seeds were GPU-compared (299 / 313 / 314 / 306 for_0.._3), no pipeline errors, one run._0(0..500)_1(500..1000)res[30] = 0x1, CPU0x7fffffff; 783:res[64] = 0xffffffff, CPU0x7fffffff_2(1000..1500)_3(1500..2000)res[193] = 0x1, CPU0x0540 and 817 do not mismatch on this card.
Not tested:
XCL_DIRECT_DXILvariants, release build, retail title.AI use: The test report was written by Claude Code (Claude Sonnet 5.5), and the 1599 reduction, workaround and update by Claude Code (Claude Opus 5.5), all from real runs on this machine.
Draft PR with the workaround: #2231.
Shader::bit_countfoldsCountbitsof a constant. Seed 1599 gives 0 mismatches, andfuzz_validate_and_gpu_3passes on this card.oni-swr commentedon Nov 25, 2026
Plan: #2192 (draft) already addresses seed 722, so I am not touching that. I will reproduce and reduce seeds 783 and 817 on an RX 7800 XT (RDNA3), independent of #2192, and open a
Part of #2115PR: a translator-side fix if the emitted DXIL is at fault, otherwise a reduced regression test plus an explicit AMD-Windows skip that names this issue.AI use: Claude Code (Claude Sonnet 5.5).
Toons29 commentedon Nov 25, 2026
Another RDNA4 data point for the table, on a newer driver: RX 9070, driver 32.0.32029.2010,
main6020a33.fuzz_validate_and_gpu_1(seed 722) andfuzz_validate_and_gpu_3(seed 1599) fail in 5 of 5 runs, with the sameseed and values each time.
amd_reduced_seedsgives the same output as the RX 9070 on 32.0.32015.7029 reported on#1679.
Tested
AMD Radeon RX 9070 (RDNA4), Adrenalin 26.11.2 (driver 32.0.32029.2010); Ryzen 7 7800X3D, 32 GB; Windows 11
build 26300; Rust 1.100.0 (stable MSVC); DXC 1.9.2602.17 (Windows SDK 10.0.26100); debug build.
mainat6020a33b16ba2de25b3aef5947552f2dc1831f09, no local changes.cargo test -p xcl --lib fuzz_validate_and_gpu -- --test-threads=1, 5 runs. Each run:test result: FAILED. 2 passed; 2 failed; 0 ignored; 0 measured; 1120 filtered out.fuzz_validate_and_gpu_0: 5 of 5 passedfuzz_validate_and_gpu_1: 0 of 5 passed, every timeseed 722: res[30] = 0x1, CPU 0x7ffffffffuzz_validate_and_gpu_2: 5 of 5 passedfuzz_validate_and_gpu_3: 0 of 5 passed, every timeseed 1599: res[193] = 0x1, CPU 0x0FUZZ_SEED=<seed> cargo test -p xcl --lib fuzz_tests::debug_seed -- --ignored --nocapture, once per seed:GPU run: 1 mismatching results; seed 1599:GPU run: 62 mismatching results.FUZZ_WATCH=30on seed 722, the input word for lane 0 is0x7fffffffand for lane 30 is0x1; lane 30 isthe only one of the 32 lanes with input 1. So the expected
0x7fffffffis lane 0's value, and the GPU wrotelane 30's own value.
cargo test -p xcl --lib gpu::dxil::fuzz_tests::amd_reduced_seeds -- --ignored --nocapture, once(
test result: FAILED. 0 passed; 1 failed):The same two tests are the only failures in this machine's earlier whole-suite run of
maincbc296a(1152 passed, 2 failed, 46 ignored), and a second whole-suite run of
cbc296ashows the same seeds and values.Not tested
AI use: Claude Code (Claude Opus 5.5) ran the tests and wrote this draft.
SlopTart commentedon Nov 25, 2026
New table row: first NVIDIA-under-Linux run I can find for this tracker.
GTX 1070 (Pascal), driver 550.163.01 (proprietary), Debian 13, Debian wine 10.0,
mainat568e7db, no local changes:gpu::dxil::fuzz_tests5 passed, 0 failed, 2 ignoredAll three seed ranges (
_1500..1000,_21000..1500,_31500..2000) pass, zero mismatching seeds. So on this stack the AMD seed failures do not appear at all, which fits the WaveReadLaneFirst/divergence reading from @thiagocalile and @Diskuss rather than a translator-wide problem. The NVIDIA failures previously noted here (#1905, #1919) wereCreateComputePipelineStatereturning0x8007000Eon Windows; under Linux/wine with the proprietary driver the compute pipelines are created fine and the values match, so that blocker does not apply to this configuration.Contrast from the same day, RDNA3 under Linux (
maincbc296ab, RX 7900 XT, Mesa 26.2.5, Proton Experimental):_1and_3green,_2fails at seed 1003, matching the existing Linux/RADV row.Counts only, no game data.
AI use: Hermes agent (local Qwen-class) ran the suite and drafted this; I checked it before posting.
pablogonz12 commentedon Nov 25, 2026
Linux/RADV seed 1003 is a Mesa NIR bug, not XCL or vkd3d-proton. With Mesa MR 46698 ("nir/range_analysis: fix ishr uub of possibly negative sources"; open, not merged when I checked) applied,
fuzz_validate_and_gpu_2passes here. This says nothing about the Windows seeds (540, 722, 783, 817, 1599).Reduced. With
x = 0xffffffffloaded from a buffer,y = int(x << 26) >> 26is correctly-1, but on stock Mesa:uint(y) <= 0xfffffffe(shifts of 26, 24 and 16)uint(y) < 0xffffffff(shift 26)uint(y) != 0xffffffff(shift 26)uint(y) <= 100(shift 26)x <= 0xfffffffe, no sign extensionspirv-val(checked on the full seed) and, for the 26-bit<=case, keepsOpShiftRightArithmetic→OpULessThanEqual.RADV_DEBUG=nir), the compare result is already the constant 1, while theishris still computed and stored. The MR attributes this fold tonir_opt_uub.v62, on a value that comes from theGsAtomicthroughGsExchange. In cut-down versions, the atomic result alone and the exchanged value are correct, and the compare is wrong with or without the exchange. The version with atomic,ashr, exchange and compare gives the same 8 wrong lanes as the full seed.Tested
main568e7db7729c8fa6c8f0f4b32d798faaf11462bb; RX 9070 XT (RADV GFX1201), Ryzen 9 9900X, Arch (kernel 7.3.6), GE-Proton11-14 Wine, vkd3d-proton v3.1 with the shared-fence patch, DXC 1.9.2609.5,x86_64-pc-windows-msvcrelease cross-build.debug_seedwithFUZZ_SEED=1003gives 8 mismatching words (res[713..=716]andres[721..=724]:0x1, CPU0x0).-Dllvm=disabled, release), without and with the MR's patch (commit723fba05; one hunk applied at an offset), selected withVK_DRIVER_FILES; the loader log shows which library ran.cargo test -p xcl --libsuite, run twice eachThe suite ran with 4 threads, shader caches off and 3 tests skipped that abort the test process on this stack:
integer_ops_match_cpu,uaddc_and_usubb_match_cpu,jumps_to_outer_loop_heads_are_structured. The only difference isfuzz_validate_and_gpu_2; the other 6 failures are the same on both.So for RADV I would not change the translator for this seed. Until a Mesa with the fix is out,
_2can be expected to stay red on affected versions.Not tested: Windows, other GPUs, Mesa versions other than 26.3.1, Mesa's own tests or CTS with the patch, the workspace's other crates, a retail title, and whether any title shader that XCL translates has this pattern.
AI use: Claude Code (Claude Sonnet 5.5) wrote the temporary reduced tests (not committed), built both drivers, ran everything on the machine above and wrote this comment.
oni-swr commentedon Nov 25, 2026
Seeds 783 and 817 on an RX 7800 XT (driver 32.0.31035.1003), reduced:
Bfrev.i32(trunc(mul i64 3, 5))returnsx | bfrev(x)(0xf000000f, expected0xf0000000). Fixed by Shaders: reverse the halves of an i64 Bfrev with shifts and masks on AMD #2237 (draft; the i64 Bfrev halves use shifts and masks).IMax.i64fed by an i64 udiv chain returns garbage in the high word; the same chain with compare + select,IMinorUMaxpasses. With theops.rschange of Direct DXIL: lower i64 min/max as compare/select #1946 applied locally, 783 gives 0 mismatches.So 722 (Shaders: preserve first active lane reads across divergent switches #2192) + 783 (Direct DXIL: lower i64 min/max as compare/select #1946) + 817 (Shaders: reverse the halves of an i64 Bfrev with shifts and masks on AMD #2237) should clear
fuzz_validate_and_gpu_1on this card; I have not run all three together.AI use: Claude Code (Claude Sonnet 5.5).
SlopTart commentedon Nov 25, 2026
Ran the three-PR stack together on both Linux rigs I report from, since nobody has yet:
main+ #2192 + #1946 + #2237 merged (clean merges, no conflict).RX 7900 XT (RDNA3), Mesa 26.2.5, Proton Experimental wine-11.0, release, tree
3077cf70:gpu::dxil::fuzz_tests5 passed, 1 failed, 2 ignored. The one failure is the Mesa-onlyfuzz_validate_and_gpu_2seed 1003, byte-identical to before the stack:seed 1003: res[713] = 0x1, CPU 0x0.GTX 1070 (Pascal), NVIDIA 550.163.01, Debian wine 10, release, tree
98db545: 6 passed, 0 failed, 2 ignored. Still fully green with all three fixes on top.Two honest caveats for oni-swr's summary claim:
_1" on RDNA3 under Linux, because those three seeds never failed on this stack in the first place;_1was already green before the stack. What it does confirm is that the three fixes break nothing on either Linux configuration.Counts only, no game data.
AI use: Hermes agent (local Qwen-class) ran both machines and drafted this; I checked it before posting.
SlopTart commentedon Nov 25, 2026
Seed 1003 (the Linux/Mesa-only one from our rows) is now delta-reduced on our RX 7900 XT / Mesa 26.2.5 rig.
Reduction oracle: the mismatch must stay the exact same triple (word 713: GPU 0x1, CPU 0x0), the module must still pass validation, and the GPU run must complete. Greedy deletion of whole segments, then single instructions, then output-slot trims, and finally all instruction pairs, since coupled instructions often only die together. Converged: what is left is irreducible under both single and pair deletion, and re-confirms 3/3 after convergence.
The kernel that survives (from the harness IR, roughly):
Everything above is load bearing: deleting any single instruction or any pair changes or clears the mismatch.
Still red on: plain origin/main, the 2192 + 1946 + 2237 stack (our comment above), and the 2227/2228/2229/2231/2241/2246/2247/2254 cascade. Still green on NVIDIA (GTX 1070, driver 550) on the same seeds. So none of the current open fixes touch whatever RADV does differently here.
Full minimal program (harness IR) plus the DXIL disassembly of the reduced kernel: https://gist.github.com/SlopTart/a4022bc50994514293d2ff2b12261176
AI use: Hermes agent (local Qwen-class) ran both machines and drafted this; I checked it before posting.
Shaders: reverse the halves of an i64 Bfrev with shifts and masks on AMD
cindertheblue commentedon Nov 25, 2026
Windows run of the whole stack:
main68a284a+ #1974 + #1946 + #2192 + #2237 makes every fuzz seed pass on two AMD GPUs. This is the Windows counterpart of SlopTart's Linux stack run, with #1974 added for 540. The four merge onto68a284awith no conflicts, in that order.Tested
gfx1036), driver 32.0.21045.5002. Windows 11 Home 26200.9974, rustc 1.99.1, DXC 1.8.2502.11 (SDK 10.0.26100), debug. The two trees were built in separate folders withcargo build --workspacefirst. Apart from the merges, the only local change is the logging copy ofrun_seedsfrom my earlier comment, as an ignored test (not pushed).gfx1036main68a284aamd_reduced_seeds -- --ignored: every variant and full seed passes on both GPUs with the stack. Onmainthe full seed 722 fails on the RX 7600 XT, and both 540 variants and the full seed 540 fail on the iGPU. One change from568e7db: on68a284athe two reduced 722 shapes pass on the RX 7600 XT (two runs) while the full seed 722 still fails. On568e7dbboth shapes failed there.cargo test --workspace --no-fail-fast -- --test-threads=4, once each. The 47 ignored include the local scan test:main68a284aXCL_DIRECT_DXIL=1The stack's 6 extra passes are the 5 tests the PRs add plus
fuzz_validate_and_gpu_1. The failure left on both trees isa_bridged_mask_write_where_one_half_is_elsewhere_meets_no_barrier(left: 3, right: 1), which already fails onmainsince the #2074 merge and is acknowledged there. WithXCL_DIRECT_DXIL=1there is alsooffline_compute_pipeline_is_reused_by_a_second_process(#1674) on both trees. The same 8SKIPPEDlines in all six runs.So on this machine, with those four PRs in,
cargo test --workspacehas no AMD-specific failure left. 1599 doesn't reproduce here, so this says nothing about #2231 or RDNA4.Not tested: a release build, a title or smoke run of the stack, NVIDIA, RDNA4.
AI use: Claude Code (Claude Opus 5.5) merged the PRs, ran the tests and wrote this comment from their output.
SashaTun commentedon Nov 25, 2026
NVIDIA GeForce RTX 5060 (8 GB, 32-wide waves only): the fuzz GPU tests fail with a refused pipeline (
0x8007000E), not with a wrong resultOn
main68a284a— NVIDIA GeForce RTX 5060 (8 GB), driver32.0.16.2101; Windows 11 build 26200 x64; Rust1.100.0(stable-x86_64-pc-windows-msvc); release profile; noXCL_SAMPLE_*:cargo test --release --workspace --no-fail-fast -- --test-threads=4→ 1285 passed, 5 failed, 46 ignored; 29SKIPPEDlines (21 of themno wave64— this card runs 32-wide waves only).Four of the five failures are this issue's test family, and on this card they fail a third way — the driver refuses the pipeline instead of computing a wrong value:
gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_0CreateComputePipelineState: 0x8007000E(out of memory)gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_2gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_3So on an 8 GB card the panic is at the pipeline creation, not at the comparison with the CPU result — the run never reaches the seeds the AMD cards fail on. This looks like the fixed 13 824 MB budget wall (#333, #345, #1585, #1337) seen from the fuzz tests; a test that skips when the driver refuses the pipeline would keep the default suite green on small cards.
The same four failures also occur on the head of #2352 (
440e802), so they are not from that PR.The fifth failure is not a GPU one:
gpu::recomp::lower_dxil::tests::a_bridged_mask_write_where_one_half_is_elsewhere_meets_no_barrierfails onmaintoo (1 group barrier expected, 3 in the program). It is not card-specific: the CI run onmain3ceb5507fails on it on the Windows runner without a GPU. Reported separately.AI use: MiniMax Code (MiniMax-M3.1-Flash) ran the suite and wrote this report.
Direct DXIL: fold Countbits of constants (AMD folds Bfrev(Countbits(K…
Direct DXIL: fold Countbits of constants (AMD folds Bfrev(Countbits(K…
thiagocalile commentedon Nov 25, 2026
Independent Windows AMD Radeon RX 6600 (RDNA2, 8 GB VRAM, native wave64) verification of
main2898511+#1946(f906266) +#2192(1d8341a): all 1,364 workspace tests pass with 0 failures (down from 1 failure,gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1, on unmodifiedmain2898511).Tested
32.0.21045.29003,XCL_ADAPTER=radeon), AMD Ryzen 7 5700X3D, 47.9 GB RAM, Windows 11 (10.0.26200.0), Rust1.100.0(stable-x86_64-pc-windows-msvc), DXC1.8.2502.11.main(2898511af1c038a2ef809719e9b6f89e5675c422):XCL_ADAPTER=radeon cargo test --workspace --no-fail-fast -- --test-threads=4: 1,362 passed, 1 failed, 46 ignored (11skipped; failed:gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1).#1946(f906266) +#2192(1d8341a) ontomain2898511:XCL_ADAPTER=radeon cargo test --workspace --no-fail-fast -- --test-threads=4: 1,364 passed, 0 failed, 46 ignored (11skipped).Regression run (
scripts/smoke.ps1 -Seconds 60, release builds,XCL_ADAPTER=radeon)main(2898511):main2898511+#1946(f906266) +#2192(1d8341a):Not tested:
#1946and#2192individually in isolation, NVIDIA/Intel GPUs, Linux/RADV, or world load past the 60 s smoke window.AI use: Antigravity (Gemini 4 Neon) ran the merge, workspace tests, and smoke runs and drafted this report; the account owner reviewed and approved posting.
Direct DXIL: fold Countbits of constants (AMD folds Bfrev(Countbits(K…
rgroenewoudt commentedon Nov 26, 2026
Tested on AMD Radeon RX 9070 (RDNA4, non-XT) at
main8b957bec: seed 722 (_1) and seed 1599 (_3) both fail, as on the RX 9070 XT.fuzz_validate_and_gpu_1:seed 722: res[30] = 0x1, CPU 0x7ffffffffuzz_validate_and_gpu_3:seed 1599: res[193] = 0x1, CPU 0x0Tested
cargo test --workspace --no-fail-fast -- --test-threads=4: 1444 passed, 2 failed, 47 ignoredf16_programs_on_the_gpuandf32_programs_on_the_gpu, per-lane form refused (V_MUL_F16, V_PK_MUL_F16, V_CVT_F16_F32, gpu: direct RDNA2 -> DXIL backend (no HLSL / DXC), behind XCL_DIRECT_DXIL #1426), wave32 and wave64 eachNot tested
XCL_DIRECT_DXIL=0/1variants, the seeds after the first mismatch,amd_reduced_seeds, Shaders: preserve first active lane reads across divergent switches #2192AI use
Granite900 commentedon Nov 26, 2026
RX 9070 XT (RDNA4) results for the AMD fuzz failures. With #2231 + #2192 + #1946 merged together onto
main, all DXIL fuzz tests pass.Tested
cargo test -p xcl --lib gpu::dxil::fuzz_testsmainres[30] = 0x1, CPU 0x7fffffff) and seed 1599 (res[193] = 0x1, CPU 0x0) fail64eef49e1d8341abfirst_active_lane_value_survives_a_divergent_switchpasses);fuzz_validate_and_gpu_1then fails on seed 783 (hidden behind 722 until now); 1599 fails (not in this PR)main+ #2231 + #2192 + #1946 (71acf1f)fuzz_validate_and_gpu_0..3,first_active_lane_value_survives_a_divergent_switch,shader_flags_follow_plain_instruction_typesSeed 783:
res[64] = 0xffffffff, CPU 0x7fffffff. It's the high dword ofdx.op.binary.i64IMax (op 37) over constants: IMax(-5, 0x7FFFFFFFFFFFFFFB). Signed max is0x7FFFFFFFFFFFFFFB(high0x7fffffff). The GPU returns the unsigned max0xFFFFFFFFFFFFFFFB(high0xffffffff). So amdxc64 on RDNA4 appears to fold i64 IMax as unsigned, and #1946's compare/select lowering avoids it.The merges were clean, with no conflicts.
Not tested
AI use: analysis and report drafted with Claude (Claude Opus 5.5) from my test runs.