Files
mandy/tools
ItsNotRexed d7cbc3e7cb Translator: split a dispatch OpSwitch past SPIR-V's limits into two levels
With --wave64-emulate the two ScreenProbes compute shaders reach ~37k dispatch blocks: one OpSwitch of 74k
words, past the 65,535-word instruction limit (and spirv-val's 16,383-case cap). An outer switch on
pc / 16000 now picks a chunk; each chunk is its own selection construct whose blocks exit to its merge. All
26,503 shaders translate and validate with --wave64-emulate.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 18:22:19 -05:00
..