Commit Graph

201 Commits

Author SHA1 Message Date
acccd0f1eb docs/testing: name tools/pc_checker.py as the CPU/GPU/RAM report for #166 (EGEN-PCCHECKER-DOC) (#6594)
Squash-merged after diff review of PR #6594
2026-11-23 11:20:29 -06:00
242968218a docs/testing: note KosmicKrisp nir_to_msl NaN canonicalization in cs_bvh (#6627)
Squash-merged after diff review of PR #6627
2026-11-23 11:12:31 -06:00
e76640014a docs: the AMD driver took 34 minutes on LeafRehydration's dispatch-loop module; the current translation compiles in 3 s (SHADER-995) (#6739)
Squash-merged after diff review of PR #6739
2026-11-23 10:49:09 -06:00
86a7807dd4 Barycentric fallback on by itself on AMD's Windows driver for gfx90c (#5933) (#6828)
Squash-merged after diff review of PR #6828
2026-11-23 10:42:42 -06:00
ee93d8ce2a run_gpu_tests, rdna2spirv: support --assembler python, --no-validate, and --disasm-dir (#6676)
Squash-merged after diff review of PR #6676 - run_gpu_tests, rdna2spirv: support --assembler python, --no-validate, and --disasm-dir
2026-11-23 10:05:36 -06:00
802ed3caa7 docs/testing.md: which Known problems rows the game's shaders reach (op_reach --fssm, name patterns) (#6818)
Squash-merged after diff review of PR #6818 - docs/testing.md: which Known problems rows the game's shaders reach (op_reach --fssm, name patterns)
2026-11-23 09:57:25 -06:00
ee56bf9335 runtime: a timed condition-variable wait releases its mutex on Wine 9 (#6847)
Squash-merged after diff review of PR #6847 - runtime: a timed condition-variable wait releases its mutex on Wine 9
2026-11-23 09:51:06 -06:00
ced4057a98 TEST-468/469: GPU test tools request shaderInt64 only when a module declares Int64; vk_bindless_test honours LEONIDA_VK_DEVICE (#2647)
Squash-merged after diff review of PR #2647
2026-11-23 09:35:16 -06:00
8f800c06e8 docs: show how to run one CI GPU test on Windows (#6309)
Squash-merged after diff review of PR #6309 - docs: show how to run one CI GPU test on Windows
2026-11-23 08:24:11 -06:00
c6384dfc81 d3d12_buffer_tiles: compare the layer with its own adapter's D3D12 (#6334)
Squash-merged after review of PR #6334 - d3d12_buffer_tiles: compare the layer with its own adapter's D3D12
2026-11-23 08:16:31 -06:00
4bffc09cb8 docs/testing: a Known problems row for GPU tests that crash on an uninvited implicit layer (#6317)
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)
2026-11-23 08:16:23 -06:00
e76cb47fb5 Runtime: D3D12 queues share a VkQueue when the GPU has no free one (Intel UHD 770 queueCount 1), plus a CPU-signal hang fix (#5110)
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
2026-11-23 08:11:02 -06:00
94083ce363 ci_expected_failures: --help works and a bad argument is one error line with exit 2 (EGEN-CIEXPECTED-CLI) (#6320)
Squash-merged after review of PR #6320 - ci_expected_failures: --help works and a bad argument is one error line with exit 2 (EGEN-CIEXPECTED-CLI)
2026-11-23 08:06:41 -06:00
2e52b2f1d7 Docs after round 44: one row per topic, escaped literal pipes, one copy of each repeated line and list item, one i18n row per language
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>
2026-11-22 23:24:16 -05:00
62cc53d1e0 Merge pull request #4654 from Etr0p
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	docs/design.md
#	docs/testing.md
2026-11-22 23:16:52 -05:00
b53838f86e Merge pull request #4614 from UlteriorMotive00
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	docs/testing.md
2026-11-22 23:16:26 -05:00
0307fed85e Merge pull request #4593 from Luiz Neves
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:16:14 -05:00
9fd1d8ebdd Merge pull request #4452 from YaBulochka
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:14:50 -05:00
fb46020a0a Merge pull request #4437 from Rafael
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	docs/testing.md
2026-11-22 23:14:43 -05:00
373c688468 Merge pull request #4388 from TG0000
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:14:16 -05:00
9e86705475 Merge pull request #4259 from YaBulochka
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:12:52 -05:00
d3184355a4 Merge pull request #4042 from Jan Trencansky
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	docs/testing.md
2026-11-22 23:10:43 -05:00
a6d4071781 Merge pull request #4005 from TreXito
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:10:19 -05:00
0a2d099ab4 Merge pull request #3982 from shelbykb2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:10:09 -05:00
a8a59bd647 Merge pull request #3972 from tedin7
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:10:03 -05:00
d040db9876 Merge pull request #3857 from TreXito
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:08:57 -05:00
e2ecb50cf1 Merge pull request #3855 from Oleg Makarov
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:08:56 -05:00
dcac3e73a0 Merge pull request #3838 from AwkGrep256
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:08:46 -05:00
b639b07aba Merge pull request #3837 from Maxime Mansiet
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:08:46 -05:00
3beddb7a91 Merge pull request #3830 from Sc4ros
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:08:42 -05:00
9839d6ad90 Merge pull request #3679 from Kevin Morales
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:08:15 -05:00
77d59085d9 Merge pull request #3260 from Kacper Serewis
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:07:05 -05:00
5e2ea6cfa2 Merge pull request #3248 from 0xTehuti
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:07:05 -05:00
af1d6a744f Merge pull request #3004 from Moaaz Gewili
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	docs/design.md
#	docs/testing.md
2026-11-22 23:06:38 -05:00
5987f76295 Merge pull request #2909 from Jolymmiles
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:06:23 -05:00
2eb5669566 Merge pull request #837 from DANISBR1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	docs/design.md
2026-11-22 23:04:57 -05:00
65c3e1e3c2 Merge main (2d3369a4) into test/877-compute-validation
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>
2026-11-23 03:49:50 +00:00
0f671416cf docs: the 128-byte push-constant limit on AMD RDNA2 iGPUs follows the driver
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>
2026-11-23 04:46:33 +01:00
b136ee4680 Tests: check Microsoft's recorded answers where Wine and Proton have no reference
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.
2026-11-22 20:40:59 -07:00
a3cbe85828 docs/testing.md: Known problems row for the AMD Windows native wave64 shuffle miscompile (#4613)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 22:09:50 -05:00
a71cd6d8b4 docs/testing.md: the cs_signed_zero_nan Mesa bug on RADV 25.0.7, ANV and llvmpipe 26.0.8 (PROC-227)
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.
2026-11-22 23:54:02 -03:00
db73bcfb37 docs/testing: name the vkd3d-proton null-argument crashes 2026-11-23 04:44:54 +03:00
968f6a7f16 docs(testing): run the Windows suite under Proton's wine
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).
2026-11-23 04:30:39 +03:00
606e4ef01c docs/testing.md: a known problem, the RTX 5080 616.92 wave64-emulate crosslane mismatch is the driver (SHADER-720)
@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>
2026-11-22 22:27:43 -03:00
c3d801b456 docs: required subgroup stages per AMD GPU generation; RDNA2 on Windows can't require pixel or mesh sizes
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>
2026-11-22 18:26:33 -07:00
387fe27fda fuzz: time out stalled Vulkan test processes in valu_fuzz 2026-11-23 01:54:05 +01:00
172953a371 docs/testing: judge the three present tests on a real display, not Xvfb 2026-11-23 03:23:30 +03:00
291767e54f CI: verify llvm-mc amdgcn target and retain test compatibility notes (BUILD-923)
- 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+.
2026-11-23 01:00:15 +01:00
ef3fe9ff14 Docs: the SHADER-705 note names the gfx1036 that ran under RADV and counts the failing shape in the corpus
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>
2026-11-22 17:57:00 -05:00
9b28252a69 vk_compute_test: take the validation setup from a shared runtime/test/vk_validation.h
OptInValidation reads LEONIDA_VK_VALIDATION, adds VK_LAYER_KHRONOS_validation, VK_EXT_debug_utils and
a messenger to the instance (keeping what the program already enables), counts validation-type
errors and turns them into the exit status. vk_compute_test uses it instead of its own copy, so the
other shader test programs can opt in with a few lines. docs/testing.md also no longer lists
vk_image_fuzz as a program that ignores the variable (it reads it).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 22:56:57 +00:00