dcl_samplerType - vs
Declare a vertex shader sampler.
Syntax
where:
- _samplerType defines the sampler data type. This determines how many coordinates are required by each texture coordinate when sampling. The following texture coordinate dimensions are defined.
- s# identifies a sampler where s is an abbreviation for the sampler, and # is the sampler number. Samplers are pseudo registers because you cannot directly read or write to them.
Remarks
Vertex shader versions |
1_1 |
2_0 |
2_x |
2_sw |
3_0 |
3_sw |
dcl_samplerType |
|
|
|
|
x |
x |
All dcl_samplerType instructions must appear before the first executable instruction.