pub fn pack_u16_pair(hi: u16, lo: u16) -> f32
Pack two u16 values into the bit pattern of a f32.
u16
f32
The WGSL shader unpacks with bitcast<u32>(v) >> 16u and & 0xffffu. Values must be in [0, 65535].
bitcast<u32>(v) >> 16u
& 0xffffu
[0, 65535]