Function spirv_std::arch::subgroup_any
source · pub unsafe fn subgroup_any(predicate: bool) -> bool
Expand description
Evaluates a predicate for all active invocations in the group, resulting in true if predicate evaluates to true for any active invocation 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.
Predicate must be a Boolean type.
Requires Capability GroupNonUniformVote
.