Microsoft DirectX 8.0 (C++) |
Used in combination with other texture address operations to perform 2×3 matrix multiplies.
texm3x2pad tDest, tSrc0
This instruction is used to represent stages where only the texture coordinate is used. These corresponding stages have not textures bound, and no sampling will occur. The input argument, t0, should still be specified.
The following example shows how the texm3x2pad instruction might be used.
tex t0 ; Define t0 as a standard 3-vector. texm3x2pad t1, t0 ; Perform fist row of matrix multiply. texm3x2tex t2, t0 ; Perform second row of matrix multiply to get a ; 2-vector with which to sample texture 2.
Note that this instruction has an unnamed input which is the assigned texture that corresponds to this texture stage.