Squash-merged after review of PR #6317 - docs/testing: a Known problems row for GPU tests that crash on an uninvited implicit layer (EGEN-FPSMON-LAYER-ROW)
Squash-merged after review of PR #5110 - Runtime: D3D12 queues share a VkQueue when the GPU has no free one (Intel UHD 770 queueCount 1), plus a CPU-signal hang fix
Also: #2490's committed conflict markers in fssm_crosscheck.md resolved to main's text, the SHADER-605 section
moved below the troubleshooting table it split, a header rule for the export-format table, two backticked
paths that name no Leonida file, and the BOM dropped from anim_move.py and its test.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
vk_compute_test.cpp: keep both includes (vk_validation.h from this branch,
cs_wave_probe_spv.h from main).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
docs/testing.md said AMD's Windows driver reports 128 bytes of push
constants on RDNA2 iGPUs, as a property of the chips. A Radeon 610M on
AMD 26.11.2 (Windows 32.0.21045.29003) reports 256, and the GPU suite
runs there without the "need 144 push constant bytes" skip. Name the
driver versions the 128 figure was measured on, in docs/testing.md,
the --pc-tail-ubo row of docs/design.md and the D3D-14 paragraph of
docs/d3d12_vulkan.md, and add the 26.11.2 measurement.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Under Wine the host D3D12 is vkd3d and under Proton vkd3d-proton, and
Proton's EnumWarpAdapter returns the hardware adapter, so the host and
WARP references six tests compare with are not Microsoft's runtime:
d3d12_r9g9b9e5_uav, d3d12_method_variants and d3d12_sampler2 fail under
Proton (the last two crash inside vkd3d-proton), d3d12_fence_timing and
d3d12_subresource_copy under both, d3d12_private_data under Wine.
The six skip the host comparison there with hostwine::host_is_wine() and
check the layer against Microsoft's answers recorded in the test instead,
so Wine and Proton still check values. d3d12_r9g9b9e5_uav gets WARP's
words for its six clear cases, from the packing rule in
docs/d3d12_vulkan.md. d3d12_subresource_copy and d3d12_private_data get
answer tables, taken from the records that Windows runs on NVIDIA and AMD
compared with Microsoft's runtime with no mismatches; LEONIDA_D3D49_DUMP=1
prints the host's record on Windows to regenerate them. The other three
already had recorded answers. Windows still compares with the live
runtime too.
The Known problems row named RADV on Mesa 25.2/25.3 and llvmpipe. It adds
the measurements since: RADV 25.0.7 on an RX 7800 XT (@mrbean56, #4421),
ANV 25.2.8 on an Intel UHD 630 (@theswiss24, #4571), and llvmpipe on Mesa
26.0.8, which still gives word 5 = 0 (not judged there by check.py). The
cs_w32_salu64 half is ACO's, so only RADV has it.
Prefix setup, the emulator flag and WINEDLLOVERRIDES in one place, with
the measured result on Proton 11.0: 127 passed, 20 skipped, seven
host-comparison failures against vkd3d-proton (two of them a crash in
d3d12core.dll when the host device is created).
@Vonsek's cs_xl64_9100373886 mismatch (seed 91001) fails only on an RTX 5080
with Windows 32.0.16.1692 (616.92). The same SPIR-V matches the model on an
RTX 3060 616.64 (mine), RTX 5060 Ti 621.14 (@etcetera-yt), RTX 5070 Ti 621.24
(@Kam471) and an RTX 5080 with Linux 580.65.06 (@tedin7). The row names the
fix (621.14 or newer) and @tedin7's related Linux wave32 permlane cases.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The "Which stages can be required" row in d3d12_vulkan.md said the AMD Windows driver reports
FRAGMENT | COMPUTE | TASK | MESH, from a Radeon 880M (RDNA3.5). On an RX 6800 (RDNA2, gfx1030) with the
same 26.11.2 release (Windows driver 32.0.21045.29003) it reports COMPUTE only, sizes 32..64, default 64,
measured 2026-11-22. The row is now per GPU, with the 880M kept, the RX 6800 measurement, and
@AC-Storm-YT's 9800X3D iGPU (RDNA2: COMPUTE only) and RX 9070 XT (RDNA4: all four) from #313.
Measured on the RX 6800: no size can be requested for pixel or mesh shaders, and at the default a probe
pixel shader counts 64 live invocations per subgroup (SPIR-V 1.5 and 1.6); ms_w64x_ballot passes natively.
In ps_bitmask_perm lanes 32-63 (2,048 of 4,096 pixels) read v_mbcnt_lo = 32; its check judges lanes 0-31
only. d3d12_subgroup_test, testing.md (tier C pixel fixtures skip here too) and the known gaps say the same.
tools/wave32_pixel_scan.py counts the wave32 pixel shaders with lane-crossing or width-dependent
instructions, by family (counts only; test: tests/test_wave32_pixel_scan.py). Control: 12,101 PS, 1,127
wave32, as in design.md. 1,010 have v_readlane/v_writelane/v_readfirstlane, 146 v_mbcnt, 105 s_bcnt1/s_ff1
of a lane mask, and all 1,127 an EXEC/VCC branch or mask SCC vote.
Co-Authored-By: Claude Opus <noreply@anthropic.com>
- In .github/workflows/runtime.yml, add a sanity check step ensuring /usr/lib/llvm-19/bin/llvm-mc has amdgcn target support after package installation.
- In docs/testing.md, retain the note that older llvm-mc (18+) supports valu_fuzz.py --family mem and lds_fuzz.py, while stock CI fixtures need 19+ and full f16 fuzzing requires 21+.
The first version said "the same chip": the RADV runs are on another gfx1036 (a Ryzen 9 7950X3D's), where the two
Windows reports are a Ryzen 7 9700X's and one more. The 96 wrong words are lanes 32-63 of each wave on
32.0.21045.16010 and lanes 0-15 and 32-47 on 32.0.21042.62.
Added, measured here:
- the reported program and its 12-instruction reduction are exact natively under RADV as 192 threads and as one
64-thread group, with the driver's default subgroup size and with vk_compute_test --require-wave64 (the fuzzer's
native run does not request a subgroup size, so the Windows driver with --require-wave64 is listed as not checked);
- over the 26,503 shaders of the game, 2,293 use v_permlanex16_b32 and 27 a DPP op with a partial row_mask; 6 have
both, all wave32 compute, and in none does the shuffle read a register such a DPP op wrote last.
The "what to do" cell no longer recommends --wave64-emulate on: auto stays native on AMD's Windows driver for
RDNA1/2 because that driver can crash on emulated LDS code (#857).
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>