texldd (Pixel Shader)
Samples a texture using the texture coordinates at src0, the sampler specified by src1, and the x-gradient (dsx) and y-gradient (dsy) coming from src2 and src3.
Syntax
texldd, dest, src0, src1, src2, src3 |
---|
Where:
- dest is a destination register.
- src0 is an input source register containing texture coordinates.
- src1 is an input source register that specifies the sampler register. See Sampler Register. The sampler states supported are D3DSAMP_MAXMIPLEVEL and D3DSAMP_MIPMAPLODBIAS.
- src2 is an input source register that specifies the x gradient.
- src3 is an input source register that specifies the y gradient.
Remarks
Pixel shader versions | 1_1 | 1_2 | 1_3 | 1_4 | 2_0 | 2_x | 2_sw | 3_0 | 3_sw |
---|
texldd | | | | | | x | x | x | x |
---|
This instruction samples a texture using the texture coordinates at SRC0, the sampler specified by SRC1, and the gradients DSX and DSY coming from SRC2 and SRC3.
All sources support arbitrary swizzles.
All write masks are valid on the destination.