Export (0) Print
Expand All
Expand Minimize

f32tof16 (sm5 - asm)

Component-wise float16 to float32 conversion.

f32tof16 dest[.mask], [-]src[.swizzle]

 

ItemDescription

dest

[in] The address of float16 result.

src

[in] The float32 value to convert.

 

Remarks

This instruction performs a component-wise conversion of a float32 value to a float16 value result placed in LSB 16 bits.

This instruction follows D3D rules for floating point conversion.

Use this instruction for shader-driven data compression.

This instruction applies to the following shader stages:

VertexHullDomainGeometryPixelCompute
XX X XXX

 

Minimum Shader Model

This instruction is supported in the following shader models:

Shader ModelSupported
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

 

 

 

Community Additions

ADD
Show:
© 2014 Microsoft