rdna2spirv: keep plain-data VCC sources on the 64-bit data path in is_mask_op and src64_data (SHADER-SALU64-VCC-DATA-SRC) #1990
Closed
ShotTechOp wants to merge 1 commit from
upstream-pr/1990 into main
pull from: upstream-pr/1990
merge into: ProjectLeonida:main
ProjectLeonida:main
ProjectLeonida:claude/loop-total
ProjectLeonida:claude/pops-collision-seed
ProjectLeonida:claude/dstorage-hold-page-reads
ProjectLeonida:claude/host-image-copy-switch
ProjectLeonida:feat/gdk-lifecycle-window-hook
ProjectLeonida:claude/d16s8-uav-nvidia-fallback
ProjectLeonida:feat/mfplat-offline-shim
ProjectLeonida:claude/gameinput-slow-reader
ProjectLeonida:fix/rt-null-barrier-clear
ProjectLeonida:claude/depth-resolve-sample-positions
ProjectLeonida:integration/palmetto-parity
ProjectLeonida:claude/valu-literal-sext
ProjectLeonida:claude/slot74-pool-handle
ProjectLeonida:claude/rgb9e5-uint-alias-view
ProjectLeonida:claude/fssm-root-layout-tables
ProjectLeonida:feat/gdk-speech-display-lifecycle
ProjectLeonida:asset-audio-skip-current
ProjectLeonida:qemmhd/old-9940-rectangle-quad-lists
ProjectLeonida:feat/ws2-offline-shim
ProjectLeonida:qemmhd/rt-d16-unorm-uav
ProjectLeonida:feat/xs-device-stops-7-9
ProjectLeonida:qemmhd/rt-depth-same-base-shapes
ProjectLeonida:qemmhd/rt-lazy-attachment-variant
ProjectLeonida:feat/acphal-xma2-decoder
ProjectLeonida:asset-audio-skip
ProjectLeonida:codex/coord-claim-check-20261124-7e48
ProjectLeonida:feat/xs-frame-pacing-presentx
ProjectLeonida:feat/xs-device-vm-options
ProjectLeonida:old-pr/9844
ProjectLeonida:old-pr/9978
ProjectLeonida:old-pr/9815
ProjectLeonida:old-pr/10057
ProjectLeonida:old-pr/9874
ProjectLeonida:old-pr/9965
ProjectLeonida:old-pr/9863
ProjectLeonida:old-pr/10068
ProjectLeonida:old-pr/10066
ProjectLeonida:old-pr/10067
ProjectLeonida:old-pr/10007
ProjectLeonida:old-pr/10061
ProjectLeonida:old-pr/10065
ProjectLeonida:old-pr/10059
ProjectLeonida:old-pr/10063
ProjectLeonida:old-pr/10055
ProjectLeonida:old-pr/10062
ProjectLeonida:old-pr/10042
ProjectLeonida:old-pr/10041
ProjectLeonida:old-pr/10049
ProjectLeonida:old-pr/10047
ProjectLeonida:old-pr/10046
ProjectLeonida:old-pr/10045
ProjectLeonida:old-pr/10056
ProjectLeonida:old-pr/10043
ProjectLeonida:old-pr/10036
ProjectLeonida:old-pr/10034
ProjectLeonida:old-pr/9984
ProjectLeonida:old-pr/10052
ProjectLeonida:old-pr/10038
ProjectLeonida:old-pr/10033
ProjectLeonida:old-pr/10028
ProjectLeonida:old-pr/10050
ProjectLeonida:old-pr/9891
ProjectLeonida:old-pr/9889
ProjectLeonida:old-pr/10051
ProjectLeonida:old-pr/10019
ProjectLeonida:old-pr/10027
ProjectLeonida:old-pr/10029
ProjectLeonida:old-pr/10031
ProjectLeonida:old-pr/10026
ProjectLeonida:old-pr/9941
ProjectLeonida:old-pr/10030
ProjectLeonida:old-pr/10040
ProjectLeonida:old-pr/9990
ProjectLeonida:old-pr/10021
ProjectLeonida:old-pr/9962
ProjectLeonida:old-pr/10022
ProjectLeonida:old-pr/10020
ProjectLeonida:old-pr/10015
ProjectLeonida:old-pr/10025
ProjectLeonida:old-pr/9886
ProjectLeonida:old-pr/10048
ProjectLeonida:old-pr/10014
ProjectLeonida:old-pr/10011
ProjectLeonida:old-pr/9861
ProjectLeonida:old-pr/10010
ProjectLeonida:old-pr/10008
ProjectLeonida:old-pr/9860
ProjectLeonida:old-pr/10006
ProjectLeonida:old-pr/9920
ProjectLeonida:old-pr/9995
ProjectLeonida:old-pr/10000
ProjectLeonida:old-pr/10016
ProjectLeonida:old-pr/10004
ProjectLeonida:old-pr/10023
ProjectLeonida:old-pr/9982
ProjectLeonida:old-pr/9981
ProjectLeonida:old-pr/9983
ProjectLeonida:old-pr/9970
ProjectLeonida:old-pr/9969
ProjectLeonida:old-pr/9968
ProjectLeonida:old-pr/9971
ProjectLeonida:old-pr/9972
ProjectLeonida:old-pr/9942
ProjectLeonida:old-pr/9963
ProjectLeonida:old-pr/9960
ProjectLeonida:old-pr/9964
ProjectLeonida:old-pr/9985
ProjectLeonida:old-pr/9973
ProjectLeonida:old-pr/9862
ProjectLeonida:old-pr/9953
ProjectLeonida:old-pr/10017
ProjectLeonida:old-pr/9952
ProjectLeonida:old-pr/9955
ProjectLeonida:old-pr/9946
ProjectLeonida:old-pr/9954
ProjectLeonida:old-pr/9938
ProjectLeonida:old-pr/9956
ProjectLeonida:old-pr/9856
ProjectLeonida:old-pr/9947
ProjectLeonida:old-pr/9924
ProjectLeonida:old-pr/9961
ProjectLeonida:old-pr/9927
ProjectLeonida:old-pr/9979
ProjectLeonida:old-pr/10032
ProjectLeonida:old-pr/9926
ProjectLeonida:old-pr/5237
ProjectLeonida:old-pr/9951
ProjectLeonida:old-pr/9931
ProjectLeonida:old-pr/9902
ProjectLeonida:old-pr/9921
ProjectLeonida:old-pr/9994
ProjectLeonida:old-pr/9775
ProjectLeonida:old-pr/9768
ProjectLeonida:old-pr/9905
ProjectLeonida:old-pr/9936
ProjectLeonida:old-pr/9901
ProjectLeonida:old-pr/9904
ProjectLeonida:old-pr/9906
ProjectLeonida:old-pr/9988
ProjectLeonida:old-pr/9908
ProjectLeonida:old-pr/9909
ProjectLeonida:old-pr/9911
ProjectLeonida:old-pr/9912
ProjectLeonida:old-pr/9913
ProjectLeonida:old-pr/9887
ProjectLeonida:old-pr/9916
ProjectLeonida:old-pr/9919
ProjectLeonida:old-pr/9925
ProjectLeonida:old-pr/9933
ProjectLeonida:old-pr/9935
ProjectLeonida:old-pr/9918
ProjectLeonida:old-pr/9879
ProjectLeonida:old-pr/9880
ProjectLeonida:old-pr/9881
ProjectLeonida:old-pr/9996
ProjectLeonida:old-pr/9876
ProjectLeonida:old-pr/9892
ProjectLeonida:old-pr/9899
ProjectLeonida:old-pr/9915
ProjectLeonida:old-pr/9914
ProjectLeonida:old-pr/9872
ProjectLeonida:old-pr/9869
ProjectLeonida:old-pr/9866
ProjectLeonida:old-pr/9819
ProjectLeonida:old-pr/10012
ProjectLeonida:old-pr/9857
ProjectLeonida:old-pr/9893
ProjectLeonida:old-pr/9897
ProjectLeonida:old-pr/9928
ProjectLeonida:old-pr/9868
ProjectLeonida:old-pr/9917
ProjectLeonida:old-pr/9940
ProjectLeonida:old-pr/9873
ProjectLeonida:old-pr/9816
ProjectLeonida:old-pr/10009
ProjectLeonida:old-pr/9900
ProjectLeonida:old-pr/9966
ProjectLeonida:old-pr/9859
ProjectLeonida:old-pr/9843
ProjectLeonida:old-pr/9991
ProjectLeonida:old-pr/10058
ProjectLeonida:old-pr/9883
ProjectLeonida:old-pr/9838
ProjectLeonida:old-pr/9835
ProjectLeonida:old-pr/9959
ProjectLeonida:old-pr/9895
ProjectLeonida:old-pr/9837
ProjectLeonida:old-pr/9858
ProjectLeonida:old-pr/9865
ProjectLeonida:old-pr/9864
ProjectLeonida:old-pr/9840
ProjectLeonida:old-pr/9820
ProjectLeonida:old-pr/4669
ProjectLeonida:old-pr/9848
ProjectLeonida:old-pr/9850
ProjectLeonida:old-pr/9810
ProjectLeonida:old-pr/9799
ProjectLeonida:old-pr/9853
ProjectLeonida:old-pr/9875
ProjectLeonida:old-pr/9831
ProjectLeonida:old-pr/9796
ProjectLeonida:old-pr/9801
ProjectLeonida:old-pr/9813
ProjectLeonida:old-pr/9794
ProjectLeonida:old-pr/7417
ProjectLeonida:old-pr/9781
ProjectLeonida:old-pr/9806
ProjectLeonida:old-pr/9958
ProjectLeonida:old-pr/9809
ProjectLeonida:old-pr/9791
ProjectLeonida:old-pr/9792
ProjectLeonida:old-pr/10053
ProjectLeonida:old-pr/9784
ProjectLeonida:old-pr/9789
ProjectLeonida:old-pr/9849
ProjectLeonida:old-pr/9846
ProjectLeonida:old-pr/9773
ProjectLeonida:old-pr/9785
ProjectLeonida:old-pr/9803
ProjectLeonida:old-pr/9826
ProjectLeonida:old-pr/9839
ProjectLeonida:old-pr/9922
ProjectLeonida:old-pr/9948
ProjectLeonida:old-pr/7189
ProjectLeonida:old-pr/9957
ProjectLeonida:old-pr/9823
ProjectLeonida:old-pr/9807
ProjectLeonida:old-pr/9851
ProjectLeonida:old-pr/9774
ProjectLeonida:old-pr/9830
ProjectLeonida:old-pr/9836
ProjectLeonida:old-pr/9822
ProjectLeonida:old-pr/9783
ProjectLeonida:old-pr/9833
ProjectLeonida:old-pr/9890
ProjectLeonida:old-pr/9770
ProjectLeonida:old-pr/9769
ProjectLeonida:old-pr/9772
ProjectLeonida:old-pr/9787
ProjectLeonida:old-pr/9852
ProjectLeonida:old-pr/9834
ProjectLeonida:old-pr/9845
ProjectLeonida:old-pr/9871
ProjectLeonida:old-pr/9771
ProjectLeonida:old-pr/9776
ProjectLeonida:old-pr/10005
ProjectLeonida:old-pr/9949
ProjectLeonida:old-pr/9923
ProjectLeonida:old-pr/9805
ProjectLeonida:old-pr/9829
ProjectLeonida:old-pr/9790
ProjectLeonida:old-pr/9827
ProjectLeonida:old-pr/9929
ProjectLeonida:old-pr/9855
ProjectLeonida:old-pr/9934
ProjectLeonida:old-pr/9907
ProjectLeonida:old-pr/9910
ProjectLeonida:old-pr/9779
ProjectLeonida:old-pr/9780
ProjectLeonida:old-pr/9885
ProjectLeonida:old-pr/9882
ProjectLeonida:old-pr/9877
ProjectLeonida:old-pr/9998
ProjectLeonida:old-pr/4251
ProjectLeonida:old-pr/9987
ProjectLeonida:old-pr/9989
ProjectLeonida:old-pr/9950
ProjectLeonida:old-pr/9777
ProjectLeonida:old-pr/10044
ProjectLeonida:old-pr/9884
ProjectLeonida:old-pr/2906
ProjectLeonida:old-pr/5076
ProjectLeonida:old-pr/9937
ProjectLeonida:old-pr/9986
ProjectLeonida:old-pr/3014
ProjectLeonida:old-pr/9943
ProjectLeonida:old-pr/9939
ProjectLeonida:old-pr/4682
ProjectLeonida:old-pr/4765
No reviewers
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Reference
ProjectLeonida/mandy!1990
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1990"
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?
Imported from ubiquitarianism/leonida. Originally posted by ShotTechOp on 2026-11-25T17:34:05Z.
Claimed in #1608 as
SHADER-SALU64-VCC-DATA-SRC.What and why
Gen.is_mask_opintools/rdna2spirv.pypreviously returnedTrueunconditionally whenever an operand wasvcc,vcc_lo, orvcc_hi, even whenlane_masks.pyprovedvccholds plain scalar data (for example afters_mov_b32 vcc_lo, .../s_mov_b32 vcc_hi, ...).Gen.holds_lane_maskalready returnsTrueunconditionally forexec/exec_lo/exec_hiand returnsTrueforvcc/vcc_lo/vcc_hionly whenvccactually holds a lane mask ("vcc" in self.cur_masks).vccbranch inis_mask_op:s_not_b64,s_{and,or,xor,andn2,orn2,nand,nor,xnor}_b64, ands_cselect_b64with a plain-datavccsource took the per-lane mask path, dropping%vcc_hiand the high dword of the paired SGPR, duplicating the low 32-bit word into both destination dwords, and votingSCCacross the wave instead of testing(D.lo | D.hi) != 0.s_cmov_b64,s_quadmask_b32/s_quadmask_b64, ands_bitreplicate_b64_b32falsely rejected plain-datavcc/vcc_looperands as lane masks.Gen.src64_dataalso rejected plain-datavccoperands withUnsupported("<op> source"). Adding anot self.holds_lane_mask(s)branch to load(%vcc, %vcc_hi)fixes allsrc64_dataconsumers while keeping lane-maskvccsources rejected asUnsupported.64-bit scalar bitwise opscontract row indocs/design.md.Testing
tests/semantic/test_salu64_vcc_data_src.py— covers all 9 64-bit bitwise ops in both operand orders (s_and_b64..s_xnor_b64,s_not_b64) with high-word-only non-zero SCC checks,s_cselect_b64,s_cmov_b64,s_quadmask_b64,s_bitreplicate_b64_b32, mask-to-data VCC overwrite, and lane-mask VCC preservation/rejection controls.origin/main(fe15534):tests/semantic/test_salu64_vcc_data_src.pyfails onorigin/main(proving both silent miscompilation of the high dword / SCC in the bitwise +s_cselect_b64ops and falseUnsupportederrors ins_cmov_b64/s_quadmask_b64/s_bitreplicate_b64_b32).python -I tests/semantic/test_salu64_vcc_data_src.py -vpython -m unittest discover -s tests/semantic -p test_salu64_bitwise_data.pypython -m unittest discover -s tests/semantic -p test_scselect_b64_data.pypython -m unittest discover -s tests/semantic -p test_salu_cmov_b64.pypython -m unittest discover -s tests/semantic -p test_salu_quadmask_bitreplicate.pypython -m unittest discover -s tests/semantic -p test_lane_mask_bitreplicate_flbit.pypython -m unittest discover -s tests -p "test_docs_*.py"python -I tests/test_text_write_line_endings.pypython -m compileall -q tools/rdna2spirv.py tests/semantic/test_salu64_vcc_data_src.pypython -I scripts/check_no_game_data.py tools/rdna2spirv.py docs/design.md tests/semantic/test_salu64_vcc_data_src.pyImported from ubiquitarianism/leonida. Originally posted by kirigayakazima on 2026-11-28T06:17:11Z.
#1990 | head 74031f03cfa39a3755a3f6b9eff731be685dbeee | python -I -m unittest discover -s tests/semantic -p test_salu64_vcc_data_src.py | red: FAILED (failures=48, errors=3; AssertionError + rdna2spirv.Unsupported) | green: 4/4 OK (8.034s) | full suite: FAILED — semantic 506 files / 6401 tests / 1 failed (test_wave64_emulate_opt) vs main 8994000b08 | Windows 11, Python 3.14.7, no game files | AI-assisted: yes, Antigravity (Gemini)Details:
tests/semantic/test_salu64_vcc_data_src.pyonupstream/main8994000b08):Ran 4 tests in 8.400s — FAILED (failures=48, errors=3)(rdna2spirv.Unsupported: s_cmov_b64 lane-mask sourcex2,rdna2spirv.Unsupported: s_quadmask_b64 on a lane maskx1, plus 48AssertionErrorsubtests where plain-datavcctook the lane-mask path).upstream/main8994000b08):Ran 4 tests in 8.034s — OK.rc=1):506 files, 6401 tests, 1 files failed in 419 s with 16 jobs: test_wave64_emulate_opt.6.988s,rc=1) vs cleanupstream/main8994000b08(34/34 OKin7.311s,rc=0):LocalExecFoldTests.test_negative_live_in_pair_and_unmasked_vcc_scc_not_foldedfails attests/semantic/test_wave64_emulate_opt.py:1158(self.assertGreaterEqual(vote_calls, 2) # branch vote + scc_from_mask vote->AssertionError: 1 not greater than or equal to 2).test_wave64_emulate_opt.py:1139-1158buildss_mov_b64 vcc, s[12:13]+s_and_b64 s[10:11], vcc, s[12:13]assuming the previousGen.is_mask_op(vcc) -> scc_from_masksubgroup vote, whereas this PR changesGen.is_mask_optoreturn self.holds_lane_mask(x)so plain-datavccstays on the scalar 64-bit data path (noscc_from_maskvote,vote_calls == 1). Needs reconciliation withtest_wave64_emulate_opt.pybefore merge.scripts/check_no_game_data.py->0;python -m compileall -q tools scripts tests->0;node --test tests/test_viewer_streaming.cjs->0; standalone stdlibtests/test_*.pyinitially hit 2 parallel 90s worker timeouts (tests/test_build_runtime_cmake.py,tests/test_merge_check.py), both passed standalone on the merged PR tree (1/1 OKin19.251sand24/24 OKin40.342s), yielding513/521 passed(33skipped pytest/helper files;0new stdlib failures vs8994000b08, same 8 pre-existing failures).Imported from ubiquitarianism/leonida. Originally posted by zmasi on 2026-11-28T12:32:22Z.
#1990 | head
74031f03cfa39a3755a3f6b9eff731be685dbeee(merged cleanly ontomaind48a957bb9988afce424552a3c0c8d01ef12320f, and cleanly alongside#1983) | Windows 11 (10.0.26200), CPython3.12.10,llvm-mc(gfx1013),spirv-val(1.4.363.1), NVIDIA GeForce RTX 3090 (Vulkan1.4.341, driver610.88,subgroup 32..32,LEONIDA_VK_VALIDATION=1)main(d48a957bb9988afce424552a3c0c8d01ef12320f):tests/semantic/test_salu64_vcc_data_src.py:FAILED (failures=48, errors=3)(64-bit bitwise/select ops route plain-datavcconto the per-lane mask path ands_cmov_b64/s_quadmask_b64/src64_datareject plain-datavcc).vk_compute_test(--wave64-emulate,LEONIDA_VK_VALIDATION=1) ons_and_b64 s[8:9], s[6:7], vccwiths[6:7] = 0x0F0F0F0F_00000000andvcc = 0x55667788_11223344: dumps0x11223344 0x11223344 1instead of0x00000000 0x05060708 1.PR + main:python -I tests/semantic/test_salu64_vcc_data_src.py -vandpython -I tests/semantic/test_salu64_bitwise_data.py -v: pass (OK).vk_compute_test(--wave64-emulate,LEONIDA_VK_VALIDATION=1,spirv-valclean) exercisings_and_b64,s_quadmask_b64, ands_cmov_b64on plain-datavcc = 0x55667788_11223344ands[6:7] = 0x0F0F0F0F_00000000:1 groups x 64: 0 mismatches,out[0..5] = 0x00000000 0x05060708 1 0x0000FFFF 0x11223344 0x55667788(0Khronos validation errors).scripts/check_no_game_data.py,test_docs_encoding.py, andtest_text_write_line_endings.py: pass (0CRLF).s_mov_b64 vcc, nullinteraction noted on#1983(lane_masks.pyclassifiesvccas non-mask afters_mov_b64 vcc, nullwhile%vcc_hiis not cleared), and in wave32Gen.holds_lane_mask({"k": "special", "t": "vcc"})checks"vcc"without"vcc_hi".AI-assisted.
Imported from ubiquitarianism/leonida. Originally posted by zmasi on 2026-11-28T13:18:06Z.
The previously reported vote-count test failure is also a wrong GPU result on native wave64, not just a brittle
OpAtomicOrcount. On physical gfx906 (RADV Mesa 26.0.8), start withs[4:5] = (1, 0)and run:This scalar AND is nonzero. Main
d48a957bbstored 7 on all 64 lanes. With74031f03cmerged, only lane 0 stored 7; the other 63 stored 3. Splitting the first instruction into separate low/high VCC writes restored 64 sevens; zero input returned 64 threes on both builds. On a second physical device, the upper-half branch fromLocalExecFoldTests.test_negative_live_in_pair_and_unmasked_vcc_scc_not_foldedlikewise changed from 32 sevens to 32 threes. I would assert the stored values before changing the vote-count expectation.The broader matrix improved from 15/72 to 75/90 matching readbacks. The merge fixes the tested split-write bitwise cases; it also ran the conditional-move and quadmask modules main refused. The minimal straight-line control above is separate from those counts. All guards held; no shader-run validation errors or synchronization hazards.
AI-assisted.
Imported from ubiquitarianism/leonida. Originally posted by TheGeogeo on 2026-11-29T00:00:31Z.
Tested
74031f03cmerged (no commit) withmainaa918e5d9. Python 3.12.4, Windows 11 10.0.26300, CPU only, withLLVM_MC(conda-forge llvm-tools) and SPIRV-Tools from the Vulkan SDK 1.4.363.1.check_no_game_data.pyis clean.tests/semantic/test_salu64_vcc_data_src.py, 4 tests pass.tools/rdna2spirv.pyback tomain, 48 failures and 3 errors (lane 32 diverged).Blocker: it breaks an existing test. With this PR merged on
main,tests/semantic/test_wave64_emulate_opt.pyfailsLocalExecFoldTests.test_negative_live_in_pair_and_unmasked_vcc_scc_not_folded(line 1180,vote_calls:1 not greater than or equal to 2). That test passes on plainmainand with each of the other six PRs. The likely cause is thatis_mask_opno longer treats everyvcc/execspecial as a mask, so the wave64-emulate fold sees one vote fewer. Either the fold test needs updating with a reason, oris_mask_opneeds to keep that case.Overlap check across #1973, #1977, #1990, #1943, #1994, #1996 and #1803 (same translator area):
s_wqm, #1990 forsrc64_data/is_mask_op;s_movintoexec_hi, #1996 form0/scc;docs/design.md, between #1990, #1943 and #1994.main(docs/design.mdtaken frommain), each PR's own test file passes. The full semantic suite (scripts/run_semantic_tests.py tests/semantic -j 4, 528 files, 6513 tests) fails in 2 files:test_valu_cvt_f16_int16_mods, which fails on plainmaintoo;test_wave64_emulate_opt, which comes from #1990 alone (see #1990).AI-assisted (Claude Code).
Imported from ubiquitarianism/leonida. Originally posted by ecox982745 on 2026-11-29T01:07:43Z.
The scalar-pair write patch for #2598 fixes the wrong GPU output in the earlier SCC reproduction. I applied only this PR's translator diff at
74031f03cto mainaa52446f7d, then compared it with the same code plus the #2598 patch. Physical RTX 4090, Windows 11, driver 616.64, wave64 emulation over 32-lane subgroups.For
s[4:5] = (1, 0), the shader moves the pair to VCC, ANDs the same pair with VCC, then selects 7 on nonzero SCC. When all lanes executed, 1/64 lanes selected 7 with this PR alone and 64/64 with both changes. When only lanes 32–63 executed the AND, the result went from 0/32 to 32/32. All 32 lower output words stayed zero in the guarded shader.Across four input pairs, both single-move shaders went from 1/4 correct dispatches to 4/4. Both split-write controls stayed at 4/4. All 32 dispatches preserved the guard words and completed with Vulkan validation enabled and zero validation errors.
The existing CPU assertion in
LocalExecFoldTests.test_negative_live_in_pair_and_unmasked_vcc_scc_not_foldedstill counts one vote and expects at least two with both changes applied. The upper-half readback above gives an output assertion for this specific case while leaving the other case in that test intact. The comparison trees wereb102395b783d5354883ef69ec200f0fa97691603andfa2a62e42cc9dc41a754c3e0ed525143ffa1032c. AI-assisted with OpenAI Codex (GPT-6).Imported from ubiquitarianism/leonida. Originally posted by aslan2142 on 2026-12-01T11:55:49Z.
Review: CHANGES_REQUESTED
Reviewed against current
main: this branch conflicts withmain(docs/design.md/tools/rdna2spirv.py), has failing CI, and independent native-wave64 GPU testing reported a wrong GPU result on the vote-count case. Please address that regression, rebase onto currentmain, and re-run CI.(AI-assisted review.)
Imported from ubiquitarianism/leonida. Originally posted by aslan2142 on 2026-12-01T16:40:51Z.
Closing this PR because the legacy C++ Vulkan runtime (and legacy Python shader compiler) is now considered deprecated in favor of the new Rust Vulkan runtime (in progress) and the Rust DX12 runtime (
d3d12/) available now. Thank you for the contribution! If you believe this PR was closed by mistake (for example, if it still applies to active tools,d3d12/, or general docs), please feel free to reopen it.Pull request closed