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 - ps_4_0

This section contains reference information for the input and output registers implemented by pixel shader version 4_0.

Input Registers

RegisterNameCountR/WDimensionIndexable by r#DefaultsRequires DCL
r#4096(r#+x#[n])R/W4NoNoneYes
x#[n]4096(r#+x#[n])R/W4YesNoneYes
v#32R4YesNoneYes
t#128R1NoNoneYes
s#16R1NoNoneYes
cb#[index]15R4Yes(Contents)NoneYes
icb[index]1R4Yes(Contents)NoneYes

 

Output Registers

RegisterNameCountR/WDimensionIndexable by r#DefaultsRequires DCL
NULLDiscard ResultN/AWN/AN/AN/ANo
o#Output Register8WN/AN/A4No
oDepthOutput Depth1WN/AN/A1N/A

 

 

 

Community Additions

ADD
Show:
© 2015 Microsoft