summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKévin Petit <kpet@free.fr>2021-07-24 19:12:16 +0100
committerKévin Petit <kpet@free.fr>2021-10-25 18:33:26 +0100
commit43d173bd65e1af3239ff7c64b161a104c143bc1e (patch)
tree8cc19a595687a02f590dc89884cda3238775959f
parentae217c17809fadb232ec94b29304b4afcd417bb4 (diff)
downloadSPIRV-Headers-43d173bd65e1af3239ff7c64b161a104c143bc1e.tar.gz
SPIRV-Headers-43d173bd65e1af3239ff7c64b161a104c143bc1e.tar.bz2
SPIRV-Headers-43d173bd65e1af3239ff7c64b161a104c143bc1e.zip
Add SpecConstantSubgroupMaxSize to the clspv reflection non-semantic instruction set
Signed-off-by: Kévin Petit <kpet@free.fr>
-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" }
+ ]
}
]
}