--- layout: stdlib-reference --- # unpack\_u8u16 ## Description Unpack 4 unsigned 8-bit values into a vector of 16 bit integers. ## Signature
vector<uint16_t, 4> unpack_u8u16(uint packed);

## Parameters #### packed : uint ## Availability and Requirements Defined for the following targets: #### hlsl Available in all stages. #### glsl Available in all stages. #### cpp Available in all stages. #### cuda Available in all stages. #### metal Available in all stages. #### wgsl Available in all stages. #### spirv Available in all stages.