spirv_std::arch

Function signed_max

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

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