Function spirv_std::float::f16x2_to_vec2

source ·
pub fn f16x2_to_vec2<V: Vector<f32, 2>>(int: u32) -> V
Expand description

Converts two f16 values (halfs) into two f32 values (floats). The parameter is a u32, with the low 16 bits being the first f16, and the high 16 bits being the second f16.