projects
/
platform
/
upstream
/
SPIRV-Headers.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d4e3a7
)
Correct grammar for LocalSizeHintId
author
Graeme Leese
<gleese@broadcom.com>
Tue, 20 Jul 2021 09:18:36 +0000
(10:18 +0100)
committer
Graeme Leese
<gleese@broadcom.com>
Tue, 20 Jul 2021 09:18:36 +0000
(10:18 +0100)
It is described in the spec as being the "same as LocalSizeHint mode,
but using <id> operands instead of literals", but the grammar had a
single <id> operand instead of the 3 literals for LocalSizeHint.
include/spirv/unified1/spirv.core.grammar.json
patch
|
blob
|
history
diff --git
a/include/spirv/unified1/spirv.core.grammar.json
b/include/spirv/unified1/spirv.core.grammar.json
index
1d19c4a
..
40982bb
100644
(file)
--- a/
include/spirv/unified1/spirv.core.grammar.json
+++ b/
include/spirv/unified1/spirv.core.grammar.json
@@
-9445,7
+9445,9
@@
"value" : 39,
"capabilities" : [ "Kernel" ],
"parameters" : [
- { "kind" : "IdRef", "name" : "'Local Size Hint'" }
+ { "kind" : "IdRef", "name" : "'x size hint'" },
+ { "kind" : "IdRef", "name" : "'y size hint'" },
+ { "kind" : "IdRef", "name" : "'z size hint'" }
],
"version" : "1.2"
},