Repository navigation
docs/testing.md: the cs_dpp_ops MoltenVK 1.4.2 row is fixed in the translator (SHADER-529) - #8651
Open
Stephan2620 wants to merge 1 commit into
Open
Stephan2620 wants to merge 1 commit into
Stephan2620 wants to merge 1 commit into
Conversation
…anslator (SHADER-529) The Known problems row still sent Mac users to MoltenVK main or KosmicKrisp. Since ItsNotRexed#3227 the DPP lowering stores its ballot and shuffle to variables of their own, and the MSL MoltenVK 1.4.2 generates from current main runs both as statements in every lane. The row now says so, and that a pass on a Mac does not prove it: an Apple M5 Pro gives the right words with 1.4.2 even when the ballot sits on the right of &&.
Grimkeh
reviewed
Nov 23, 2026
Grimkeh
left a comment
There was a problem hiding this comment.
Independent Linux docs review (0b55117d)
What changed: docs/testing.md marks the cs_dpp_ops MoltenVK 1.4.2 row as fixed in the translator (SHADER-529).
Checked:
- One-line docs update.
Looks fine; no game files.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Claimed in the coordination issue as: new item, #8504 (comment)
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 (#3227, merged) 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).-is currentmainwith SHADER-529'seager()stubbed out,+is currentmain:The row also says that a pass alone proves nothing on these Macs. On this M5 Pro the test returns
100 10 11 12 13 14 15 16both with and without the stores (the SPIR-V differs, 7 against 9 Function variables), which matches #4726 on an M2 and the M5 Pro run in #166 that asked for a second pair of eyes on this row.Tested
Apple M5 Pro, macOS 26.5.1, MoltenVK 1.4.2 (Homebrew, Vulkan 1.4.357), LLVM 23.1.6, main
867d922f0:run_gpu_tests.py: 180/241 passed, 60 skipped, 1 failed (cs_fma_fused, word 7 reads0x00000000, docs: cs_fma_fused reads 0 at word 7 on MoltenVK 1.4.2, not 0x3c00 #8183). WithLEONIDA_W64_EMULATE=1: 210/241 passed, 30 skipped, the same single failure.ctest: 64/64 passed.run_gpu_tests.py --filter cs_dppwitheager()returning its input unchanged (negative control, not committed): 8/9 passed, 1 skipped (cs_dpp_w64, no 64-wide subgroup), the same as without the change.tests/test_docs_*.pyandtests/test_text_write_line_endings.pygive the same results before and after.docs_cli_flags,docs_design_rows,docs_linksandtext_write_line_endingsalready fail on main for other files.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.