Make enums for all currently published extensions
authorDavid Neto <dneto@google.com>
Thu, 17 Aug 2017 17:53:14 +0000 (13:53 -0400)
committerDavid Neto <dneto@google.com>
Sat, 2 Sep 2017 19:10:52 +0000 (15:10 -0400)
commit0d3b8329a4353814589cf444c6c1ba91bfb36bd7
tree86df9aab96358bf90d948882bff3cc6d65148956
parent7e2d26c77b606b21af839b37fd21381c4a669f23
Make enums for all currently published extensions

Use the list from the SPIR-V registry page.  Also, capture it as
a string so it's much easier to update via copy-paste.

The validator will accept modules that declare these known
extensions.  However, we might not know about new tokens or
instructions declared in them.  For that we need grammar updates
applied to SPIRV-Headers.
test/val/val_extensions_test.cpp
utils/generate_grammar_tables.py