Function spirv_std::arch::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.