f16tof32 (sm5 - asm)

Component-wise float16 to float32 conversion.

f16tof32 dest[.mask], [-]src0[.swizzle]
Item Description
dest
[in] The address of the float32 result.
src0
[in] The float16 value to convert.

Remarks

This operation performs a component-wise conversion of a float16 value from LSB bits to a float32 result.

This operation follows D3D rules for floating point conversion.

Use this instruction for shader-driven data decompression.

This instruction applies to the following shader stages:

Vertex Hull Domain Geometry Pixel Compute
X X X X X X

Minimum Shader Model

This instruction is supported in the following shader models:

Shader Model Supported
Shader Model 5 yes
Shader Model 4.1 no
Shader Model 4 no
Shader Model 3 (DirectX HLSL) no
Shader Model 2 (DirectX HLSL) no
Shader Model 1 (DirectX HLSL) no

Shader Model 5 Assembly (DirectX HLSL)