Skip to content

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

Open
etsukow wants to merge 1 commit into
ProjectLeonida:mainfrom
etsukow:gpu-apple-m4
Open

etsukow wants to merge 1 commit into
ProjectLeonida:mainfrom
etsukow:gpu-apple-m4

Conversation

@etsukow

@etsukow etsukow commented Nov 24, 2026

Copy link
Copy Markdown

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

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.

2 participants