ineg (sm4 - asm)
2's complement.
ineg dest[.mask], src0[.swizzle] |
---|
Item | Description |
---|---|
dest |
[in] The address of the result of the operation. |
src0 |
[in] Contains the values for the operation. |
Remarks
This instruction performs component-wise 2's complement of each 32-bit value in src0. The 32-bit results are stored in dest.
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 |