KhronosGroup / KhronosGroup/SPIRV-Tools
SPIR-V grammar: rationalize handling of token aliases
Open
dev:building
enhancement
- Dominant language
- C++
- Stars
- 1.4k
- Forks
- 709
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 28
Description
The SPIR-V grammar has duplicate entries for the same token number, when the name of the token changes over time as it is standardized.
This can be confusing and can lead to inconsistencies.
The grammar will evolve so that the first mention of a token number will have full information, and subsequent token entries will have a name and repeat the token number only. See https://github.com/KhronosGroup/SPIRV-Headers/issues/109
Contributor guide
Assessment
This issue has not been assessed yet.