mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 21:55:52 +01:00
[PR #550] [MERGED] docs/testing.md: the cs_dpp_ops MoltenVK 1.4.2 row is fixed in the translator (SHADER-529) #595
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#595
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/550
Author: @Stephan2620
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/24/2026
Merged by: @QemmHD
Base:
main← Head:docs/cs-dpp-ops-moltenvk-row-continued📝 Commits (1)
57ae634docs/testing.md: the cs_dpp_ops MoltenVK 1.4.2 row is fixed in the translator (SHADER-529)📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
docs/testing.md(+1 -1)📄 Description
Claimed in the coordination issue as: new item, https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7125098799
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.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.