Microsoft DirectX 8.0 (Visual Basic)

texm3x2pad

Used in combination with other texture address operations to perform 2×3 matrix multiplies.

texm3x2pad   tDest, tSrc0

Registers

tDest
Destination register, holding the result of the operation.
tSrc0
Temporary source register, specifying the input argument.

Remarks

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.