Registers - gs_4_1

This section contains reference information for the input and output registers implemented by geometry shader versions 4_0 and 4_1.

Input Registers

RegisterNameCountR/WDimensionIndexable by r#DefaultsRequires DCL
r#4096(r#+x#[n])R/W4NoNoneYes
x#[n]4096(r#+x#[n])R/W4YesNoneYes
v#[vertex][element]32R4(comp)*6(vert)YesNoneYes
vprim1R1NoNoneYes
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 Register32WN/AN/A4Yes

 

Related topics

Shader Model 4

 

 

Show: