Function spirv_std::arch::subgroup_broadcast_first

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

Result is the Value of the invocation from the active invocation with the lowest id in the group to all active invocations in the group.

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.

Requires Capability GroupNonUniformBallot.