spirv_std::arch

Function subgroup_inclusive_f_add

Source
pub unsafe fn subgroup_inclusive_f_add<I: VectorOrScalar<Scalar = impl Float>>(
    value: I,
) -> I
Expand description

A floating point add group operation of all Value operands contributed by active invocations in the group.

Result Type must be a scalar or vector of floating-point type.

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

The identity I for Operation is 0.

The type of Value must be the same as Result Type. The method used to perform the group operation on the contributed Value(s) from active invocations is implementation defined.

Requires Capability GroupNonUniformArithmetic.