Function spirv_std::arch::subgroup_inclusive_s_max

source ·
pub unsafe fn subgroup_inclusive_s_max<I: VectorOrScalar<Scalar = impl SignedInteger>>(
    value: I
) -> I
Expand description

A signed integer maximum group operation of all Value operands contributed by active invocations in the group.

Result Type must be a scalar or vector of integer 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 INT_MIN.

The type of Value must be the same as Result Type.

Requires Capability GroupNonUniformArithmetic.