Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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
a0 Address Register 1R/W1UnlimitedSee note 3NoNoneNo
c# Constant Float Register See note 2R1Unlimited4a0.x(0, 0, 0, 0)No
v# Input Register 16R1Unlimited4NoSee note 1Yes
r# Temporary Register 12R/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:

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

 

 

Community Additions

ADD
Show:
© 2015 Microsoft