aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorBilly Laws <[email protected]>2022-10-21 23:14:21 +0100
committerRodrigo Locatti <[email protected]>2022-10-22 17:06:10 -0300
commitda4ffce189fa5d4e0fe3a45df2af38c9853d1a11 (patch)
tree4b0d317dab95f697810aa0bd4f0b4fc241aedb7b /include
parentaa292d56650bc28f2b2d75973fab2e61d0136f9c (diff)
downloadsirit-da4ffce189fa5d4e0fe3a45df2af38c9853d1a11.tar.gz
sirit-da4ffce189fa5d4e0fe3a45df2af38c9853d1a11.zip
Add OpGroupNonUniformBroadcast subgroup op
Diffstat (limited to 'include')
-rw-r--r--include/sirit/sirit.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sirit/sirit.h b/include/sirit/sirit.h
index 589ea06..185568f 100644
--- a/include/sirit/sirit.h
+++ b/include/sirit/sirit.h
@@ -1156,6 +1156,10 @@ public:
/// TBD
Id OpSubgroupAllEqualKHR(Id result_type, Id predicate);
+ // Result is the Value of the invocation identified by the id Id to all active invocations in
+ // the group.
+ Id OpGroupNonUniformBroadcast(Id result_type, Id scope, Id value, Id id);
+
/// Return the value of the invocation identified by the current invocation's id within the
/// group xor'ed with mask.
Id OpGroupNonUniformShuffleXor(Id result_type, Id scope, Id value, Id mask);