gpu-test-results: Apple M3 on MoltenVK 1.4.2 (macOS 26.5.1) at 626d1281a (GPU-M3) #1718

Open
github-bot wants to merge 9 commits from github-bot/gh-1718 into main AGit
Owner

@⁠Tauwni on GitHub · 2026-11-25 09:32 UTC · original
Tauwni:gpu-results-m3 → main · +75 −0 · 2 files · 9 commits · open

Claimed in the coordination issue as: GPU-M3 (#1608)

Update (31e8b01a6): results again at main a73a57e13

AppleM3.txt and its row are now at a73a57e13, for MoltenVK 1.4.2, KosmicKrisp and llvmpipe (Mesa 26.3.1), each native and with LEONIDA_W64_EMULATE=1:

Driver native LEONIDA_W64_EMULATE=1 check.py (with #1444)
MoltenVK 1.4.2 195/268, 3 failed 229/268, 3 failed 185/234, 5 failed
KosmicKrisp 190/268, 5 failed 224/268, 5 failed 179/234, 6 failed
llvmpipe 177/268, 1 failed 212/268, 1 failed 120/234, 1 failed

Also new in the file:

  • ctest: 106/108 on main (a fresh build stops at cs_null_descriptors.spv), 108/108 with #2096.
  • A whole-suite run under validation on MoltenVK (with #2178): nothing beyond the three messages docs/testing.md lists.
  • The fuzzers, and the DPP fixtures on a Mac.
  • The causes found since then. KosmicKrisp's failures come from its (NAN) constants (#2229) and its fast-math library mode (#1724). With two local Mesa patches, KosmicKrisp is down to cs_imgatomic_ext alone.

Every failure left has an open PR (#1724, #1774, #1518, #2176, #2229). The text below is the first version, at 626d1281a.


What and why

GPU test results for an Apple M3 (10-core GPU, subgroup 32), MoltenVK 1.4.2 from Homebrew, macOS 26.5.1 (25F80), at 626d1281a. Adds gpu-test-results/AppleM3.txt and a row in docs/gpu_test_results.md. There was no M3 entry yet.

  • run_gpu_tests.py: 192/263 passed, 68 skipped, 3 failed (native); 225/263 passed, 35 skipped, 3 failed with LEONIDA_W64_EMULATE=1.
  • check.py: 183/231 pass, 43 skipped, 5 failed. On main, build.py stops at cs_dpp_cmp.asm and writes no SPIR-V, so these counts are with #1444 (TEST-BUILD-TEXT-ONLY) applied locally, not committed here: 297/297 translated and valid.
  • ctest: 85/85 passed, 2 skipped.

Failures, each deterministic (4 full runs, then 20/20 with --filter, the same words every time):

  • cs_fma_fused: the known MoltenVK 1.4.2 row, already in the macOS job's EXPECTED_FAILURES.
  • ps_ssharp: already in EXPECTED_FAILURES (LOD bias on a Metal sampler); the same pixel as the M4 in #564.
  • cs_imgatomic_ext: 6 of 64 sint words still hold the swap row's initial 0x0badf00d (want 0x00000101). Not Mac-specific: the same on KosmicKrisp and llvmpipe here; it regressed at #939 and #1518 fixes it (tested on all three drivers, comment).
  • check.py only: ps_ij_computed and ps_interp_f16_high (no PerVertexKHR, as on the M5 Pro).

Also on KosmicKrisp (Mesa 26.3.1), same machine and test programs: 187/263 passed, 71 skipped, 5 failed (220/263 with LEONIDA_W64_EMULATE=1); ctest 85/85. Failures: cs_bvh, cs_bvh32 (the known KosmicKrisp row), cs_imgatomic_ext (#1518), and ps_cndmask_sign_mods, ps_valu16_mad_sel, which pass on MoltenVK and llvmpipe and look like the measured KosmicKrisp NaN canonicalization; neither is listed yet.

Open pull requests, each run here against the same test programs:

PR Result on this M3
#1444 build.py text-only fixtures build.py 297/297, check.py runs
#1518 cs_imgatomic_ext volume tag passes on MoltenVK, KosmicKrisp, llvmpipe
#1724 cs_fma_fused f16 at run time passes on MoltenVK 20/20; fails on KosmicKrisp 20/20 (0x7352, want 0x7351), which passes on main
#822 check.py f16 interpolation fallback ps_interp_f16_high ok, ps_ij_computed skipped with its reason
#1426 computed I/J under --bary-fallback no change on Mac (needs a geometry stage)
#1212 / #137 NaN-pattern constants in image_bvh cs_bvh, cs_bvh32 pass on KosmicKrisp and MoltenVK
#1774 --explicit-lod-bias (MoltenVK drops the sampler's LOD bias) ps_ssharp passes; with everything here merged, MoltenVK has no failure left

All of these together (on main 57ba40bd6, test programs rebuilt; #822 and #1444 conflict in build.py, resolution in #822's thread): MoltenVK leaves only ps_ssharp failing (194/263, check.py 186/231); KosmicKrisp leaves cs_fma_fused (from #1724), ps_cndmask_sign_mods, ps_valu16_mad_sel, and in check.py cs_fmt_all; ctest 88/88; translator suite 6292 tests, standard-library loop 499 files, pytest 1912 passed, all with 0 failures.

Tested

The runs above, on this machine. scripts/check_no_game_data.py, tests/test_docs_*.py and tests/test_i18n_index.py pass on this branch and on it merged into main 57ba40bd6 (no conflict). On that merge, on this Mac: scripts/run_semantic_tests.py tests/semantic 488 files, 6287 tests, 0 failed; the standard-library loop 498 files, 4 failed, the same 4 as on main without this branch (test_runner_calls_all_tests and test_tool_stdout_encoding pass with #1673, test_runtime_paths with #1657, test_mod_pack_output_alias with #1412); the pytest files 1908 passed, 18 skipped, 2 failed, both test_translate.py[cs_dpp_cmp.asm] as on main, and they pass with #1375. This branch only adds a text file and a table row.

GPUs tested: Apple M3 (10-core GPU), MoltenVK 1.4.2 and KosmicKrisp (Mesa 26.3.1), Vulkan 1.4.357, macOS 26.5.1 (25F80), arm64; llvmpipe (Mesa 26.3.1) for the cross-checks

AI-assisted: yes (Claude Code)

Checklist

  • Based on current main and merges cleanly.
  • One topic.
  • No game data, keys or decryption.
  • No translator rule.

🤖 Generated with Claude Code

**@⁠Tauwni** on GitHub · 2026-11-25 09:32 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/1718) `Tauwni:gpu-results-m3` → `main` · +75 −0 · 2 files · 9 commits · open Claimed in the coordination issue as: GPU-M3 (https://git.gtahub.st/github/ubiquitarianism--leonida/issues/1608) ## Update (`31e8b01a6`): results again at `main` `a73a57e13` `AppleM3.txt` and its row are now at `a73a57e13`, for MoltenVK 1.4.2, KosmicKrisp and llvmpipe (Mesa 26.3.1), each native and with `LEONIDA_W64_EMULATE=1`: | Driver | native | `LEONIDA_W64_EMULATE=1` | check.py (with #1444) | |---|---|---|---| | MoltenVK 1.4.2 | 195/268, 3 failed | 229/268, 3 failed | 185/234, 5 failed | | KosmicKrisp | 190/268, 5 failed | 224/268, 5 failed | 179/234, 6 failed | | llvmpipe | 177/268, 1 failed | 212/268, 1 failed | 120/234, 1 failed | Also new in the file: - `ctest`: 106/108 on `main` (a fresh build stops at `cs_null_descriptors.spv`), 108/108 with #2096. - A whole-suite run under validation on MoltenVK (with #2178): nothing beyond the three messages `docs/testing.md` lists. - The fuzzers, and the DPP fixtures on a Mac. - The causes found since then. KosmicKrisp's failures come from its `(NAN)` constants (#2229) and its fast-math library mode (#1724). With two local Mesa patches, KosmicKrisp is down to `cs_imgatomic_ext` alone. Every failure left has an open PR (#1724, #1774, #1518, #2176, #2229). The text below is the first version, at `626d1281a`. --- ### What and why GPU test results for an Apple M3 (10-core GPU, subgroup 32), MoltenVK 1.4.2 from Homebrew, macOS 26.5.1 (25F80), at `626d1281a`. Adds `gpu-test-results/AppleM3.txt` and a row in `docs/gpu_test_results.md`. There was no M3 entry yet. - `run_gpu_tests.py`: 192/263 passed, 68 skipped, 3 failed (native); 225/263 passed, 35 skipped, 3 failed with `LEONIDA_W64_EMULATE=1`. - `check.py`: 183/231 pass, 43 skipped, 5 failed. On `main`, `build.py` stops at `cs_dpp_cmp.asm` and writes no SPIR-V, so these counts are with #1444 (TEST-BUILD-TEXT-ONLY) applied locally, not committed here: 297/297 translated and valid. - `ctest`: 85/85 passed, 2 skipped. Failures, each deterministic (4 full runs, then 20/20 with `--filter`, the same words every time): - `cs_fma_fused`: the known MoltenVK 1.4.2 row, already in the macOS job's `EXPECTED_FAILURES`. - `ps_ssharp`: already in `EXPECTED_FAILURES` (LOD bias on a Metal sampler); the same pixel as the M4 in #564. - `cs_imgatomic_ext`: 6 of 64 sint words still hold the swap row's initial `0x0badf00d` (want `0x00000101`). Not Mac-specific: the same on KosmicKrisp and llvmpipe here; it regressed at #939 and #1518 fixes it (tested on all three drivers, [comment](https://git.gtahub.st/github/ubiquitarianism--leonida/pulls/1518)). - check.py only: `ps_ij_computed` and `ps_interp_f16_high` (no PerVertexKHR, as on the M5 Pro). Also on **KosmicKrisp** (Mesa 26.3.1), same machine and test programs: 187/263 passed, 71 skipped, 5 failed (220/263 with `LEONIDA_W64_EMULATE=1`); ctest 85/85. Failures: `cs_bvh`, `cs_bvh32` (the known KosmicKrisp row), `cs_imgatomic_ext` (#1518), and `ps_cndmask_sign_mods`, `ps_valu16_mad_sel`, which pass on MoltenVK and llvmpipe and look like the measured KosmicKrisp NaN canonicalization; neither is listed yet. Open pull requests, each run here against the same test programs: | PR | Result on this M3 | |---|---| | #1444 build.py text-only fixtures | build.py 297/297, check.py runs | | #1518 cs_imgatomic_ext volume tag | passes on MoltenVK, KosmicKrisp, llvmpipe | | #1724 cs_fma_fused f16 at run time | passes on MoltenVK 20/20; **fails on KosmicKrisp** 20/20 (`0x7352`, want `0x7351`), which passes on `main` | | #822 check.py f16 interpolation fallback | `ps_interp_f16_high` ok, `ps_ij_computed` skipped with its reason | | #1426 computed I/J under --bary-fallback | no change on Mac (needs a geometry stage) | | #1212 / #137 NaN-pattern constants in image_bvh | `cs_bvh`, `cs_bvh32` pass on KosmicKrisp and MoltenVK | | #1774 `--explicit-lod-bias` (MoltenVK drops the sampler's LOD bias) | `ps_ssharp` passes; with everything here merged, MoltenVK has no failure left | **All of these together** (on `main` `57ba40bd6`, test programs rebuilt; #822 and #1444 conflict in `build.py`, resolution in #822's thread): MoltenVK leaves only `ps_ssharp` failing (194/263, check.py 186/231); KosmicKrisp leaves `cs_fma_fused` (from #1724), `ps_cndmask_sign_mods`, `ps_valu16_mad_sel`, and in check.py `cs_fmt_all`; ctest 88/88; translator suite 6292 tests, standard-library loop 499 files, pytest 1912 passed, all with 0 failures. ### Tested The runs above, on this machine. `scripts/check_no_game_data.py`, `tests/test_docs_*.py` and `tests/test_i18n_index.py` pass on this branch and on it merged into `main` `57ba40bd6` (no conflict). On that merge, on this Mac: `scripts/run_semantic_tests.py tests/semantic` 488 files, 6287 tests, 0 failed; the standard-library loop 498 files, 4 failed, the same 4 as on `main` without this branch (`test_runner_calls_all_tests` and `test_tool_stdout_encoding` pass with #1673, `test_runtime_paths` with #1657, `test_mod_pack_output_alias` with #1412); the pytest files 1908 passed, 18 skipped, 2 failed, both `test_translate.py[cs_dpp_cmp.asm]` as on `main`, and they pass with #1375. This branch only adds a text file and a table row. GPUs tested: Apple M3 (10-core GPU), MoltenVK 1.4.2 and KosmicKrisp (Mesa 26.3.1), Vulkan 1.4.357, macOS 26.5.1 (25F80), arm64; llvmpipe (Mesa 26.3.1) for the cross-checks AI-assisted: yes (Claude Code) ### Checklist - [x] Based on current `main` and merges cleanly. - [x] One topic. - [x] No game data, keys or decryption. - [x] No translator rule. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 10:02:19 +00:00
Author
Owner

@⁠Tauwni on GitHub · 2026-11-26 13:39 UTC · original

Updated to main a73a57e13 (31e8b01a6). AppleM3.txt and its row now cover:

  • MoltenVK, KosmicKrisp and llvmpipe, each native and with LEONIDA_W64_EMULATE=1;
  • check.py with #1444, and ctest (106/108 on main, 108/108 with #2096);
  • a whole-suite validation run (nothing beyond the three documented messages);
  • the fuzzers;
  • the causes found since: KosmicKrisp's (NAN) constants (#2229) and its fast-math library mode (#1724).

All failures left have an open PR. Counts and pass/fail lines only.

AI-assisted (Claude Code). No game data.

**@⁠Tauwni** on GitHub · 2026-11-26 13:39 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/1718#issuecomment-7193645887) Updated to `main` `a73a57e13` (`31e8b01a6`). `AppleM3.txt` and its row now cover: - MoltenVK, KosmicKrisp and llvmpipe, each native and with `LEONIDA_W64_EMULATE=1`; - `check.py` with #1444, and `ctest` (106/108 on `main`, 108/108 with #2096); - a whole-suite validation run (nothing beyond the three documented messages); - the fuzzers; - the causes found since: KosmicKrisp's `(NAN)` constants (#2229) and its fast-math library mode (#1724). All failures left have an open PR. Counts and pass/fail lines only. AI-assisted (Claude Code). No game data.
Author
Owner

@⁠Tauwni on GitHub · 2026-11-27 13:29 UTC · original

The two red checks on this run don't come from this PR, which only adds gpu-test-results/AppleM3.txt and a row in docs/gpu_test_results.md:

  • macos-python: test_calibrated_texture_extra.py fails at test_export_file_replacement_failure_cleans_temporary_file (OSError not raised). That is a known red on main without numpy, fixed by #2101.
  • check: cancelled, not failed. The job stopped after 15 minutes inside the standard-library test step.

AI-assisted (Claude Code, Claude Opus 5.5).

**@⁠Tauwni** on GitHub · 2026-11-27 13:29 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/1718#issuecomment-7219549392) The two red checks on this run don't come from this PR, which only adds `gpu-test-results/AppleM3.txt` and a row in `docs/gpu_test_results.md`: - `macos-python`: `test_calibrated_texture_extra.py` fails at `test_export_file_replacement_failure_cleans_temporary_file` (`OSError not raised`). That is a known red on `main` without numpy, fixed by #2101. - `check`: cancelled, not failed. The job stopped after 15 minutes inside the standard-library test step. AI-assisted (Claude Code, Claude Opus 5.5).
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/1718/head:github-bot/gh-1718'
git switch 'github-bot/gh-1718'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-1718'
git switch 'github-bot/gh-1718'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-1718'
git switch 'github-bot/gh-1718'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-1718'
git switch 'main'
git merge --squash 'github-bot/gh-1718'
git switch 'main'
git merge --ff-only 'github-bot/gh-1718'
git switch 'main'
git merge 'github-bot/gh-1718'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.