Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Unsigned integer add with carry.
uaddc dst0[.mask], dst1[.mask], src0[.swizzle], src1[.swizzle] |
---|
Item | Description |
---|---|
dst0 |
[in] Address of the result. |
dst1 |
[in] 1 if carry is produced. Otherwise 0. |
src0 |
[in] 32-bit operand to be added. |
src1 |
[in] 32-bit operand to be added. |
Remarks
dst1 can be NULL if the carry is not needed.
Use this instruction for high precision arithmetic.
This instruction applies to the following shader stages:
Vertex | Hull | Domain | Geometry | Pixel | Compute |
---|---|---|---|---|---|
X | X | X | X | X | X |
Minimum Shader Model
This instruction is supported in the following shader models:
Shader Model | Supported |
---|---|
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 |