dcl - (sm2, sm3 - ps asm)
Declare a pixel shader input register.
Syntax
dcl[_pp] dest[.mask]
Where:
- [_pp] is optional partial precision. See Partial Precision.
- dest is a destination register. It must be either a Input Color Register (vn), or an Texture Coordinate Register (tn).
- [.mask] is an optional write mask that controls which components of the destination register that can be written to. See Destination Register Write Mask.
Remarks
Pixel shader versions | 1_1 | 1_2 | 1_3 | 1_4 | 2_0 | 2_x | 2_sw | 3_0 | 3_sw |
---|---|---|---|---|---|---|---|---|---|
dcl | x | x | x | x | x |
All dcl instructions must appear before the first executable instruction.
Related topics