[PR #785] gpu-test-results: Apple M5 on MoltenVK 1.4.2 (macOS 27.2.1) at 47c651174 (GPU-M5) #823

Open
opened 2026-11-26 20:19:10 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/785
Author: @hugo0024
Created: 11/24/2026
Status: 🔄 Open

Base: main ← Head: gpu-apple-m5


📝 Commits (1)

  • 2357144 gpu-test-results: Apple M5 on MoltenVK 1.4.2 (macOS 27.2.1) at 47c651174 (GPU-M5)

📊 Changes

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

View changed files

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

📄 Description

Claimed in the coordination issue as: GPU-M5 (claim)

Depends on: #564 (conflict only: both add a row after the Apple M5 Pro row of docs/gpu_test_results.md; nothing here needs it)

What and why

Adds a GPU test record for the base Apple M5: gpu-test-results/AppleM5.txt and its row in docs/gpu_test_results.md. The only Apple record on main is the M5 Pro (#552). This is a second chip, on a newer macOS, and it fails the same four tests. Everything is from the repository's synthetic fixtures; no game files.

GPU Apple M5 (8-core GPU, Metal 4), 16 GB unified memory
Driver MoltenVK 1.4.2 (Homebrew), Vulkan 1.4.357, subgroup 4..32
OS macOS 27.2.1 (26B131), arm64
Commit 47c651174 (main)
Tools llvm-mc 23.1.6 (Homebrew, AMDGPU), SPIRV-Tools v2026.4, Apple clang 21.0.0, CMake 4.5.1, Python 3.14.7

Tested

Two full passes on this GPU gave the same counts and the same failures:

Script Result
build.py 281/281 translated and valid
check.py 175/220 pass, 39 skipped, 6 failed
run_gpu_tests.py 185/249 passed, 61 skipped, 3 failed
run_gpu_tests.py, LEONIDA_W64_EMULATE=1 215/249 passed, 30 skipped, 4 failed
ctest 72/72 passed, 2 skipped

Failures, none new:

  • cs_fma_fused: word 7 reads 0x00000000, want 0x00007351. It is the MoltenVK 1.4.2 row of docs/testing.md and in the macOS job's EXPECTED_FAILURES.
  • cs_imgload_tfe and cs_imgload_d16_tfe: texel(5,3) = 2071 where 71 is expected (#31; #291 was not applied here).
  • ps_imgatomic: intermittent. 12 of 20 single native runs fail with 1 to 5 of 256 image-atomic texels wrong, the render target exact. #543 measured 11 of 20 on the M5 Pro.
  • check.py only: ps_ij_computed and ps_interp_f16_high, because the device has no PerVertexKHR inputs. run_gpu_tests.py passes the second with its f16 interpolation fallback and skips the first.

With LEONIDA_W64_EMULATE=1 all 31 wave64 compute tests run and pass.

The change itself is two documentation files: tests/test_docs_*.py and tests/test_i18n_index.py pass before and after (13 files), and scripts/check_no_game_data.py passes on both files.

GPUs tested: Apple M5 (8-core GPU), MoltenVK 1.4.2, macOS 27.2.1 (26B131)

AI-assisted: yes

Checklist

  • Based on current main and merges cleanly (a conflicting pull request is labeled needs rebase).
  • One topic; follow-up work goes in a new pull request.
  • No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
  • A new translator rule is in the contract table of docs/design.md, with how it was confirmed.

🤖 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/785 **Author:** [@hugo0024](https://github.com/hugo0024) **Created:** 11/24/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `gpu-apple-m5` --- ### 📝 Commits (1) - [`2357144`](https://github.com/ubiquitarianism/leonida/commit/235714427846a1288021c42059a374eae7970518) gpu-test-results: Apple M5 on MoltenVK 1.4.2 (macOS 27.2.1) at 47c651174 (GPU-M5) ### 📊 Changes **2 files changed** (+54 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docs/gpu_test_results.md` (+1 -0) ➕ `gpu-test-results/AppleM5.txt` (+53 -0) </details> ### 📄 Description Claimed in the coordination issue as: GPU-M5 ([claim](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7133176752)) Depends on: #564 (conflict only: both add a row after the Apple M5 Pro row of `docs/gpu_test_results.md`; nothing here needs it) ### What and why Adds a GPU test record for the base Apple M5: `gpu-test-results/AppleM5.txt` and its row in `docs/gpu_test_results.md`. The only Apple record on `main` is the M5 Pro (#552). This is a second chip, on a newer macOS, and it fails the same four tests. Everything is from the repository's synthetic fixtures; no game files. | | | |---|---| | GPU | Apple M5 (8-core GPU, Metal 4), 16 GB unified memory | | Driver | MoltenVK 1.4.2 (Homebrew), Vulkan 1.4.357, subgroup 4..32 | | OS | macOS 27.2.1 (26B131), arm64 | | Commit | `47c651174` (main) | | Tools | llvm-mc 23.1.6 (Homebrew, AMDGPU), SPIRV-Tools v2026.4, Apple clang 21.0.0, CMake 4.5.1, Python 3.14.7 | ### Tested Two full passes on this GPU gave the same counts and the same failures: | Script | Result | |---|---| | `build.py` | 281/281 translated and valid | | `check.py` | 175/220 pass, 39 skipped, 6 failed | | `run_gpu_tests.py` | 185/249 passed, 61 skipped, 3 failed | | `run_gpu_tests.py`, `LEONIDA_W64_EMULATE=1` | 215/249 passed, 30 skipped, 4 failed | | `ctest` | 72/72 passed, 2 skipped | Failures, none new: - `cs_fma_fused`: word 7 reads `0x00000000`, want `0x00007351`. It is the MoltenVK 1.4.2 row of `docs/testing.md` and in the macOS job's `EXPECTED_FAILURES`. - `cs_imgload_tfe` and `cs_imgload_d16_tfe`: `texel(5,3) = 2071` where 71 is expected (#31; #291 was not applied here). - `ps_imgatomic`: intermittent. 12 of 20 single native runs fail with 1 to 5 of 256 image-atomic texels wrong, the render target exact. #543 measured 11 of 20 on the M5 Pro. - `check.py` only: `ps_ij_computed` and `ps_interp_f16_high`, because the device has no PerVertexKHR inputs. `run_gpu_tests.py` passes the second with its f16 interpolation fallback and skips the first. With `LEONIDA_W64_EMULATE=1` all 31 wave64 compute tests run and pass. The change itself is two documentation files: `tests/test_docs_*.py` and `tests/test_i18n_index.py` pass before and after (13 files), and `scripts/check_no_game_data.py` passes on both files. GPUs tested: Apple M5 (8-core GPU), MoltenVK 1.4.2, macOS 27.2.1 (26B131) AI-assisted: yes ### Checklist - [x] Based on current `main` and merges cleanly (a conflicting pull request is labeled `needs rebase`). - [x] One topic; follow-up work goes in a new pull request. - [x] No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here. - [ ] A new translator rule is in the contract table of `docs/design.md`, with how it was confirmed. 🤖 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#823
No description provided.