tests: cs_w64x_partial_swizzle fails under --disasm-dir (branch without encoding) #2977

Closed
opened 2026-12-01 22:16:46 +00:00 by hhhhi804yh7-blip · 0 comments
hhhhi804yh7-blip commented 2026-12-01 22:16:46 +00:00 (Migrated from github.com)
Contributor

Imported from ubiquitarianism/leonida. Originally posted by hhhhi804yh7-blip on 2026-12-01T22:16:46Z.


Running run_gpu_tests.py with the pre-disassembled subset (per docs/testing.md "Without a compiler: a CI-built runtime") fails on cs_w64x_partial_swizzle:

text python -I scripts/run_gpu_tests.py --build <runtime-windows> --disasm-dir tests/semantic/fixtures/disasm --assembler python

Observed output at commit 9f0d351cc8874c12e5aab7399cd1c0b4de80750c (runtime-windows CI artifact 15521844071) on NVIDIA GeForce RTX 5050 (driver 617.42, Windows 11 26300.9711):

  • 107 shaders: 106 translated, 106 assembled (spirv-val skipped)
  • 1 branch without encoding
  • FAIL cs_w64x_partial_swizzle missing .spv (translation failed) (both native and LEONIDA_W64_EMULATE=1)

Root cause

tests/semantic/fixtures/disasm/cs_w64x_partial_swizzle.s contains s_cbranch_execz 9 without ; encoding: bytes, which tools/rdna2spirv.py rejects when translating pre-disassembled listings without llvm-mc.

AI-assisted (Gemini 4 Hydrogen; verified on host GPU output).

<!-- greyfinch-sync:ubiquitarianism/leonida:issue:6731885089 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/2977). Originally posted by [hhhhi804yh7-blip](https://github.com/hhhhi804yh7-blip) on 2026-12-01T22:16:46Z. --- Running `run_gpu_tests.py` with the pre-disassembled subset (per `docs/testing.md` "Without a compiler: a CI-built runtime") fails on `cs_w64x_partial_swizzle`: ``text python -I scripts/run_gpu_tests.py --build <runtime-windows> --disasm-dir tests/semantic/fixtures/disasm --assembler python `` Observed output at commit `9f0d351cc8874c12e5aab7399cd1c0b4de80750c` (`runtime-windows` CI artifact `15521844071`) on `NVIDIA GeForce RTX 5050` (driver `617.42`, Windows 11 `26300.9711`): - `107 shaders: 106 translated, 106 assembled (spirv-val skipped)` - `1 branch without encoding` - `FAIL cs_w64x_partial_swizzle missing .spv (translation failed)` (both native and `LEONIDA_W64_EMULATE=1`) ### Root cause `tests/semantic/fixtures/disasm/cs_w64x_partial_swizzle.s` contains `s_cbranch_execz 9` without `; encoding:` bytes, which `tools/rdna2spirv.py` rejects when translating pre-disassembled listings without `llvm-mc`. *AI-assisted (Gemini 4 Hydrogen; verified on host GPU output).*
Sign in to join this conversation.
No labels
No milestone
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#2977
No description provided.