Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/KhronosGroup/SPIRV-Headers.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraeme Leese <gleese@broadcom.com>2021-07-20 12:18:36 +0300
committerGraeme Leese <gleese@broadcom.com>2021-07-20 12:18:36 +0300
commit737f9dcde9b1dbabb3eba96f731264fea272e420 (patch)
tree344af522f80926fccc1e258546022635ec41df80
parent1d4e3a7e3a04ba205ed8cb1485f7cb7369bec609 (diff)
Correct grammar for LocalSizeHintId
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.
-rw-r--r--include/spirv/unified1/spirv.core.grammar.json4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/spirv/unified1/spirv.core.grammar.json b/include/spirv/unified1/spirv.core.grammar.json
index 1d19c4a..40982bb 100644
--- 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"
},