Function spirv_std::arch::subgroup_elect

source ·
pub unsafe fn subgroup_elect() -> bool
Expand description

Result is true only in the active invocation with the lowest id in the group, otherwise 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.

Requires Capability GroupNonUniform.