Microsoft DirectX 8.1 (vertex shader versions 1.0, 1.1) |
This section contains reference information for the component modifiers implemented by the Direct3DX vertex shader assembler.
As shown in the following table, component modifiers (where r is a valid input registers or any of the output registers) can be applied to the individual components of the vector data.
Component modifier | Description |
---|---|
r.{x}{y}{z}{w} | Destination mask |
r.[xyzw][xyzw][xyzw][xywz] | Source swizzle |
-r | Source negation |
The swizzle and negate modifiers cannot be used on the following vertex shader (m3x2, m3x3, m4x3, m4x4) macro instructions.