Make operands to Kernel added in v5 optional
* The operands added to the Kernel instruction should be optional in the
grammar since the extended instruction set describes a unified
versioning system
* This is a bugfix on #308
diff --git a/include/spirv/unified1/extinst.nonsemantic.clspvreflection.grammar.json b/include/spirv/unified1/extinst.nonsemantic.clspvreflection.grammar.json
index d47e502..d6499cc 100644
--- a/include/spirv/unified1/extinst.nonsemantic.clspvreflection.grammar.json
+++ b/include/spirv/unified1/extinst.nonsemantic.clspvreflection.grammar.json
@@ -7,9 +7,9 @@
"operands" : [
{ "kind" : "IdRef", "name" : "Kernel" },
{ "kind" : "IdRef", "name" : "Name" },
- { "kind" : "IdRef", "name" : "NumArguments"},
- { "kind" : "IdRef", "name" : "Flags" },
- { "kind" : "IdRef", "name" : "Attributes" }
+ { "kind" : "IdRef", "name" : "NumArguments", "quantifier" : "?" },
+ { "kind" : "IdRef", "name" : "Flags", "quantifier" : "?" },
+ { "kind" : "IdRef", "name" : "Attributes", "quantifier" : "?" }
]
},
{