Export (0) Print
Expand All

Registers - ps_5_0

The following input and output registers are implemented in the pixel shader version 5_0.

Input Registers

Register TypeCountR/WDimensionIndexable by r#DefaultsRequires DCL
32-bit Temp (r#)4096(r#+x#[n])R/W4NoNoneYes
32-bit Indexable Temp Array (x#[n])4096(r#+x#[n])R/W4YesNoneYes
32-bit Input Attribute (v#)32R4YesNoneYes
Element in an input resource (t#)128R1NoNoneYes
Sampler (s#)16R1NoNoneYes
ConstantBuffer reference (cb#[index])15R4Yes(contents)NoneYes
Immediate ConstantBuffer reference (icb[index])1R4Yes(contents)NoneYes

 

Output Registers

Register Type CountR/WDimensionIndexable by r#DefaultsRequires DCL
NULL (discard result, useful for operations with multiple results)N/AWN/AN/AN/ANo
32-bit output Element (o#)8W4N/AN/ANo
Unordered Access View (u#)8 - # of rendertargets R/WD3D11_PS_CS_UAV_REGISTER_COMPONENTS NoNoYes
32-bit [0.0f..1.0f] float output depth (oDepth) 1W1N/AN/AYes
32-bit UINT output sample mask (oMask) 1W1N/AN/AYes

 

 

 

Community Additions

ADD
Show:
© 2014 Microsoft