The runtime and GPU test suite passes on real Apple Silicon hardware, while the hosted macos-26 paravirtual VM runner hits MoltenVK-specific failures on main. Disable the macos job in .github/workflows/runtime.yml and document it in docs/testing.md while keeping all Windows, Wine, and Linux CI jobs intact.
tools/rdna2spirv.py: main's float-only typed implicit sample (OpImageSampleImplicitLod)
is used only without --explicit-lod-bias; with the flag the Grad path still
scales the derivatives by the S# bias.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With its f16 operands taken at run time the test passes on the macos-26
runner (Apple Paravirtual device, MoltenVK 1.4.2): the job's last run on
this branch printed "cs_fma_fused passed: drop it from the expected
failures". The Known problems row says where it passes now.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
- test_tool_stdout_encoding: three scripts merged since this PR opened
(check_compute_journal_overlay.py and compute_workers_win.py with #2098,
corpus_watch.py with #817) get the same stdout guard as the tools here.
- test_runtime_paths: the runtime workflow's two path filters now include
tools/conformance/**, which runtime/CMakeLists.txt names. The change is
#1673's (xel1uz), carried here since #1673 duplicates this PR.
With it, test_tool_stdout_encoding, test_runner_calls_all_tests and
test_runtime_paths all pass on main.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Address CI-MAIN-SIGNAL review cost concerns with one staggered daily CI and Runtime snapshot, using their existing schedule-specific run groups. Keep push/PR cancellation and coalescing unchanged; do not expand every merge into full runner work. Synthetic schedule/expression controls included. AI-assisted.
tools/vk_lod_bias.py clears a two-level R32_SFLOAT image to 0.0 / 1.0 and
samples it at explicit LOD 0 through samplers with mipLodBias 0 and +1, from
Python through ctypes. vk_subgroup_info.py --lod-bias reports the answer as
explicit_lod_bias; lod_bias_probe.py uses it first and draws ps_ssharp only as
a fallback, with the Homebrew llvm-mc hint when llvm-mc is missing (#1774
review). build.py and make_game.py can now measure too.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The same MoltenVK 1.4.2 drops the bias on an Apple M3 and applies it on an
Apple M5 Pro (#1774 review), so the driver-ID rule turned ps_ssharp red on
the M5 Pro. tools/lod_bias_probe.py translates vs_ids and ps_ssharp without
the flag and draws LOD_BIAS 0, +1 and -1 with vk_sampler_test; the flag is
on only when +1 and -1 read the no-bias levels. run_gpu_tests.py, build.py
and make_game.py take its answer; vk_subgroup_info.py is back as on main.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The runtime workflow lists the files under tools/ that start it, and tests/test_runtime_paths.py fails when the build reads one that is not listed. #984 makes the runtime build read tools/spirv_loop_guard.py (a translator dependency) and tools/bcpack_history_train.cpp, which the test names (it fails on #984's head too), and the four Python files the bcpack tables are generated from (gen_bcpack_runtime_tables.py, bcpack.py, bcpack_tables.py, bcpack_tables_bptc.py), which CMake names through a variable the test cannot follow. All six are in both path lists now, so a change to any of them runs the Windows and Wine builds.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Merging.
**Why merged:** CI-only: a hung Windows runtime test now fails on its own (per-test ctest --timeout 300, TIMEOUT 180 on the loader test) instead of cancelling the whole job, and the job limit goes from 20 to 35 minutes. Each value is explained in a comment. Reviewed as good by Oliwettoo.
**Why it's good:** Workflow change with no new permissions, actions or downloads. The local tests it touches: 87 passed, 9 skipped. The runner-side effect can only be seen in CI, but there's nothing risky in it: the timeouts only turn hangs into failures.
Tested on Windows 11, RTX 4070 SUPER (NVIDIA 621.24), VS 2022 + Ninja RelWithDebInfo, Vulkan SDK 1.4.363.0, alone on main (21625bca8 or 51f316092) and in a cumulative merge of #497, #278, #310, #334, #346, #340, #355, #361, #363, #620 and #577 (which carries #540) on main 2d73c242f (git merge-tree: 0 conflicts against current main). Repo-consistency set (cmake/translator-deps, shader_stage_resume, runtime_paths, docs, make_game, no-game-data, run_semantic_tests): 566 passed / 5 skipped / 0 failed on main and on main + batch. compileall OK. Full ctest: 302/304 on main and on main + batch (the same two pre-existing failures, d3d12_execute_indirect_validation and d3d12_depth_resolve, no new ones).
AI-assisted (Claude Code, Claude Opus 5.5).
Track the catalog writer and its local imports in the shader-stage fingerprint
and CMake fixture dependencies. Cover the same files in both Runtime event
filters, including the optional native scanner reached by the carver.
Check both import graphs and document the standalone catalog refresh for
existing translations.
On Windows x64, touching the writer rebuilt the three bindless fixtures once.
All three passed spirv-val and both Vulkan bindless tests passed on an RTX
5070 Ti with driver 617.42. The semantic suite ran 6,108 tests with no failed
files. The regenerated 25,321-row catalog matched the local reference byte
for byte.
AI-assisted: OpenAI Codex
Why merged: each rdna2spirv index write now uses its own staging file and cleans it up, so parallel translations can't clobber each other's index; and, after review, the new tools/file_mode.py is registered as a translator input (translator_deps.cmake, make_game.py's translation sources, runtime.yml paths).
Why it's good: re-tested at e4dc13b on main d7576d5 (Windows 11, RTX 4070 SUPER): the new index-write tests go from 2 passed / 10 failed on main to 8 passed; the translator-input tests stay 56/56; the full repo-consistency set is 565 passed / 0 failed; compileall clean. Thanks @JiyouProt for the quick fix.
AI-assisted (Claude Code, Claude Opus 5.5).
Address review of #558: include file_mode.py in CMake shader dependencies,
make_game translation source digests, and both Runtime workflow path filters.
AI-assisted with Codex.
ci.yml (5 steps), runtime.yml (3) and xma2-decoder.yml (1) left the
GITHUB_TOKEN in .git/config for the rest of the job. No step in those
jobs runs an authenticated git command, so the token was never needed
there. The other 8 checkout steps already set the flag.
CI-SECURITY-CREDENTIALS
Since #462, tools/rdna2spirv.py imports rdna2_decode, which imports rdna2_isa_tables. Neither module was in the
three lists that track what the translator reads: LEONIDA_TRANSLATOR_DEPS (runtime/cmake/translator_deps.cmake),
TRANSLATION_SOURCES (make_game.py) and the runtime workflow's path filters. So test_cmake_translator_deps,
test_shader_stage_resume and test_runtime_paths fail on main, and an edit to the decoder neither rebuilds the GPU
test shaders, nor reruns translation, nor starts the runtime workflow.
Twelve test files failed on main at 2d53a8055 (CI's check and semantic-tests steps, run locally): most are a test
and the code it checks changed by different pull requests in the same merge round. Each fix below is either taken
from a closed pull request that already had it, or restores what an earlier merged change intended.
From closed pull requests:
- test_make_game_resume: FakeProc gets poll(), which translate() now calls (#7018)
- test_make_game_empty_translation: the Exited stub gets poll() and the failed-shard path is checked (#7214)
- test_shader_checks: stub table_fetch_test in the Wave64Checks harness and count it (#7433)
- test_runtime_paths: runtime.yml's path filter lists tools/replace_retry.py, which rdna2spirv.py imports (#7029)
- test_psin_names: patch the same_report_path helpers that report_paths now calls (#8719)
- test_report_source_collision: the fixture is a real Bink 2 header; bink_index refuses other files (#7408)
- test_missing_input_exit_codes: tile_probe checks its inputs before it asks for numpy (#4771)
Restored:
- merge_check: a failed `git show` is an error again (5b88d58); 21016cf brought back the lenient read that
treated it as a new file, while new files are already left out when the diff is read
- rpf_probe: a symlinked --out updates its target again (44d3595); 55d21cc's staged write replaced the link
Updated to the code:
- test_shader_stage_resume: TRANSLATION_SOURCES lists fssm_unpack.py and shader_stage_manifest.py, which the
translator imports; existing work folders translate once more after this
- test_tool_stdout_encoding: the 15 programs merged without the stdout guard get the same block as the others
- test_rdna2spirv_decode: drop the test of decode_any_format, which SHADER-849 replaced with the table decode
that tests/semantic/test_format_decode_table.py checks
Co-authored-by: jewmaster1337 <102986566+jewmaster1337@users.noreply.github.com>
Co-authored-by: TanmaySatyam <248538550+TanmaySatyam@users.noreply.github.com>
Co-authored-by: evilclanker9000 <45567075+evilclanker9000@users.noreply.github.com>
Co-authored-by: slint6614-dev <359954236+slint6614-dev@users.noreply.github.com>
Co-authored-by: BlackNife <108077267+Poussistar@users.noreply.github.com>
Co-authored-by: fiestorra <65175643+fiestorra@users.noreply.github.com>
Co-authored-by: fearkov <289226582+fearkov@users.noreply.github.com>
Co-authored-by: DoubleD17 <48109637+DoubleD17@users.noreply.github.com>
The account's 20 concurrent GitHub-hosted jobs have been saturated since
11-22 10:00 UTC and the queue wait grows by about an hour per hour. Three
jobs take about 40% of pull request runner time and never failed alone in
sampled pull request runs: wine (ubuntu) and wine (winehq-stable), 0 of
188, and semantic-tests (windows-latest), 0 of 914.
Pull requests now skip them; pushes to main and workflow_dispatch still
run them. Pull requests keep the native Windows build, its CTest run and
the runtime-windows artifact testers download.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merges that each passed alone but clash together:
- v_cmp_class_f64: the earlier cmp_class_f64 (685d16ed9) (operand-form checks, test_cmp_class_f64) and the later f64 branch
in cmp_class both handled the opcode; f64 goes to cmp_class_f64 again, f16 stays in cmp_class.
- rdna2spirv CLI tests: spirv-as/spirv-val now run in the output folder with the staging file's bare name, so
the test doubles resolve it against cwd; assemble_spirv decodes the output only when it is bytes. (The doubles
had been writing .spirv-*.tmp files into the repository root.)
- ps_w64 fixtures (TEST-722): an 18th fixture (ps_w64_a_discard) landed; its killed lanes export nothing and
keep the clear value.
- first_light: a run without an OBJ removes mesh.bin, and harness_env reads manifest["files"]; batch_glb's stats
name failures and dropped textures; run_gpu_tests reports a frame never written as a missing readback
(TEST-837).
- make_game TRANSLATION_SOURCES and runtime.yml's paths include spirv_opt.py and report_paths.py (and
wave64_emulate_opt.py), which the translator imports.
Repo rules: stdout guard on six tools; encoding on two opens (gen_gdk_runtime_classes' helper is read_utf8);
newline on one write; anim_skeleton_match's joaat encodes like hashdict.joaat; test_feature_scan's new test is
listed with the others its globals() runner reaches.
Co-Authored-By: Claude Opus 5.5 <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 wine job wrote https://dl.winehq.org/wine-builds/winehq.key straight
into /etc/apt/keyrings and the translator-tests job piped
https://apt.llvm.org/llvm-snapshot.gpg.key into gpg --dearmor, so apt
trusted whatever key those URLs served that day. Every other download in
CI is pinned (actions by commit, glslang by SHA-256, the Vulkan headers
by commit).
scripts/check_apt_key.py (standard library, gpg --show-keys) requires
the downloaded file to hold exactly one primary key with the given
fingerprint; both steps now download to a temporary file, check it
against the fingerprint each project publishes (WineHQ D43F6401...672F,
apt.llvm.org 6084F3CF...7421) and only then install it.
tests/test_check_apt_key.py: the parser and the check with a stand-in
gpg (the key, another key, two primary keys, subkeys, an unreadable
file, no gpg), the command line, and a scan of .github/workflows that
fails for a key download not checked right after (both of today's
downloads fail it on the old workflows).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The linux-gpu-tools job on ubuntu-24.04 uses the system's libvulkan-dev,
whose headers are too old for VK_KHR_pipeline_binary (vk_harness.cpp uses
VkPhysicalDevicePipelineBinaryFeaturesKHR unconditionally). Add the same
Vulkan headers cache + sparse checkout that the windows job uses and pass
VULKAN_SDK during configure, so the pinned vulkan-sdk-1.4.363.0 release
shadows the system headers.
This job was added in #144; the vulkan-headers cache step was left out.