diff options
author | John Kessenich <cepheus@frii.com> | 2019-06-07 23:05:30 -0600 |
---|---|---|
committer | John Kessenich <cepheus@frii.com> | 2019-06-07 23:05:30 -0600 |
commit | d5d33167ddb6898cbf50293571e17921e3f051d1 (patch) | |
tree | bfdae716dfa89c6e7bca34df3ad1ebfe4dd882f7 | |
parent | e88e050b28acabfa4913840b2b0187027990631c (diff) | |
download | spirv-headers-d5d33167ddb6898cbf50293571e17921e3f051d1.tar.gz |
Add more detail about reserving tokens to the README.
-rw-r--r-- | README.md | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -25,10 +25,18 @@ the files under [include](include). The SPIR-V XML registry file is updated by Khronos whenever a new enum range is allocated. -Pull requests can be made to +Pull requests can be made to - request allocation of new enum ranges in the XML registry file - reserve specific tokens in the JSON grammar +### Reserving tokens in the JSON grammar + +Care should be taken to follow existing precedent in populating the details of reserved tokens. This includes: +- pointing to what extension has more information, when possible +- keeping enumerants in numeric order +- when there are aliases, listing the preferred spelling first +- adding the statement `"version" : "None"` + ## How to install the headers ``` |