summaryrefslogtreecommitdiff
path: root/include/spirv/unified1/spirv.hpp11
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.hpp11
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.hpp11')
-rw-r--r--include/spirv/unified1/spirv.hpp113
1 files changed, 3 insertions, 0 deletions
diff --git a/include/spirv/unified1/spirv.hpp11 b/include/spirv/unified1/spirv.hpp11
index 8e0b845..2f0b5e2 100644
--- a/include/spirv/unified1/spirv.hpp11
+++ b/include/spirv/unified1/spirv.hpp11
@@ -1079,6 +1079,7 @@ enum class Capability : unsigned {
DotProduct = 6019,
DotProductKHR = 6019,
BitInstructions = 6025,
+ GroupNonUniformRotateKHR = 6026,
AtomicFloat32AddEXT = 6033,
AtomicFloat64AddEXT = 6034,
LongConstantCompositeINTEL = 6089,
@@ -1542,6 +1543,7 @@ enum class Op : unsigned {
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 Op::OpSubgroupAllKHR: *hasResult = true; *hasResultType = true; break;
case Op::OpSubgroupAnyKHR: *hasResult = true; *hasResultType = true; break;
case Op::OpSubgroupAllEqualKHR: *hasResult = true; *hasResultType = true; break;
+ case Op::OpGroupNonUniformRotateKHR: *hasResult = true; *hasResultType = true; break;
case Op::OpSubgroupReadInvocationKHR: *hasResult = true; *hasResultType = true; break;
case Op::OpTraceRayKHR: *hasResult = false; *hasResultType = false; break;
case Op::OpExecuteCallableKHR: *hasResult = false; *hasResultType = false; break;