Commit d92cf88
Victor Lomuller
Add "aliases" fields to the grammar and remove duplicated (#447)
* Add "aliases" fields to the grammar
Promotion of extensions lead to duplicated entries.
The patch introduce a new entry "aliases" to the grammar.
It is a list of strings, where each string is an alternative name for the token,
and applies on instructions and operand kind's enumerants.
The grammar is updated to use the fields and all duplicated were removed.
The header generator now processes the aliases when generating the headers to account for the change.
This ensure the generated headers doesn't change.
* Update grammar for SPV_EXT_optnone / SPV_INTEL_optnone1 parent a62b032 commit d92cf88
File tree
4 files changed
+155
-823
lines changed- include/spirv/unified1
- tools/buildHeaders
4 files changed
+155
-823
lines changed
0 commit comments