build.py: a text-only fixture's lines are its listing, as in run_gpu_tests.py (TEST-BUILD-TEXT-ONLY) #1444
Closed
hugo0024 wants to merge 1 commit from
upstream-pr/1444 into main
pull from: upstream-pr/1444
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!1444
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1444"
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 hugo0024 on 2026-11-25T00:21:07Z.
Claimed in the coordination issue as: TEST-BUILD-TEXT-ONLY (claim)
Depends on: #822
It does not build on #822; the two conflict. Both add a block right after
barycentric_fallback()inruntime/test/shaders/build.py, so whichever merges second needs a rebase that keeps both blocks (Tauwni tested that resolution in a comment on #822).What and why
Since #957,
runtime/test/shaders/build.pywith no names builds nothing:cs_dpp_cmp.asmholds a VOPC compare in DPP form, which llvm-mc has no gfx1013 encoding for. The file says so in a comment line of its own, andscripts/run_gpu_tests.pypasses such a source's instruction lines to the translator as they are.build.pystill sent it to llvm-mc and stopped before publishing anything, so the two-step form is broken for the whole list:check.pyreports 0 of 226 (it has an expected entry forcs_dpp_cmp), andw64_graphics.pyfinds no module.build.py: a source that carries the marker line is not assembled;text_only_listing()writes the listingassemble_to_sofrun_gpu_tests.pywrites. Everything else intranslate_tests(the compute header, the containers) is as before.tests/test_shader_build_text_only.py: the marker is the same line in both runners, the two write the same listing for every marked fixture, a marked source never reaches llvm-mc, and an unmarked one still does and still stops the build on an assembler error.run_gpu_tests.pyis not touched: it keeps its ownTEXT_ONLY_MARKline, which #1375 (the pytest helper, open) also checks for. No file overlaps with #1375.Tested
Apple M5, MoltenVK 1.4.2, llvm-mc 23.1.6. Before is
main1154976d4, after is this branch onb4b7756e8;LEONIDA_F16_INTERP_FALLBACK=1for both scripts, as a Mac needs:build.py <out>check.pycs_dpp_cmpokw64_graphics.pyrun_gpu_tests.pycs_dpp_cmpmodulebuild.pynow writes is byte-identical to the onerun_gpu_tests.pybuilds (8724 bytes).check.pyleavescs_fma_fused(the MoltenVK 1.4.2 row ofdocs/testing.md) and the intermittentps_imgatomic(#543), as before #957.w64_graphics.pystill exits 1 on a Mac for the sevenvs_w64_*fixtures, which is #900's subject.tests/test_shader_build_text_only.py: 8 tests pass. Withmain'sbuild.py, 6 of them error.tests/test_shader_build_fallbacks.py,tests/test_docs_*.py,tests/test_i18n_index.pypass;python -m compileall -q make_game.py tools testsis clean.tests/test_translate.pyoncs_dpp_cmp.asm, which #1375 fixes.tests/test_mod_pack_output_alias.py; it fails the same way onmain1154976d4here.Not tested: Windows and Linux, and an LLVM other than 23.1.6. The change does not depend on the assembler: a marked source no longer reaches it.
GPUs tested: Apple M5 (8-core GPU), MoltenVK 1.4.2, macOS 27.2.1 (26B131)
AI-assisted: yes
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed.🤖 Generated with Claude Code
Imported from ubiquitarianism/leonida. Originally posted by Tauwni on 2026-11-25T10:02:50Z.
Tested on an Apple M3 (MoltenVK 1.4.2, macOS 26.5.1, llvm-mc 23.1.6 from Homebrew), this PR at
ae4e7d75dapplied onmain626d1281a:main,runtime/test/shaders/build.pystops atcs_dpp_cmp.asm("dpp variant of this instruction is not supported") and writes no SPIR-V, socheck.pyruns nothing.spirv-val;check.py183 of 231 pass, 43 skipped, andcs_dpp_cmpisok. The five failures are the known Mac ones (cs_fma_fused,ps_ssharp,ps_ij_computed,ps_interp_f16_high) andcs_imgatomic_ext(#1518).python -I tests/test_shader_build_text_only.py: 8 tests OK.Full record in #1718. AI-assisted (Claude Code).
Imported from ubiquitarianism/leonida. Originally posted by Anzymanz on 2026-11-25T13:45:43Z.
Confirmed on an RX 9070 XT (RADV, Mesa 26.2.6, CachyOS, llvm-mc 23.1.5) at main
5e95fa2. On main,build.pyexits atcs_dpp_cmp.asm("dpp variant of this instruction is not supported"), socheck.pyhas no modules and reports 0 of 230. With this branch (and #1518),build.pytranslates 297/297 and all pass spirv-val, andcheck.pygives 227 of 231 pass, 4 skipped, both native andLEONIDA_W64_EMULATE=1;cs_dpp_cmppasses.tests/test_shader_build_text_only.pypasses. Recorded in #1870. AI-assisted.Imported from ubiquitarianism/leonida. Originally posted by PierreEbele on 2026-11-25T15:30:04Z.
Reviewed
ae4e7d7: build.py now writes a text-only listing (instruction lines, run_gpu_tests.py's exact format) for .asm sources carrying the shared TEXT_ONLY_MARK - cs_dpp_cmp - instead of sending them to llvm-mc, which has no gfx1013 encoding for the DPP-form VOPC compare; unmarked sources are unchanged and assembler errors still stop the build. Ranpython -I tests/test_shader_build_text_only.pyon the PR tree (8 tests OK; 6 errors against main's build.py), tests/test_shader_build_fallbacks.py on both trees (OK), and a probe on both with a stubbed llvm-mc: main dies with "cs_dpp_cmp.asm did not assemble" before publishing anything, the PR builds it with zero assembler calls and a listing byte-identical to run_gpu_tests.py's for the same fixture. No llvm-mc/spirv-val/GPU on this machine, so the end-to-end totals are unverified; no findings, no game data touched.AI-assisted review.
Recommendation: Merge
Imported from ubiquitarianism/leonida. Originally posted by kevincommits on 2026-11-26T07:15:24Z.
Independent run with the real assembler, not stand-ins. Apple M5 Pro, macOS 27.2.1 (26B131), Python 3.14.2, Homebrew LLVM 23.1.6 (
llvm-mcwith the AMDGPU target), SPIRV-Tools from Homebrew. I mergedmainata73a57e13into the branch locally (822 commits behind, no conflicts). Head tested:ae4e7d75d.build.pywith no names: onmainit stops atcs_dpp_cmpand publishes nothing; on this branch it builds all 301 shaders and all 301 passspirv-val.Command on both trees:
LLVM_MC=/opt/homebrew/opt/llvm/bin/llvm-mc python3 -I runtime/test/shaders/build.py <out>.<out>/spirvmainata73a57e13<stdin>:17:1: error: dpp variant of this instruction is not supportedatv_cmp_gt_f32_dpp vcc_lo, v1, v1 dpp8:[4,5,6,7,0,1,2,3]main301 shaders: 301 translated, 301 pass spirv-valdppfixturesSo the failure in the description reproduces here with a current llvm-mc, and the change removes it.
python -I tests/test_shader_build_text_only.py: 8/8 on the merged tree.main'stest_mod_pack_output_alias(fixed by #1412).Not tested:
check.pyand the GPU runs on the built shaders, and theLEONIDA_*build variants. No game files used. AI-assisted.Imported from ubiquitarianism/leonida. Originally posted by OreoFR on 2026-11-28T21:51:00Z.
Verified by OreoFR
Run 1 (win02)
5cb45921e+ PR head3fd1a37dc; green run in a merge package of 2 PRs, no new ctest failure vs mainpython -I tests/test_shader_build_text_only.py ; package ctestRun 2 (lot 4)
09c153948+ PR head3fd1a37dc; integration package 1 of 6 (20 PRs, merged without conflict)Run 3 (lot 4 bis)
33db04a70+ PR head3fd1a37dc; integration package of 15 PRspython -I tests/test_shader_build_text_only.py)All runs
AI-assisted (Claude Code, Claude Opus 5.5).
Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-28T21:59:57Z.
Hi @hugo0024, thanks for this pull request. OreoFR checked it red/green on Windows (RTX 4070 Laptop, driver 621.40):
tests/test_shader_build_text_only.pyfails onmainwithout it and passes with it, and the C++ bundle showed no new ctest failure. It was ready to merge, but #822 was merged just before it and both touchruntime/test/shaders/build.py, so it now conflicts withmain(c7753ed98) in that file. Could you mergemaininto your branch (no rebase needed) and resolve that one file? It can be merged right after.AI-assisted (Claude Code, Claude Opus 5.5), posted for MoonEyes.
Imported from ubiquitarianism/leonida. Originally posted by zmasi on 2026-11-29T02:35:37Z.
Verification Report (
703b69134cmerged intomainc8bf0e7b6)llvm-mc21.x (amdgcntarget), Vulkan SDK1.4.363.1(spirv-as,spirv-val,LEONIDA_VK_VALIDATION=1withVK_LAYER_KHRONOS_validation), NVIDIA GeForce RTX 3090 (Ampere, driver610.88, subgroup32..32). No game data used (check_no_game_data.pyrc=0).703b69134ccleanly into currentorigin/main(25cf1aa4ec/c8bf0e7b6,0conflicts; 2 files changed:runtime/test/shaders/build.py,tests/test_shader_build_text_only.py). Confirmed that the#822conflict resolution inruntime/test/shaders/build.pypreserves bothbarycentric_fallback()/f16_interp_fallback_override()andTEXT_ONLY_MARK/text_only_listing(), staging synthetic FSSM headers and bypassingllvm-mconly whenTEXT_ONLY_MARKappears as a full standalone line.Red -> Green Results (Post-
#822Resolution + Live RTX 3090 Shader Execution)mainbuild.pymain+#1444(703b69134c)python -I tests/test_shader_build_text_only.pyrc=1,FAILED (errors=6):AttributeError: ... 'TEXT_ONLY_MARK')rc=0,Ran 8 tests in 0.846s — OK)python -I tests/test_shader_build_fallbacks.py(#822regression check)rc=0,Ran 9 tests in 1.874s — OK)python -I runtime/test/shaders/build.py <out>rc=1, aborts atcs_dpp_cmp.asm did not assemble: error: dpp variant of this instruction is not supported;0.spvmodules written)rc=0:306 shaders: 306 translated, 306 pass spirv-val, includingcs_dpp_cmp.spv)check.py <out>on RTX 3090 (LEONIDA_VK_VALIDATION=1)0modules built)cs_dpp_cmp ok+ all 10cs_dpp*fixturesok,0validation errors)w64_graphics.py <out>on RTX 3090 (LEONIDA_VK_VALIDATION=1)30/30missing.spv)rc=0:18/18Tier A/B drawsok,12Tier C cleanly skipped withoutW64G_REF,0missing.spv)#822merge resolution at703b69134cmerges cleanly into currentmain, preserves#822's fallback tests, unblocks fullbuild.pytranslation of all 306 fixtures, and passes livecs_dpp_cmp+w64_graphics.pyexecution on RTX 3090).AI-assisted.
Imported from ubiquitarianism/leonida. Originally posted by TheGeogeo on 2026-11-29T14:18:30Z.
Ready for testing: merges cleanly with
main3535eb5c4. Not inmainyet:git cherryfinds 1 commit(s) not there, and 11 of the 119 lines it adds are already present. No duplicate found: its claimTEST-BUILD-TEXT-ONLYappears in no other open pull request and in nomaincommit.AI-assisted (Claude Code).
Imported from ubiquitarianism/leonida. Originally posted by enlight3d on 2026-11-29T15:21:48Z.
RUN of #1444 (red/green,
python -I, no build, no game, no GPU, no llvm-mc)Heads tested: PR head
703b69134c79, origin/mainc22a0a73228c; merged = main + PR head,git merge --no-ff, local only (merged cleanly, merge commitaaff6d0f0634).Commands, one process each, from the worktree root:
python -I tests/test_shader_build_text_only.py -vRelated (they load
runtime/test/shaders/build.pyorscripts/run_gpu_tests.py):tests/test_shader_build_fallbacks.py,test_mc_command.py,test_cmake_translator_deps.py,test_run_gpu_tests.py,tests/semantic/test_global_mem_offset.py,tests/semantic/test_value_semantics.py(the last one aspython tests/semantic/test_value_semantics.py, see the note).runtime/test/shaders/build.pyfrom the merge base): build-style red,FAILED (errors=6)of 8, eachAttributeError: module ... has no attribute 'TEXT_ONLY_MARK'(new API missing); the other 2 tests pass on the old file.TEXT_ONLY_MARK,text_only_listing), only the call intranslate_testsreverted (listing = None, so a marked source goes to llvm-mc again):FAILED (failures=2)of 8,test_a_marked_fixture_never_reaches_llvm_mcfor the two marked fixtures,AssertionError: llvm-mc was run for a text-only source.test_shader_build_text_only.pyRan 8, OK; the related files all OK (test_mc_command.pyOK with 8 skipped).test_shader_build_text_only.pyRan 8, OK; all related files OK (test_shader_build_fallbacks.pyRan 10, main added one). Nothing fails merged that passes on main.tests/test_wave64_halves_fixtures.pywas not run (it needs pytest, not installed here).tests/semantic/test_value_semantics.pyfails underpython -IwithModuleNotFoundError: No module named 'support', a property of isolated mode that does not depend on the PR; without-Iit passes (41 tests OK at head and merged).Machine: NVIDIA GeForce RTX 3090 (not used), Windows 11 Pro 10.0.26300, CPython 3.13.12.
Imported from ubiquitarianism/leonida. Originally posted by OreoFR on 2026-11-29T15:29:06Z.
Re-verified by OreoFR at head
703b69134on main91bab934d: READY — red 6 fail → green 8 OK; ctest/link n/a (onlyruntime/test/shaders/build.pyand a Python test change, nothing gta6rt links); head changed since the earlier verification https://github.com/ProjectLeonida/mandy/pull/1444#issuecomment-7246318515 (that was3fd1a37dc, before the rebase over #822). Windows 11, RTX 4070 Laptop 8 GB, NVIDIA 621.40. AI-assisted (Claude Code, Claude Opus 5.5).tests/test_shader_build_text_only.py): 8 tests, 6 errors (TEXT_ONLY_MARKand the text-only listing are not in main'sbuild.py).git merge --no-ff, no conflict): 8 tests OK.tests/test_shader_build_fallbacks.py(#822's tests) also passes on the merge, 10 OK, as on main.Ready to merge per the maintainers' plan.
Imported from ubiquitarianism/leonida. Originally posted by aslan2142 on 2026-12-01T11:41:48Z.
Review: APPROVED
Reviewed the diff against
main:runtime/test/shaders/build.py:84-100,206-222cleanly recognizesTEXT_ONLY_MARKand writes the same synthetic listing asscripts/run_gpu_tests.pywithout invokingllvm-mc, covered by 8 unit tests intests/test_shader_build_text_only.py. Clean-room verified. Approving; please merge/rebase currentmainfor a fresh green CI run before merge.(AI-assisted review.)
Imported from ubiquitarianism/leonida. Originally posted by aslan2142 on 2026-12-01T16:35:36Z.
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