You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// `value` is a set of bitfields where the first invocation is represented in the lowest bit of the first vector component and the last (up to the size of the group) is the higher bit number of the last bitmask needed to represent all bits of the group invocations.
397
402
///
398
403
/// Requires Capability `GroupNonUniformBallot`.
404
+
///
405
+
/// # Safety
406
+
/// * `value` must be the same for all dynamic instances of this instruction
/// `value` is a set of bitfields where the first invocation is represented in the lowest bit of the first vector component and the last (up to the size of the group) is the higher bit number of the last bitmask needed to represent all bits of the group invocations.
521
533
///
522
534
/// Requires Capability `GroupNonUniformBallot`.
535
+
///
536
+
/// # Safety
537
+
/// * This function is safe
538
+
/// * Result is undefined if `id` is an inactive invocation or out of bounds
/// The resulting value is undefined if current invocation’s id within the group xor’ed with Mask is an inactive invocation, or is greater than or equal to the size of the group.
626
646
///
627
647
/// Requires Capability `GroupNonUniformShuffle`.
648
+
///
649
+
/// # Safety
650
+
/// * This function is safe
651
+
/// * Result is undefined if current invocation’s id within the group xor’ed with `mask` is an inactive invocation or out of bounds
/// Delta is treated as unsigned and the resulting value is undefined if Delta is greater than the current invocation’s id within the group or if the selected lane is inactive.
/// Delta is treated as unsigned and the resulting value is undefined if Delta is greater than or equal to the size of the group, or if the current invocation’s id within the group + Delta is either an inactive invocation or greater than or equal to the size of the group.
/// * Result is undefined if `delta` is greater than or equal to the size of the group, or if the current invocation’s id within the group + `delta` is either an inactive invocation or greater than or equal to the size of the group.
702
734
#[spirv_std_macros::gpu_only]
703
735
#[doc(alias = "OpGroupNonUniformShuffleDown")]
704
736
#[inline]
@@ -1264,10 +1296,14 @@ Requires Capability `GroupNonUniformArithmetic` and `GroupNonUniformClustered`.
1264
1296
/// If the value of `index` is greater than or equal to 4, or refers to an inactive invocation, the resulting value is undefined.
1265
1297
///
1266
1298
/// Requires Capability `GroupNonUniformQuad`.
1299
+
///
1300
+
/// # Safety
1301
+
/// * This function is safe
1302
+
/// * Result is undefined if the value of `index` is greater than or equal to 4, or refers to an inactive invocation
0 commit comments