Source Register Scale x 2
Multiply the value by two before using it in the instruction.
Source register. For more about register types, see ps_1_1__ps_1_2__ps_1_3__ps_1_4 Registers.
The contents of the register are not changed. The modifier is applied only to the data read from the register.
This modifier is mutually exclusive with Source Register Invert, so it cannot be applied to the same register.
This modifier is only available to arithmetic instructions in version 1_4.
This example samples a texture, converts data to the range of -1 to +1, and calculates a dot product.
mul r0, r0, r1_x2;