Registers - vs_1_1
Microsoft DirectX 9.0 SDK Update (October 2004)

Registers - vs_1_1


This section contains reference information for the input and output registers implemented by vertex shader version 1_1.

Input Registers

RegisterNameCountR/W# Read ports# Reads / instDimensionRelAddrDefaultsRequires DCL
a0Address Register1R/W1UnlimitedSee note 3NoNoneNo
c#Constant Float RegisterSee note 2R1Unlimited4a0.x(0, 0, 0, 0)No
v#Input Register16R1Unlimited4NoSee note 1Yes
r#Temporary Register12R/W3Unlimited4NoNoneNo

Notes:

  1. Partial (0, 0, 0, 1) - If only a subset of channels are updated, the remaining channels will default to (0, 0, 0, 1).
  2. Equal to D3DCAPS9.MaxVertexShaderConst (at least 96 for vs_1_1).
  3. Only .x channel is available.

Output Registers

RegisterNameCountR/WDimensionRelAddrDefaultsRequires DCL
oPosPosition Register1W4NoNoneNo
oFogFog Register1W1NoNoneNo
oPtsPoint Size Register1W1NoNoneNo
oD#Color Register; See note 12W4NoNoneNo
oT#Texture Coordinate Register8W4NoNoneNo

Notes:

  1. oD0 is the diffuse color output; oD1 is the specular color output.


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.