Skip to content

rdna2spirv: --no-vertex-subgroups computes the VS lane from a ballot and a scan on MoltenVK (SHADER-302) - #6160

Open
shoal-rat wants to merge 2 commits into
ItsNotRexed:mainfrom
shoal-rat:vertex-lane-no-subgroups
Open

shoal-rat wants to merge 2 commits into
ItsNotRexed:mainfrom
shoal-rat:vertex-lane-no-subgroups

Conversation

@shoal-rat

Copy link
Copy Markdown
Contributor

SHADER-302. Claim: #1745 comment 7080201472. Follows up SHADER-231 (#1565), #1792 (Gen.mask_src) and SHADER-413 (#2493).

Supersedes #1784, which dropped the lane from one access path (lane 0 for ADD_TID) and no longer merges. Here the VS computes its exact lane, which covers ADD_TID, mask_src and the VS's own wave operations with no approximation. Same flag, probe and env variable as #1784, rebuilt on current main, with its review addressed (@sovljanskii's mask_src gap and test nit, @Jolymmiles's CMake note). Thanks to @sovljanskii, @Jolymmiles, @bobcatchris and @ashiikins for the corpus, Wine and M2 runs on #1784.

Problem

A VS reads its lane (Gen.wave_lane) in three cases:

Outside compute and mesh shaders that lane is SubgroupLocalInvocationId. MoltenVK's subgroupSupportedStages has no vertex bit, because a Metal vertex function has no SIMD-group lane id. SPIRV-Cross therefore stops:

[mvk-error] SPIR-V to MSL conversion error: Subgroup builtins are not available in this type of function.

On current main, @ashiikins counted 1,242 of the corpus's 2,236 VS failing pipeline creation on an M2 Max (after #2493), every one with this error.

Change

  • tools/rdna2spirv.py, --no-vertex-subgroups: a VS that reads its lane computes it once at entry (vertex_lane_lines) into a Private %sg_lane. Every existing OpLoad %sg_lane stays as it is.
    • rank = OpGroupNonUniformIAdd ExclusiveScan of 1.
    • lane = the position of set bit rank (counting from 0) of OpGroupNonUniformBallot(true). The code picks the ballot word whose running bit count passes rank, then does a five-step binary search over that word's halves with OpBitCount.
    • The ballot and the scan see the same active invocations, so set bit rank is the invocation's own bit. The result equals SubgroupLocalInvocationId on any active set, for subgroups up to 128 lanes.
    • A VS that never reads its lane declares none. Compute, mesh, geometry and pixel shaders are byte-identical, and so is everything without the flag.
    • Metal compiles ballots and scans in a vertex function. On such a device they are outside subgroupSupportedStages (VUID-RuntimeSpirv-None-06343), as Translator: v_readfirstlane_b32 in a vertex shader without BallotFindLSB (SHADER-413) #2493's ballot and shuffle already are, and the flag is only chosen for such a device.
  • tools/vk_subgroup_info.py: reports vertex_in_supported_stages.
  • make_game.py: turns the flag on by itself where that is false. Where the probe can't tell, it keeps the recorded flag (keep_recorded_fallback), as the other automatic flags do.
  • scripts/run_gpu_tests.py: turns the flag on where the device answer is false. LEONIDA_NO_VERTEX_SUBGROUPS=1/0 overrides it. The device answer is read from the last JSON line of the output, so driver log lines after it don't hide it. runtime/test/shaders/build.py takes =1.
  • tests/semantic/spirv_wave_interp.py:
    • OpGroupNonUniform{IAdd,BitwiseOr,BitwiseAnd,BitwiseXor} now support InclusiveScan/ExclusiveScan, per the spec, in invocation order. Before, only Reduce was supported.
    • OpLoad through a PhysicalStorageBuffer pointer works now. That branch had ended up as dead code inside OpAccessChain, after a return.
  • Docs: a new contract row "Subgroup lane in a vertex shader without vertex subgroups" in docs/design.md, a pointer from the swizzled-addressing row, and a rewritten "Macs: vertex shaders without subgroups" section in docs/testing.md. The section now includes @Jolymmiles's point about the D3D12 tests' CMake-built shaders (set the variable for cmake --build, and delete generated/*_shaders first).

Tested

Apple M5, macOS 27.2.1, MoltenVK 1.4.2, Khronos validation layer 1.4.363, LLVM 23.1.6, Python 3.14.

New GPU fixture vs_lane_mask. On current main no GPU-test VS reads its lane any more: idxen now ignores ADD_TID. So I added this fixture. Its v_cndmask takes the mask from user SGPR s2, which the translator can't prove is a lane mask, so each lane reads its own bit through its lane. It is drawn with ps_flat for s2 = 0 and for all bits set, and checked in both check.py and run_gpu_tests.py.

on the M5 flag on (auto) LEONIDA_NO_VERTEX_SUBGROUPS=0
vs_lane_mask PASS (exact for both masks; the module has no SubgroupLocalInvocationId) FAIL: Subgroup builtins are not available in this type of function

Rest of the suite, main 561b65a against this branch:

Lane correctness on the GPU. The VS can't read the built-in on Metal, so I checked the computed lane in a fragment shader, which can:

  • A hand-built fragment shader (generated from vertex_lane_lines, no game data) runs the same lines under two nested branches on the pixel position, and compares the result with SubgroupLocalInvocationId.
  • Result: 0 mismatches on all 2,944 pixels it covered, across 26 distinct lanes.
  • Negative control: the same shader with InclusiveScan mismatches on all 2,944.

Unit tests:

  • tests/semantic/test_no_vertex_subgroups.py (new):
    • the lines on the subgroup interpreter: 32 active sets on 32 lanes and 36 on 64, including bits only in word 1 (every active invocation gets its own lane);
    • a VS with an ADD_TID read (no idxen) and an SGPR mask: under the flag it declares no built-in and writes the same words as with the built-in, lane by lane, and those words differ from lane to lane;
    • a VS that never reads its lane declares none;
    • a CS and a PS translate byte-identically with and without the flag.
  • Negative control: with InclusiveScan in vertex_lane_lines, all 68 lane subtests and the lane-by-lane test fail.
  • tests/test_vk_subgroup_info.py: the vertex bit for all-graphics, MoltenVK-like and vertex-only stage masks.
  • tests/test_make_game_translator_flags.py:
    • the flag follows the device, can be asked for explicitly, and composes with the f16 fallback;
    • it is kept when the probe can't tell;
    • runtime_gpu_vertex_subgroups parses the probe.
  • tests/test_run_gpu_tests.py: the device answer, including a driver log line after the JSON, and the env override.
  • test_make_game_argparse, test_make_game_wave64 and test_make_game_preflight now patch the new probe, as they already patch the others. Without that, on a Mac they queried the real GPU and got the flag.
  • python -m unittest discover -s tests/semantic: 6155 tests OK (1 skipped, 1 expected failure). Of 398 stdlib tests/test_*.py files, 3 exit non-zero on this Mac: test_joaat_agreement, test_missing_input_exit_codes and test_saves. They fail the same way on main. The pytest-based files weren't run locally. compileall is clean.

Overlap

Open PRs that touch the same files: none for tools/vk_subgroup_info.py or tests/semantic/spirv_wave_interp.py among the 400 most recent open PRs. Many open PRs touch make_game.py, scripts/run_gpu_tests.py and docs/design.md, so a rebase may be needed. #1784 should be closed if this one is taken.

No game data. AI-assisted (Claude Code).

🤖 Generated with Claude Code

@dcastell1

Copy link
Copy Markdown
Contributor

Tested c4978fb on RTX 5090, 621.24, Windows 11: pass for this change. Programs rebuilt from this tree, LEONIDA_W64_EMULATE=1: 215/233 passed, 17 skipped, 1 failed, and the new fixture is exact:

PASS  vs_lane_mask   picks by its lane's bit of s2, exact for 0 and all bits

The single failure is ms_wave_info_s3 (fill pattern, -1,-1,-1,-1), and it is not this PR: the same test fails the same way on main 561b65a8 on this box (214/232, same single failure). It is the known mesh-wave-info area (#6172, #5273, #5262), and I have added my NVIDIA data point there.

@autowert66

Copy link
Copy Markdown

Tested c4978fbf2 on Apple M1 Max / macOS 27.2.1, MoltenVK 1.4.2: pass — and a gap on KosmicKrisp worth deciding on.

  • MoltenVK 1.4.2 (auto-flag on, as on the M5): vs_lane_mask PASS — "picks by its lane's bit of s2, exact for 0 and all bits". With LEONIDA_NO_VERTEX_SUBGROUPS=0 it fails at vkCreateGraphicsPipelines → -3, matching the PR's negative control.
  • Full native suite on MoltenVK at the head: 166/233 passed, 59 skipped, 8 failed — the same eight as main 561b65a83 on the same machine (M1 Max baseline: GPU test results (one comment per GPU and driver) #166 (comment)); no regressions, and the only delta is the new fixture passing.
  • KosmicKrisp (Homebrew mesa 26.3.1): the probe correctly reports vertex_in_supported_stages: false and the auto-flag turns on, but vs_lane_mask still fails at pipeline creation — MTLLibrary rejects thread_index_in_simdgroup in a vertex function. KK's own lowering of the vertex-stage ballot/scan uses the SIMD lane id, where MoltenVK/SPIRV-Cross's does not. So the technique is MoltenVK-specific on macOS: on KK the corpus VS shaders this targets would still fail at Metal compile, and per VUID-RuntimeSpirv-None-06343 a device without vertex subgroups owes no support for those ops anyway. The probe cannot currently tell "ballot-in-vertex lowering is Metal-legal here" from not; a skip for the second kind (or a documented non-goal under the best-effort-macOS decision) would keep run_gpu_tests green on KK.

Synthetic fixture only. AI-assisted (OpenCode / DeepSeek V4.1 Flash + GLM-5.3): the agents rebuilt at the head and ran the suite and driver checks sandboxed.

@Kam471 Kam471 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed c4978fbf23e449b57a2903eef326b4545823ec79 on Windows 11, Python 3.13.

  • python tests/semantic/test_no_vertex_subgroups.py -> 5 tests OK.
  • python -I -m pytest tests/test_run_gpu_tests.py tests/test_make_game_translator_flags.py tests/test_make_game_wave64.py tests/test_shader_checks.py tests/test_vk_subgroup_info.py tests/test_make_game_preflight.py -q -> 346 passed, 1 skipped, 504 subtests. git diff --check clean.
  • Rank-from-ballot + ExclusiveScan gives the active invocation's own set bit, i.e. the same lane as SubgroupLocalInvocationId; it is stored in a Private %sg_lane before first use, and the builtin decoration is correctly omitted. Auto-flag runs through vk_subgroup_info.
  • Scope is MoltenVK. Another reviewer reports KosmicKrisp still fails pipeline creation because its vertex ballot/scan lowering uses the SIMD lane id, so the probe cannot distinguish "Metal-legal ballot lowering" from not; that is a documented gap, not a regression here.

Verdict: LGTM for the stated MoltenVK target. First-frame: no Windows/D3D12 effect; relevant only to the macOS shader path.

@TheAirborneCoder

Copy link
Copy Markdown
Contributor

Tested c4978fbf2 merged onto main 561b65a83 on Apple M2 Ultra, macOS 27.3 (26C5035r), MoltenVK 1.4.2 and KosmicKrisp (Mesa 26.3.1), Homebrew LLVM llvm-mc 23.1.6, SPIRV-Tools 1.4.363.0: pass.

  • MoltenVK 1.4.2:
    • vk_subgroup_info.py --stage-caps reports "vertex_in_supported_stages": false (supported_subgroup_stages: 50, driver_id: 14).
    • scripts/run_gpu_tests.py (auto --no-vertex-subgroups): 166/233 passed, 59 skipped, 8 failed — vs_lane_mask PASS (picks by its lane's bit of s2, exact for 0 and all bits), exact +1 pass over main 561b65a83 (165/232 passed, 59 skipped, 8 failed) with the same 8 baseline MoltenVK failures.
    • LEONIDA_NO_VERTEX_SUBGROUPS=0 --filter vs_lane_mask: fails as expected at vkCreateGraphicsPipelines -> -3 ([mvk-error] SPIR-V to MSL conversion error: Subgroup builtins are not available in this type of function.).
    • build.py + check.lane_mask_test: passes with LEONIDA_NO_VERTEX_SUBGROUPS=1 and fails without it. Across all 238 translated GPU-test .spv modules, all 237 modules other than vs_lane_mask.spv are byte-identical with and without --no-vertex-subgroups, and vs_lane_mask.spv contains no SubgroupLocalInvocationId.
  • KosmicKrisp (Mesa 26.3.1):
    • Confirming @autowert66's report on M2 Ultra: vk_subgroup_info.py reports "vertex_in_supported_stages": false (supported_subgroup_stages: 48, driver_id: 28), and full run_gpu_tests.py gives 166/233 passed, 62 skipped, 5 failed (the 4 main baseline failures cs_bvh, cs_bvh32, ps_cndmask_sign_mods, ps_valu16_mad_sel, plus the new vs_lane_mask).
    • Tested both --no-vertex-subgroups (auto) and LEONIDA_NO_VERTEX_SUBGROUPS=0 directly in vk_harness: KosmicKrisp fails vkCreateGraphicsPipelines -> -1000012000 with the exact same MTLLibrary error in both modes (program_source:16:34: error: invalid 'thread_index_in_simdgroup' attribute for input declaration in a vertex function), because Mesa NIR lowers vertex ballot/scan through gl_SubGroupInvocation rather than SPIRV-Cross's direct simd_ballot/simd_prefix_exclusive_sum. Since docs/design.md already marks non-MoltenVK devices without vertex subgroups as unverified and no existing test regresses, this is non-blocking; a follow-up skip for vs_lane_mask when not vertex_in_supported_stages and driver_id != VK_DRIVER_ID_MOLTENVK would keep KK's failure count unchanged.
  • CPU / unit suites: python3 -m unittest discover -s tests/semantic -v ran 6,155 tests OK (skipped=4, expected failures=1); compileall and the 8 touched tests/test_*.py suites all pass.

Synthetic fixtures only; no game data. AI-assisted.

@autowert66

Copy link
Copy Markdown

M1 Max matches the M2 Ultra data point for point: auto-flag on, 166/233 with the exact +1 over main on MoltenVK 1.4.2; on KosmicKrisp vs_lane_mask fails at pipeline creation in both flag modes with the same MTLLibrary thread_index_in_simdgroup error, while the probe correctly reports vertex_in_supported_stages: false (driver_id 28). The NIR-lowering explanation fits what we see: the translated module has no SubgroupLocalInvocationId of its own, so the failure is entirely in KK's own ballot/scan lowering. The proposed skip (not vertex_in_supported_stages and driver_id != VK_DRIVER_ID_MOLTENVK) would keep this suite's KK failure count at the main baseline; happy to pick it up as a follow-up here if that's the preferred shape.

@larpinguser larpinguser left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Summary: Adds rdna2spirv.py --no-vertex-subgroups, with NO_VERTEX_SUBGROUPS and vertex_lane_lines() computing a VS lane at entry from OpGroupNonUniformIAdd ExclusiveScan of 1 plus a four-word ballot and five-step OpBitCount binary search, stored in a Private %sg_lane. assemble() swaps the Input builtin for Private storage and adds the needed capabilities; make_game.py/scripts/run_gpu_tests.py forward the flag and detect devices where SPIRV-Cross lacks vertex subgroups. New tests/semantic/test_no_vertex_subgroups.py, vs_lane_mask.asm, docs and flag tests cover it.

Why merge: Unblocks vertex-shader pipeline creation on MoltenVK/Metal where SubgroupLocalInvocationId cannot be declared.

Verdict: Approve

@larpinguser

Copy link
Copy Markdown

Summary: Adds rdna2spirv.py --no-vertex-subgroups, with NO_VERTEX_SUBGROUPS and vertex_lane_lines() computing a VS lane at entry from OpGroupNonUniformIAdd ExclusiveScan of 1 plus a four-word ballot and five-step OpBitCount binary search, stored in a Private %sg_lane. assemble() swaps the Input builtin for Private storage and adds the needed capabilities; make_game.py/scripts/run_gpu_tests.py forward the flag and detect devices where SPIRV-Cross lacks vertex subgroups. New tests/semantic/test_no_vertex_subgroups.py, vs_lane_mask.asm, docs and flag tests cover it.

Why merge: Unblocks vertex-shader pipeline creation on MoltenVK/Metal where SubgroupLocalInvocationId cannot be declared.

Verdict: Approve

@shoal-rat
shoal-rat force-pushed the vertex-lane-no-subgroups branch from c4978fb to bfc472b Compare November 23, 2026 15:40
shoal-rat added a commit to shoal-rat/Leonida that referenced this pull request Nov 23, 2026
KosmicKrisp (Mesa 26.3.1) has no vertex-stage subgroups either, but it
lowers --no-vertex-subgroups' ballot and scan through the SIMD lane id,
which a Metal vertex function can't declare, so vs_lane_mask failed
there with the flag and without it (found by autowert66 and
TheAirborneCoder on ItsNotRexed#6160). Such a driver owes no vertex-stage group
operations (VUID-RuntimeSpirv-None-06343), so check.py and
run_gpu_tests.py now skip the fixture where vk_subgroup_info.py reports
vertex_in_supported_stages false and the driver isn't MoltenVK.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@shoal-rat

shoal-rat commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor Author

Rebased onto main 2693dc59e (conflicts in scripts/run_gpu_tests.py, tests/test_shader_checks.py and docs/design.md, all adjacent lines; the fixture count is now + 16, after main's sixth compute fixture). Added one commit for the KosmicKrisp gap @autowert66 and @TheAirborneCoder found. Thanks both, and @dcastell1, @Kam471 and @larpinguser for the runs and reviews.

  • KosmicKrisp skip: check.py and run_gpu_tests.py now SKIP vs_lane_mask where tools/vk_subgroup_info.py reports vertex_in_supported_stages: false and the driver isn't MoltenVK (check.lane_mask_skip). This is the condition you proposed.
    • Mesa lowers the ballot and the scan through the SIMD lane id, which a vertex function can't declare, so the fixture can't pass there in either mode. A driver without vertex subgroups owes no vertex-stage group operations (VUID-RuntimeSpirv-None-06343).
    • MoltenVK, devices with vertex subgroups, and a probe that can't answer still run the fixture.
    • tests/test_shader_checks.py covers the four device cases, that the skip comes before vk_harness runs, and the probe's last-JSON-line parsing.
  • Docs: the docs/design.md row and the docs/testing.md Mac section now name the KosmicKrisp case and quote rdna2spirv: --no-vertex-subgroups so VS buffer fetches build on MoltenVK (SHADER-302) #1784's corpus counts. They no longer say "unverified" for other drivers.
  • Apple M5, MoltenVK 1.4.2, at the new head:
    • vs_lane_mask PASS with the flag on (auto), FAIL with LEONIDA_NO_VERTEX_SUBGROUPS=0, as before.
    • Full suite: 176/236 passed, 59 skipped, 1 failed. The failure is cs_fma_fused, the known MoltenVK row.
    • tests/semantic: 5,826 OK.
    • The touched tests/test_*.py files and compileall are clean.
  • I couldn't run it on KosmicKrisp myself. The skip path is covered by the unit tests, and a run on an M1 or M2 with KK would confirm it end to end.

AI-assisted (Claude Code).

@shoal-rat
shoal-rat force-pushed the vertex-lane-no-subgroups branch from bfc472b to 23ae617 Compare November 23, 2026 15:49
shoal-rat added a commit to shoal-rat/Leonida that referenced this pull request Nov 23, 2026
KosmicKrisp (Mesa 26.3.1) has no vertex-stage subgroups either, but it
lowers --no-vertex-subgroups' ballot and scan through the SIMD lane id,
which a Metal vertex function can't declare, so vs_lane_mask failed
there with the flag and without it (found by autowert66 and
TheAirborneCoder on ItsNotRexed#6160). Such a driver owes no vertex-stage group
operations (VUID-RuntimeSpirv-None-06343), so check.py and
run_gpu_tests.py now skip the fixture where vk_subgroup_info.py reports
vertex_in_supported_stages false and the driver isn't MoltenVK.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
shoal-rat and others added 2 commits November 23, 2026 23:51
…HADER-302)

A VS reads its lane for the ADD_TID_ENABLE term of a run-time V# access
(SHADER-231), for a lane mask in an SGPR it can't prove is one
(Gen.mask_src, ItsNotRexed#1792) and for its own wave operations, and outside
compute and mesh shaders that lane is SubgroupLocalInvocationId. A Metal
vertex function has no SIMD-group lane id, so on MoltenVK SPIRV-Cross
stops with "Subgroup builtins are not available in this type of
function" and those VS fail pipeline creation.

With --no-vertex-subgroups a VS that reads its lane computes it at entry
into a Private %sg_lane: rank = exclusive add of 1, lane = position of
set bit `rank` of ballot(true). The ballot and the scan see the same
active invocations, so this is the invocation's own bit, equal to
SubgroupLocalInvocationId on any active set (subgroups up to 128).
Metal compiles ballots and scans in vertex functions. Other stages, and
everything without the flag, are unchanged.

vk_subgroup_info.py reports vertex_in_supported_stages; make_game.py and
run_gpu_tests.py turn the flag on where it is false
(LEONIDA_NO_VERTEX_SUBGROUPS overrides the runner, build.py takes =1).
The subgroup interpreter gains Inclusive/ExclusiveScan for the integer
group ops and loads through PhysicalStorageBuffer pointers (that branch
was dead code inside OpAccessChain).

New GPU fixture vs_lane_mask (a v_cndmask mask in user SGPR s2, drawn
with ps_flat): on an Apple M5 it passes with the flag and fails without
it with MoltenVK's subgroup-builtin error.

Supersedes ItsNotRexed#1784.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
KosmicKrisp (Mesa 26.3.1) has no vertex-stage subgroups either, but it
lowers --no-vertex-subgroups' ballot and scan through the SIMD lane id,
which a Metal vertex function can't declare, so vs_lane_mask failed
there with the flag and without it (found by autowert66 and
TheAirborneCoder on ItsNotRexed#6160). Such a driver owes no vertex-stage group
operations (VUID-RuntimeSpirv-None-06343), so check.py and
run_gpu_tests.py now skip the fixture where vk_subgroup_info.py reports
vertex_in_supported_stages false and the driver isn't MoltenVK.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@autowert66

Copy link
Copy Markdown

Confirmed end to end on the hardware you asked for — Apple M1 Max, macOS, MoltenVK 1.4.2 and KosmicKrisp (Mesa 26.3.1), on your rebased head (0cf2b619f):

  • MoltenVK: vs_lane_mask passes ("picks by its lane's bit of s2, exact for 0 and all bits") — the MoltenVK path is unchanged, as the condition intends.
  • KosmicKrisp: vs_lane_mask skips with the gate's own message — "no vertex-stage subgroups on driver ID 28, not MoltenVK, whose ballot and scan lowering is the one vs_lane_mask needs" — instead of the failure we saw before the skip.

That closes the loop on the KK gap: the condition you adopted from the review covers it exactly, and both drivers now behave as described on real hardware. The rest of the rebase looks consistent with what was endorsed earlier; no other KK-specific change needed from us.

AI-assisted: the agent built the runtime and ran the fixture on both drivers.

@InCaseOf

Copy link
Copy Markdown

Tested 0cf2b61 on RX 5700 XT (RDNA1, gfx1010, RADV NAVI10), Mesa 26.3.1, Linux 6.18: pass

  • scripts/run_gpu_tests.py: 212/240 passed, 28 skipped, 0 failed.
  • vs_lane_mask (added/changed here): PASS — picks by its lane's bit of s2, exact for 0 and all bits
  • w64_graphics.py over all fixtures: 29/29 ok.
  • tests/test_make_game_argparse.py: Ran 36 tests in 0.833s OK (skipped=1)
  • tests/test_make_game_preflight.py: Ran 95 tests in 0.172s OK (skipped=1)
  • tests/test_make_game_translator_flags.py: Ran 29 tests in 0.115s OK
  • tests/test_make_game_wave64.py: Ran 38 tests in 0.172s OK
  • tests/test_run_gpu_tests.py: Ran 60 tests in 0.184s OK
  • tests/test_vk_subgroup_info.py: Ran 50 tests in 0.017s OK
  • scripts/run_semantic_tests.py tests/semantic -j 8: 439 files, 5851 tests, 0 files failed.
  • python -m unittest discover -s tests/semantic -p test_no_vertex_subgroups.py: 5 tests OK.
  • tests/test_shader_checks.py: 15 errors, identical on main e36d4c4 in this environment, so not from this PR.

LLVM llvm-mc 23.1.5, SPIRV-Tools v2026.4, Python 3.14; test programs built from main e36d4c4 unless rebuilt for the PR as noted. main e36d4c4 on the same GPU: run_gpu_tests.py 212/240, 28 skipped, 0 failed; w64_graphics.py 29/29; semantic suite 2 files failing (test_image_atomics_guard, test_image_store_d16). No game files.

AI-assisted (Claude Code).

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants