Function spirv_std::float::vec4_to_u8x4_snorm
source · pub fn vec4_to_u8x4_snorm(vec: impl Vector<f32, 4>) -> u32
Expand description
Packs a vec4 into 4 8-bit signed integers. See PackSnorm4x8 for exact semantics.
pub fn vec4_to_u8x4_snorm(vec: impl Vector<f32, 4>) -> u32
Packs a vec4 into 4 8-bit signed integers. See PackSnorm4x8 for exact semantics.