Microsoft DirectX 8.0 (C++) |
-rn
Performs a signed inverse (y = -x), or negates the value before it is used in the instruction.
The following example shows how to use this modifier.
mul r0, r0, -v1 ; Multiply by –specular color.
This operation is performed after any other modifiers present on the same argument.
Note that Invert (1-rn)and Negate (-rn) are mutually exclusive and cannot be applied to the same register.
This modifier is for use with the color and alpha blending instructions.