Function spirv_std::arch::subgroup_all_equal

source ·
pub unsafe fn subgroup_all_equal<T: VectorOrScalar>(value: T) -> bool
Expand description

Evaluates a value for all active invocations in the group. The result is true if Value is equal for all active invocations in the group. Otherwise, the result is false.

Result Type must be a Boolean type.

Execution is a Scope that identifies the group of invocations affected by this command. It must be Subgroup.

Value must be a scalar or vector of floating-point type, integer type, or Boolean type. The compare operation is based on this type, and if it is a floating-point type, an ordered-and-equal compare is used.

Requires Capability GroupNonUniformVote.