ult (sm4 - asm)

Component-wise vector unsigned integer less-than comparison.

ult dest[.mask], src0[.swizzle], src1[.swizzle]

 

Item Description

dest

[in] The address of the result of the operation.

src0

[in] The value to compare to src1.

src1

[in] The value to compare to src1.

 

Remarks

Performs the unsigned integer comparison (src0 < src1) for each component, and writes the result to dest.

If the comparison is true, this instruction returns 0xFFFFFFFF for that component. Otherwise it returns 0x0000000.

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

 

Shader Model 4 Assembly (DirectX HLSL)