spirv_std::float

Function u16x2_to_vec2_snorm

Source
pub fn u16x2_to_vec2_snorm<V: Vector<f32, 2>>(int: u32) -> V
Expand description

Unpacks 2 16-bit signed integers into a vec2. See UnpackSnorm2x16 for exact semantics.