utof (sm4 - asm)
Unsigned integer to floating point conversion.
utof dest[.mask], src0[.swizzle] |
---|
Item | Description |
---|---|
dest |
[in] The address of the result of the operation. |
src0 |
[in] The components to convert. |
Remarks
src0 must contain an unsigned 32-bit integer 4-tuple. After the instruction executes, dest will contain a floating-point 4-tuple. The conversion is performed per-component.
When an integer input value is too large to be represented exactly in the floating point format, round to nearest even mode.
This instruction applies to the following shader stages:
Vertex Shader | Geometry Shader | Pixel Shader |
---|---|---|
x | x | x |
Minimum Shader Model
This function is supported in the following shader models.
Shader Model | Supported |
---|---|
Shader Model 5 | yes |
Shader Model 4.1 | yes |
Shader Model 4 | yes |
Shader Model 3 (DirectX HLSL) | no |
Shader Model 2 (DirectX HLSL) | no |
Shader Model 1 (DirectX HLSL) | no |