unpackSnorm2x16ToFloat
Description
Unpack a 32-bit unsigned integer into two 16-bit signed integers. Then, each 16-bit value is converted to a normalized single-precision floating-point value to generate a 2-component vector.
Signature
vector<float, 2> unpackSnorm2x16ToFloat(uint packedValue);
Parameters
packedValue : 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.