summaryrefslogtreecommitdiff
path: root/include/spirv/unified1/spirv.hpp
diff options
context:
space:
mode:
authorKevin Petit <kevin.petit@arm.com>2021-07-14 14:44:50 +0100
committerKevin Petit <kevin.petit@arm.com>2022-04-20 13:26:47 +0100
commitc0bd6042230fa759fe588bb1a169af45cf1782b3 (patch)
treeedb23311eadad181eb2d1e46dffa46abc0987f35 /include/spirv/unified1/spirv.hpp
parent82becc8a8a92e509d3d8d635889da0a3c17d0606 (diff)
downloadSPIRV-Headers-c0bd6042230fa759fe588bb1a169af45cf1782b3.tar.gz
SPIRV-Headers-c0bd6042230fa759fe588bb1a169af45cf1782b3.tar.bz2
SPIRV-Headers-c0bd6042230fa759fe588bb1a169af45cf1782b3.zip
Add SPV_KHR_subgroup_rotate
Signed-off-by: Kevin Petit <kevin.petit@arm.com> Change-Id: I49e7c2d509007958fbe1a6aa2d2fdf11dffbef4d
Diffstat (limited to 'include/spirv/unified1/spirv.hpp')
-rw-r--r--include/spirv/unified1/spirv.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/spirv/unified1/spirv.hpp b/include/spirv/unified1/spirv.hpp
index 9f99eca..b824513 100644
--- a/include/spirv/unified1/spirv.hpp
+++ b/include/spirv/unified1/spirv.hpp
@@ -1079,6 +1079,7 @@ enum Capability {
CapabilityDotProduct = 6019,
CapabilityDotProductKHR = 6019,
CapabilityBitInstructions = 6025,
+ CapabilityGroupNonUniformRotateKHR = 6026,
CapabilityAtomicFloat32AddEXT = 6033,
CapabilityAtomicFloat64AddEXT = 6034,
CapabilityLongConstantCompositeINTEL = 6089,
@@ -1542,6 +1543,7 @@ enum Op {
OpSubgroupAllKHR = 4428,
OpSubgroupAnyKHR = 4429,
OpSubgroupAllEqualKHR = 4430,
+ OpGroupNonUniformRotateKHR = 4431,
OpSubgroupReadInvocationKHR = 4432,
OpTraceRayKHR = 4445,
OpExecuteCallableKHR = 4446,
@@ -2220,6 +2222,7 @@ inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) {
case OpSubgroupAllKHR: *hasResult = true; *hasResultType = true; break;
case OpSubgroupAnyKHR: *hasResult = true; *hasResultType = true; break;
case OpSubgroupAllEqualKHR: *hasResult = true; *hasResultType = true; break;
+ case OpGroupNonUniformRotateKHR: *hasResult = true; *hasResultType = true; break;
case OpSubgroupReadInvocationKHR: *hasResult = true; *hasResultType = true; break;
case OpTraceRayKHR: *hasResult = false; *hasResultType = false; break;
case OpExecuteCallableKHR: *hasResult = false; *hasResultType = false; break;