usubb (sm5 - asm)
Unsigned integer subtract with borrow.
|usubb dest0[.mask], dest1[.mask], src0[.swizzle], src1[.swizzle]|
[in] Contains the LSAB results of the instruction.
[in] The corresponding component of dest0 that specifies if a borrow was produced.
[in] The value from which to subtract.
[in] The amount to subtract from src0.
This instruction performs a component-wise unsigned subtract of 32-bit operands src1 from src0, placing the LSB part of the 32-bit result in dest0.
The corresponding component in dest1 is written with 1 if a borrow is produced, 0 otherwise.
dest1 can be NULL if the borrow is not needed.
This instruction applies to the following shader stages:
This instruction is supported in the following shader models:
|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|