Skip to content

gpu-test-results: Apple M4 (MoltenVK 1.4.2, macOS 27.3) (GPU-M4) - #564

Merged
DadaCap merged 1 commit into
ProjectLeonida:mainfrom
etsukow:gpu-apple-m4
Nov 28, 2026
Merged

DadaCap merged 1 commit into
ProjectLeonida:mainfrom
etsukow:gpu-apple-m4

Conversation

@etsukow

@etsukow etsukow commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

Claimed in the coordination issue as: GPU-M4 (#14 (comment))

What and why

Adds the Apple M4 GPU-test record in the gpu-test-results/ format, and its row in docs/gpu_test_results.md. No other Apple silicon desktop is recorded on this repository's main (#552's M5 Pro is still open), so this adds the second Apple data point and cross-checks it against it: native/emulated counts are word-identical (183/61, 214/30) on 1c93c86 and on the M5 machine's d42773d07, and the four failures match. Two differences recorded: ps_ssharp fails deterministically here (3 single-filter runs, same words), and the #543 ps_imgatomic flake never appears on this machine.

The tfe pair (#31) was checked on a clean worktree at #291 (de87b1a): all four cs_imgload* fixtures pass there (4/4), so #291 fixes them on MoltenVK 1.4.2 too. cs_fma_fused was also run under LEONIDA_FMA=khr: the device has shaderFmaFloat32/Float16 and word 7 still reads 0x00000000, which localizes the split to MoltenVK's lowering, not to the emitted OpFmaKHR — recorded in the note.

Tested

  • run_gpu_tests.py native (two full runs, identical results) and with LEONIDA_W64_EMULATE=1: 183/248 (61 skipped) and 214/248 (30 skipped) on commit 1c93c869.
  • build.py + check.py two-step: 280/280 translated, 280 spirv-val; 174 of 219 pass, 39 skipped, 6 failed.
  • ctest: 72/72 passed, 2 skipped (portable macOS subset).
  • rdna2spirv: zero the tfe/lwe status VGPR on image_load and image_load_mip #291 checked out clean at de87b1a: the four cs_imgload* fixtures pass.

GPUs tested: Apple M4 (8-core), MoltenVK 1.4.2 (Homebrew bottle), Vulkan loader 1.4.357, macOS 27.3 arm64

AI-assisted: yes (omp)

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. (not applicable; no translator changes)

@PierreEbele

Copy link
Copy Markdown
Contributor

Reviewed fbc9aaf, consistency of the record only (no Apple GPU here). Two statements in gpu-test-results/AppleM4.txt contradict the data:

All counts add up (174+39+6, 183+61+4, 214+30+4). docs/gpu_test_results.md also conflicts with current main (#552's M5 Pro row is at the same place), so it needs a rebase.

AI-assisted review.

Recommendation: Fix first

@MoonEyes

Copy link
Copy Markdown
Collaborator

Hi @etsukow, thanks for this pull request. It currently conflicts with main (conflicting file(s): docs/gpu_test_results.md), so it carries the needs rebase label. CONTRIBUTING.md asks authors to rebase their branch on main; once it merges cleanly the label goes within the hour, and reviews start with the pull requests that do. Could you update the branch when you have a moment? If you no longer plan to continue with it, please say so here.

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

@DadaCap
DadaCap merged commit 30fecae into ProjectLeonida:main Nov 28, 2026
1 check passed
@DadaCap

DadaCap commented Nov 28, 2026

Copy link
Copy Markdown
Collaborator

Thanks for the record! It is now on main through #2568, which combined 17 GPU test record PRs to avoid 17 conflicting edits of the shared table in docs/gpu_test_results.md. #2568 was merged with a merge commit, so your own commits are kept in the history under your name. Closing this one as done.

AI-assisted (Claude Code, Claude Opus 5.5), posted for the maintainers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs rebase Conflicts with the base branch: rebase it on main

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants