Debian and Ubuntu's llvm-<N> packages install llvm-mc only as llvm-mc-<N>
and /usr/lib/llvm-<N>/bin/llvm-mc. With LLVM_MC unset, the build looked
for the plain name alone and stopped with Windows advice
(scripts\build_llvm_mc.ps1, WSL), while tests/conftest.py already found
the versioned install, so the pytest suites passed where make_game.py
failed.
mc_command() now keeps the plain llvm-mc when it is on PATH (the name a
work folder's disassembly record holds) and otherwise takes the newest
versioned install, by version number. install_hint() gives each OS its
own advice; the preflight, shader_disasm.py and not_found() use it, and
the SPIRV-Tools hint names the distribution package off Windows and macOS.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Seven more test files that fail on main at d083a2c, after #9896:
- test_docs_repeated_lines: tests/semantic/README.md's command block is a fenced block, which the check skips;
its indented form put two lines with the same 40-character opening three lines apart
- test_docs_repo_paths: docs/retail_boot_intel_host.md names #8554's frame-loop notes instead of a path that
is not in the tree
- test_docs_env_vars: runtime/README.md documents LEONIDA_RNG_SEED (runtime/shims/bcrypt_rng.cpp)
- test_docs_design_rows: docs/README.md gets one row each for strand_grooms.md and ped_catalogues.md (two
rows each were merged in), and design.md escapes the pipe in `prim_cnt << 12 \| vtx_cnt`
- test_docs_cli_flags: docs/testing.md passes llvm-mc through LLVM_MC, so `brew --prefix` is no longer read as
a bench_wave64.py flag; pt-PT's quickstart points to the web checker that replaced tools/pc_checker.py
(5125a01), as README.md does; the spirv-opt passes docs/embedded_shaders.md quotes join FOREIGN
- test_bvh_slot_check: bvh_match.model_geometries() yields six fields since the render bucket was added;
unpack the two it needs
- test_joaat_agreement (find_hash_lookup's half): hash over the Latin-1 bytes like hashdict.joaat, as #6254 and
#7820 proposed
Still red, for a separate change: test_joaat_agreement's leonida_mods half (it hashes UTF-8 bytes like
runtime/src/mods.h, so both sides change together), test_f64_conversion and test_f64_output_modifiers (they
expect the output scaling #6314 gated by MODE) and test_bvh_shaders_stage.
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.