Commit Graph

2 Commits

Author SHA1 Message Date
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
7b624cb70b test(tools): add grammar-table and round-trip tests for spirv_asm_tables 2026-11-22 22:04:23 +02:00