Function spirv_std::float::vec2_to_u16x2_snorm

source ·
pub fn vec2_to_u16x2_snorm(vec: impl Vector<f32, 2>) -> u32
Expand description

Packs a vec2 into 2 16-bit signed integers. See PackSnorm2x16 for exact semantics.