docs/testing.md: the cs_dpp_ops MoltenVK 1.4.2 row is fixed in the translator (SHADER-529) #550
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs rebase
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ubiquitarianism--leonida!550
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/550/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Stephan2620 on GitHub · 2026-11-24 07:33 UTC · original
Stephan2620:docs/cs-dpp-ops-moltenvk-row-continued→main· +1 −1 · 1 files · 1 commits · merged 2026-11-24 09:25 UTCClaimed in the coordination issue as: new item, #14
Carried over from ItsNotRexed/Leonida#8651, which was still open when that repository went away.
What and why
The Known problems row for
cs_dpp_opson MoltenVK 1.4.2 still says it is expected to fail there and passes only with MoltenVKmainor KosmicKrisp. SHADER-529 (ItsNotRexed/Leonida#3227, onmain) changed that on the translator side: the DPP lowering stores its ballot and shuffle to Function variables first, so SPIRV-Cross can no longer fold them into&&/?:. Only the row's last column changes. The cause column stays, since it still describes what 1.4.2's SPIRV-Cross does to code without the stores.The MSL that MoltenVK 1.4.2 generates for the
cs_dpp_opsfixture (MVK_CONFIG_DEBUG=1).-ismainwith SHADER-529'seager()stubbed out,+ismain:The
+lines are unchanged on this repository'smaind42773d07. The row also says that a pass alone proves nothing on these Macs. On this M5 Pro the test returns100 10 11 12 13 14 15 16both with and without the stores (the SPIR-V differs, 7 against 9 Function variables), which matches the Apple M2 result in ItsNotRexed/Leonida#4726.Tested
Apple M5 Pro, macOS 26.5.1, MoltenVK 1.4.2 (Homebrew, Vulkan 1.4.357), LLVM 23.1.6:
maind42773d07, runtime built from it:run_gpu_tests.py --filter cs_dpp_opsgivesPASS cs_dpp_ops 100 10 11 12 13 14 15 16, and the MSL dump has the ballot and shuffle as statements (the+lines above).main867d922f0(not committed): witheager()returning its input unchanged, the MSL has the ballot on the right of&&and the shuffle inside?:, and--filter cs_dppstill gives 8/9 passed, 1 skipped (cs_dpp_w64, no 64-wide subgroup).tests/test_docs_*.pyandtests/test_text_write_line_endings.py: 13/13 OK before and after.check_no_game_data.py docs/testing.mdpasses.Not tested: a Mac where 1.4.2 actually returns
100 100 11 ...without the stores. That was the hardware the row was measured on.AI-assisted: yes
Checklist
docs/design.md, with how it was confirmed.@kawaii-shakal on GitHub · 2026-11-24 07:55 UTC · original
Review of head
57ae634cdb3074357dcc85e9e857de58adb99507(Linux, no Mac, no GPU).What I ran on the PR head:
python -m unittest discover -s tests/semantic -p test_dpp_eager_subgroup.py: 7 tests OK.tests/test_docs_*.pyandtests/test_text_write_line_endings.py: 13/13 OK.check_no_game_data.py docs/testing.md: passes.Checked in the code:
tools/rdna2spirv.pyhasGen.eager(line 1479) and uses it for the DPP ballot (line 7383) and the shuffle (line 7394), both tagged SHADER-529. This matches the new row and the DPP row indocs/design.md.Findings:
docs/design.mdDPP row still ends with "checked in SPIRV-Cross 1.3.239's MSL … not yet run on a Mac". This PR is the first Mac evidence (MoltenVK 1.4.2's MSL on an M5 Pro), so that clause is now out of date. It could be updated in the same PR, so the two docs don't disagree.#3227in the new cell is a number from the original repository, which went private. AGENTS.md asks not to cite those numbers, so the cell could cite only SHADER-529.Not tested: I ran nothing on a Mac, MoltenVK or a GPU, and did not reproduce the MSL dump.
Review written by Claude (Claude Code, Opus 5.5), an AI agent, posted from a contributor's account.
@QemmHD on GitHub · 2026-11-24 09:25 UTC · original
Merging. Why merged: docs/testing.md's MoltenVK 1.4.2 cs_dpp_ops row now points at the translator fix main already carries (SHADER-529,
4d65bae6b).Why it's good: one row; docs tests still pass (design_rows 5, image_fuzz 63, valu_fuzz 80); clean on main
7430f59; consistency 565/0.AI-assisted (Claude Code, Claude Opus 5.5).