Irakurri ingelesez

Partekatu honen bidez:


lt (sm4 - asm)

Component-wise vector floating point less-than comparison.

lt dest[.mask], [-]src0[_abs][.swizzle], [-]src1[_abs][.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 src0.

 

Remarks

This instruction performs the float comparison (src0 < src1) for each component, and writes the result to dest.

If the comparison is true, then 0xFFFFFFFF is returned for that component. Otherwise 0x0000000 is returned

Denorms are flushed before comparison; original source registers are untouched.

+0 equals -0.

Comparison with NaN returns false.

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 4 Assembly (DirectX HLSL)