Microsoft DirectX 8.0 (Visual Basic) |
.rgba
Requests that the same instruction be applied in both the color and alpha channels. This is the default, so no output mask needs to be specified to achieve the same result.
For example, the following instruction
mul r0, t0, v0
is equivalent to
mul r0.rgba, t0, v0
which is also equivalent to the following instruction.
mul r0.rgb, t0, v0 + mul r0.a, t0, v0
Note that even this last syntax takes only one clock due to pairing between the scalar and vector pipelines. For more information, see Pixel Shader Instruction Pairing.