Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This section contains reference information for the input and output registers implemented by vertex shader version 3_0.
Register | Name | Count | R/W | # Read ports | # Reads / inst | Dimension | RelAddr | Defaults | Requires DCL |
---|---|---|---|---|---|---|---|---|---|
v# | Input Register | 16 | R | 1 | Unlimited | 4 | a0/aL | See note 1 | Yes |
r# | Temporary Register | 32 | R/W | 3 | Unlimited | 4 | No | None | No |
c# | Constant Float Register | See note 2 | R | 1 | Unlimited | 4 | a0/aL | (0, 0, 0, 0) | No |
a0 | Address Register | 1 | R/W | 1 | Unlimited | 4 | No | None | No |
b# | Constant Boolean Register | 16 | R | 1 | 1 | 1 | No | FALSE | No |
i# | Constant Integer Register | 16 | R | 1 | 1 | 4 | No | (0, 0, 0, 0) | No |
aL | Loop Counter Register | 1 | R | 1 | Unlimited | 1 | No | None | No |
p0 | Predicate Register | 1 | R/W | 1 | 1 | 4 | no | none | no |
s# | Sampler (Direct3D 9 asm-vs) | 4 | R | 1 | 1 | 4 | No | See note 3 | Yes |
Notes:
Output registers have been collapsed into 12 o# (output) registers. These can be used for anything the user wants to interpolate for the pixel shader: texture coordinates, colors, fog, etc.
Register | Name | Count | R/W | Dimension | RelAddr | Defaults | Requires DCL |
---|---|---|---|---|---|---|---|
o# | Output Register | 12 | W | 4 | aL | None | Yes |
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today