Converts two normalized f32s to u16s and then packs them in a u32
This should implement the same behaviour as the builtin pack2x16unorm from WGSL.
pack2x16unorm
Caller is responsible to ensuring inputs are normalized f32s
first f32 to be packed
second f32 to be packed
an number that is expected result of pack2x16unorm.
Generated using TypeDoc
Converts two normalized f32s to u16s and then packs them in a u32
This should implement the same behaviour as the builtin
pack2x16unorm
from WGSL.Caller is responsible to ensuring inputs are normalized f32s