Function spirv_std::float::vec2_to_f16x2
source · Expand description
Converts two f32 values (floats) into two f16 values (halfs). The result is a u32, with the low 16 bits being the first f16, and the high 16 bits being the second f16.