aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Kessenich <cepheus@frii.com>2019-06-07 23:05:30 -0600
committerJohn Kessenich <cepheus@frii.com>2019-06-07 23:05:30 -0600
commitd5d33167ddb6898cbf50293571e17921e3f051d1 (patch)
treebfdae716dfa89c6e7bca34df3ad1ebfe4dd882f7
parente88e050b28acabfa4913840b2b0187027990631c (diff)
downloadspirv-headers-d5d33167ddb6898cbf50293571e17921e3f051d1.tar.gz
Add more detail about reserving tokens to the README.
-rw-r--r--README.md10
1 files changed, 9 insertions, 1 deletions
diff --git a/README.md b/README.md
index 846b20d..beb1b7e 100644
--- a/README.md
+++ b/README.md
@@ -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
```