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:
authorRaun Krisch <raun.krisch@gmail.com>2021-11-03 18:53:38 +0300
committerGitHub <noreply@github.com>2021-11-03 18:53:38 +0300
commit29817199b7069bac971e5365d180295d4b077ebe (patch)
tree937b2f2f1f81b1255bcbab63b9399f2112d3e4fb
parent1380cbbec10756b492e9397d03c4250887e15090 (diff)
parent43d173bd65e1af3239ff7c64b161a104c143bc1e (diff)
Merge pull request #250 from kpet/clspv-reflection-subgroups
Add SpecConstantSubgroupMaxSize to the clspv reflection non-semantic instruction set
-rw-r--r--include/spirv/unified1/NonSemanticClspvReflection.h3
-rw-r--r--include/spirv/unified1/extinst.nonsemantic.clspvreflection.grammar.json9
2 files changed, 10 insertions, 2 deletions
diff --git a/include/spirv/unified1/NonSemanticClspvReflection.h b/include/spirv/unified1/NonSemanticClspvReflection.h
index fa7061d..380dc21 100644
--- a/include/spirv/unified1/NonSemanticClspvReflection.h
+++ b/include/spirv/unified1/NonSemanticClspvReflection.h
@@ -33,7 +33,7 @@ extern "C" {
#endif
enum {
- NonSemanticClspvReflectionRevision = 1,
+ NonSemanticClspvReflectionRevision = 2,
NonSemanticClspvReflectionRevision_BitWidthPadding = 0x7fffffff
};
@@ -62,6 +62,7 @@ enum NonSemanticClspvReflectionInstructions {
NonSemanticClspvReflectionConstantDataUniform = 22,
NonSemanticClspvReflectionLiteralSampler = 23,
NonSemanticClspvReflectionPropertyRequiredWorkgroupSize = 24,
+ NonSemanticClspvReflectionSpecConstantSubgroupMaxSize = 25,
NonSemanticClspvReflectionInstructionsMax = 0x7fffffff
};
diff --git a/include/spirv/unified1/extinst.nonsemantic.clspvreflection.grammar.json b/include/spirv/unified1/extinst.nonsemantic.clspvreflection.grammar.json
index 15e5699..3d153e5 100644
--- a/include/spirv/unified1/extinst.nonsemantic.clspvreflection.grammar.json
+++ b/include/spirv/unified1/extinst.nonsemantic.clspvreflection.grammar.json
@@ -1,5 +1,5 @@
{
- "revision" : 1,
+ "revision" : 2,
"instructions" : [
{
"opname" : "Kernel",
@@ -232,6 +232,13 @@
{ "kind" : "IdRef", "name" : "Y" },
{ "kind" : "IdRef", "name" : "Z" }
]
+ },
+ {
+ "opname" : "SpecConstantSubgroupMaxSize",
+ "opcode" : 25,
+ "operands" : [
+ { "kind" : "IdRef", "name" : "Size" }
+ ]
}
]
}