Function spirv_std::arch::subgroup_shuffle_xor
source · pub unsafe fn subgroup_shuffle_xor<T: VectorOrScalar>(value: T, mask: u32) -> T
Expand description
Result is the Value of the invocation identified by the current invocation’s id within the group xor’ed with Mask.
Result Type must be a scalar or vector of floating-point type, integer type, or Boolean type.
Execution is a Scope that identifies the group of invocations affected by this command. It must be Subgroup.
The type of Value must be the same as Result Type.
Mask must be a scalar of integer type, whose Signedness operand is 0.
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.
Requires Capability GroupNonUniformShuffle
.