spirv_std::arch

Function subgroup_u_min

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

An unsigned integer minimum group operation of all Value operands contributed by active invocations in the group.

Result Type must be a scalar or vector of integer type, whose Signedness operand is 0.

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

The identity I for Operation is UINT_MAX.

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

Requires Capability GroupNonUniformArithmetic.