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

Open
opened 2026-11-26 21:18:46 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/1718
Author: @Tauwni
Created: 11/25/2026
Status: 🔄 Open

Base: main ← Head: gpu-results-m3


📝 Commits (8)

  • 5346c77 gpu-test-results: Apple M3 on MoltenVK 1.4.2 (macOS 26.5.1) at 626d1281a (GPU-M3)
  • 30203dc gpu-test-results: Apple M3: cs_imgatomic_ext is the missing volume tag that #1518 adds (GPU-M3)
  • b6e7acf gpu-test-results: Apple M3: KosmicKrisp run, and the open pull requests that fix each failure here (GPU-M3)
  • 1fa6447 gpu-test-results: Apple M3: KosmicKrisp check.py, and all open fixes run together (GPU-M3)
  • 459cbb9 gpu-test-results: Apple M3: ps_ssharp passes with #1774 (GPU-M3)
  • 5af6cd3 Merge remote-tracking branch 'origin/main' into gpu-results-m3
  • 1052bee Merge main into gpu-results-m3
  • 31e8b01 gpu-test-results: Apple M3 again at a73a57e13, with KosmicKrisp, llvmpipe, validation and ctest

📊 Changes

2 files changed (+75 additions, -0 deletions)

View changed files

📝 docs/gpu_test_results.md (+1 -0)
➕ gpu-test-results/AppleM3.txt (+74 -0)

📄 Description

Claimed in the coordination issue as: GPU-M3 (https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7158464859)

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


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/1718 **Author:** [@Tauwni](https://github.com/Tauwni) **Created:** 11/25/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `gpu-results-m3` --- ### 📝 Commits (8) - [`5346c77`](https://github.com/ubiquitarianism/leonida/commit/5346c77be6e8615c06265348cf941f8249c8afc5) gpu-test-results: Apple M3 on MoltenVK 1.4.2 (macOS 26.5.1) at 626d1281a (GPU-M3) - [`30203dc`](https://github.com/ubiquitarianism/leonida/commit/30203dcddcde82f48ad62e65bb155735d563e86a) gpu-test-results: Apple M3: cs_imgatomic_ext is the missing volume tag that #1518 adds (GPU-M3) - [`b6e7acf`](https://github.com/ubiquitarianism/leonida/commit/b6e7acfb3225343cc45a0d5bbb863db5687564ba) gpu-test-results: Apple M3: KosmicKrisp run, and the open pull requests that fix each failure here (GPU-M3) - [`1fa6447`](https://github.com/ubiquitarianism/leonida/commit/1fa64472b5b9cb7676ab09832e80504445fe5826) gpu-test-results: Apple M3: KosmicKrisp check.py, and all open fixes run together (GPU-M3) - [`459cbb9`](https://github.com/ubiquitarianism/leonida/commit/459cbb9b19193ffd4fbb18442497bc885de8c728) gpu-test-results: Apple M3: ps_ssharp passes with #1774 (GPU-M3) - [`5af6cd3`](https://github.com/ubiquitarianism/leonida/commit/5af6cd3d69dc69baec78aa06fc418fc4bcbf83b5) Merge remote-tracking branch 'origin/main' into gpu-results-m3 - [`1052bee`](https://github.com/ubiquitarianism/leonida/commit/1052bee0f7f45e2fe2d1808424ca67077d6580d4) Merge main into gpu-results-m3 - [`31e8b01`](https://github.com/ubiquitarianism/leonida/commit/31e8b01a60fd5ed0b1f7de5ab8e62b0460cc0979) gpu-test-results: Apple M3 again at a73a57e13, with KosmicKrisp, llvmpipe, validation and ctest ### 📊 Changes **2 files changed** (+75 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docs/gpu_test_results.md` (+1 -0) ➕ `gpu-test-results/AppleM3.txt` (+74 -0) </details> ### 📄 Description Claimed in the coordination issue as: GPU-M3 (https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7158464859) ## 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://github.com/ubiquitarianism/leonida/pull/1518#issuecomment-7159135586)). - 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) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
starred/leonida#1733
No description provided.