Microsoft DirectX 8.0 (Visual Basic) |
Represents operations that are consumed by rows of the 3×3 matrix multiply that have no textures bound.
texm3x3pad tDest, tSrc0
This instruction is a part of a 3×3 matrix multiply operation performed in a pixel shader's texture declaration stage. Texture coordinates corresponding to the declared texture are used as a row of the matrix. No texture should be bound at this stage.
The input argument to this declaration, t0, should be the input argument to the matrix multiply, tSrc0, as shown in the following example pixel shader.
tex t0 ; Define t0 as a standard 3-vector. texm3x3pad t1, t0 ; Perform first row of matrix multiply. texm3x3pad t2, t1 ; Perform second row of matrix multiply. texm3x3tex t3, t2 ; Perform third row of matrix multiply to get a ; 3-vector with which to sample texture 2. mov r0, t3
Note that this instruction has an unnamed input which is the assigned texture that corresponds to this texture stage.