Skip to content

Commit 30a41a4

Browse files
committed
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 KhronosGroup#308
1 parent c16439f commit 30a41a4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/spirv/unified1/extinst.nonsemantic.clspvreflection.grammar.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
"operands" : [
88
{ "kind" : "IdRef", "name" : "Kernel" },
99
{ "kind" : "IdRef", "name" : "Name" },
10-
{ "kind" : "IdRef", "name" : "NumArguments"},
11-
{ "kind" : "IdRef", "name" : "Flags" },
12-
{ "kind" : "IdRef", "name" : "Attributes" }
10+
{ "kind" : "IdRef", "name" : "NumArguments", "quantifier" : "?" },
11+
{ "kind" : "IdRef", "name" : "Flags", "quantifier" : "?" },
12+
{ "kind" : "IdRef", "name" : "Attributes", "quantifier" : "?" }
1313
]
1414
},
1515
{

0 commit comments

Comments
 (0)