Grammar: Add instruction-printing classes.
authorJohn Kessenich <cepheus@frii.com>
Wed, 12 Jun 2019 06:17:15 +0000 (00:17 -0600)
committerJohn Kessenich <cepheus@frii.com>
Wed, 12 Jun 2019 06:17:15 +0000 (00:17 -0600)
commitcca9cc7f39131073ab0aa8989159f96e4ba1abf3
treeae234dcf052e5d8003df4e13e39b373f0333bd12
parenta7741727e25171acee151396691672dc88e6d85e
Grammar: Add instruction-printing classes.

Each instruction belongs to exactly one instruction class.
@exclude will put in the headers, but not in the specification.
Reserved is for instructions that are both to be reserved in the
specification and not yet put into another printing class.
(It is okay to establish a printing class for a reserved instruction.)
include/spirv/unified1/spirv.core.grammar.json
tools/buildHeaders/jsonToSpirv.cpp
tools/buildHeaders/jsonToSpirv.h