Commit Graph

4 Commits

Author SHA1 Message Date
f8a88299e1 Support named SPIR-V shader debug instructions
Carry forward old Leonida PR #4744 for BUILD-SPIRV-DEBUGINFO.
2026-11-24 11:28:30 +08:00
c389dbc95e spirv_asm: OpExtInst takes DebugPrintf by name from the NonSemantic.DebugPrintf set, as spirv-dis writes it 2026-11-24 08:26:53 +05:30
602aab7cf2 spirv_asm: accept the grammar's instruction aliases, as spirv-as does
INSTRUCTIONS listed only canonical opnames, so the 58 instruction aliases of
SPIRV-Headers' core grammar (OpDemoteToHelperInvocationEXT,
OpDecorateStringGOOGLE, OpSDotKHR, OpTypeAccelerationStructureNV, ...) failed
with "unknown opcode". spirv-as accepts them and writes the same words as the
canonical names. Each alias now has its instruction's entry, the way the enum
tables already list enumerant aliases.
2026-11-23 03:36:48 +00:00
5a35326e15 spirv_asm: pure-Python Vulkan 1.2 SPIR-V binary assembler 2026-11-22 17:28:50 +01:00