3 ms·
SPIR-V “assembly” can be disassembled, the disassembly is fairly easy to read, and it's not that hard to write by hand, though rather verbose. An advantage of
by TazeTSchnitzel 7y ago
SPIR-V “assembly” can be disassembled, the disassembly is fairly easy to read, and it's not that hard to write by hand, though rather verbose.
An advantage of SPIR-V is that unlike both text-based programming languages and traditional machine code, SPIR-V is very very easy for machines to read and write — even for JS code — and it has a structure designed to be (mostly) cleanly extensible.