spirv_std::arch

Function signed_min

Source
pub fn signed_min<T: SignedInteger>(a: T, b: T) -> T
Expand description

Compute the minimum of two signed integers via a GLSL extended instruction.