Function spirv_std::float::vec2_to_u16x2_unorm

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

Packs a vec2 into 2 16-bit unsigned integers. See PackUnorm2x16 for exact semantics.