diff options
author | Joakim Sindholt <opensource@zhasha.com> | 2009-10-17 20:24:33 +0200 |
---|---|---|
committer | Joakim Sindholt <opensource@zhasha.com> | 2009-10-17 20:24:33 +0200 |
commit | 1d3082ebe15bff93cafd77fb1ef7f573d725bc0b (patch) | |
tree | 45c1d1604f69e73054a470bfd0fa4c58ac685141 | |
parent | 5fd46ee9ac6d57a7886af0f2bc10e17a09a2f6b0 (diff) |
xml: update with newly added registers
-rw-r--r-- | r300reg.xml | 108 |
1 files changed, 108 insertions, 0 deletions
diff --git a/r300reg.xml b/r300reg.xml index 6ea97c5..c752524 100644 --- a/r300reg.xml +++ b/r300reg.xml @@ -601,6 +601,13 @@ <value value="1" name="SOURCE_ST"><doc>Stuff with source texture coordinates (S,T).</doc></value> <value value="2" name="SOURCE_STR"><doc>Stuff with source texture coordinates (S,T,R).</doc></value> </enum> +<enum name="ENUM177"> + <value value="0" name="NOT_ACTIVE"><doc>Not active</doc></value> + <value value="1" name="1_COMPONENT"><doc>1 component (VAP/GA), 2 component (GA/SU)</doc></value> + <value value="2" name="2_COMPONENT"><doc>2 component (VAP/GA), 2 component (GA/SU)</doc></value> + <value value="3" name="3_COMPONENT"><doc>3 component (VAP/GA), 3 component (GA/SU)</doc></value> + <value value="4" name="4_COMPONENT"><doc>4 component (VAP/GA), 4 component (GA/SU)</doc></value> +</enum> <enum name="TX_FILTER_R500"> <value value="0" name="FILTER4"><doc>Filter4</doc></value> <value value="1" name="POINT"><doc>Point</doc></value> @@ -3589,6 +3596,107 @@ <value value="1" name="8X8_Z_PLANE_EQUATIONS"><doc>8x8 z plane equations (point-sampled only)</doc></value> </bitfield> </reg32> + <reg32 name="PS3_ENABLE" access="rw" offset="0x4118"> + <doc>PS3 mode enable register</doc> + <bitfield name="PS3_MODE" high="0" low="0"> + <doc>When reset (default), follows R300/PS2 mode; when set, allows for new ps3 mode.</doc> + <value value="0" name="DEFAULT_PS2_MODE"><doc>Default PS2 mode</doc></value> + <value value="1" name="NEW_PS3_MODE"><doc>New PS3 mode</doc></value> + </bitfield> + </reg32> + <reg32 name="PS3_TEX_SOURCE" access="rw" offset="0x4120"> + <doc>Specifies source for texture components in PS3 mode</doc> + <bitfield name="TEX0_SOURCE" high="1" low="0"> + <doc>Specifies VAP source, or GA (ST) or GA (STR) stuffing for each texture.</doc> + <use-enum ref="TEX_COORD_SRC" /> + </bitfield> + <bitfield name="TEX1_SOURCE" high="3" low="2"> + <doc>Specifies VAP source, or GA (ST) or GA (STR) stuffing for each texture.</doc> + <use-enum ref="TEX_COORD_SRC" /> + </bitfield> + <bitfield name="TEX2_SOURCE" high="5" low="4"> + <doc>Specifies VAP source, or GA (ST) or GA (STR) stuffing for each texture.</doc> + <use-enum ref="TEX_COORD_SRC" /> + </bitfield> + <bitfield name="TEX3_SOURCE" high="7" low="6"> + <doc>Specifies VAP source, or GA (ST) or GA (STR) stuffing for each texture.</doc> + <use-enum ref="TEX_COORD_SRC" /> + </bitfield> + <bitfield name="TEX4_SOURCE" high="9" low="8"> + <doc>Specifies VAP source, or GA (ST) or GA (STR) stuffing for each texture.</doc> + <use-enum ref="TEX_COORD_SRC" /> + </bitfield> + <bitfield name="TEX5_SOURCE" high="11" low="10"> + <doc>Specifies VAP source, or GA (ST) or GA (STR) stuffing for each texture.</doc> + <use-enum ref="TEX_COORD_SRC" /> + </bitfield> + <bitfield name="TEX6_SOURCE" high="13" low="12"> + <doc>Specifies VAP source, or GA (ST) or GA (STR) stuffing for each texture.</doc> + <use-enum ref="TEX_COORD_SRC" /> + </bitfield> + <bitfield name="TEX7_SOURCE" high="15" low="14"> + <doc>Specifies VAP source, or GA (ST) or GA (STR) stuffing for each texture.</doc> + <use-enum ref="TEX_COORD_SRC" /> + </bitfield> + <bitfield name="TEX8_SOURCE" high="17" low="16"> + <doc>Specifies VAP source, or GA (ST) or GA (STR) stuffing for each texture.</doc> + <use-enum ref="TEX_COORD_SRC" /> + </bitfield> + <bitfield name="TEX9_SOURCE" high="19" low="18"> + <doc>Specifies VAP source, or GA (ST) or GA (STR) stuffing for each texture.</doc> + <use-enum ref="TEX_COORD_SRC" /> + </bitfield> + </reg32> + <reg32 name="PS3_VTX_FMT" access="rw" offset="0x411C"> + <doc>PS3 vertex format register</doc> + <bitfield name="TEX_0_COMP_CNT" high="2" low="0"> + <doc>How many active components (0,1,2,3,4) are in each texture.</doc> + <use-enum ref="ENUM177" /> + </bitfield> + <bitfield name="TEX_1_COMP_CNT" high="5" low="3"> + <doc>How many active components (0,1,2,3,4) are in each texture.</doc> + <use-enum ref="ENUM177" /> + </bitfield> + <bitfield name="TEX_2_COMP_CNT" high="8" low="6"> + <doc>How many active components (0,1,2,3,4) are in each texture.</doc> + <use-enum ref="ENUM177" /> + </bitfield> + <bitfield name="TEX_3_COMP_CNT" high="11" low="9"> + <doc>How many active components (0,1,2,3,4) are in each texture.</doc> + <use-enum ref="ENUM177" /> + </bitfield> + <bitfield name="TEX_4_COMP_CNT" high="14" low="12"> + <doc>How many active components (0,1,2,3,4) are in each texture.</doc> + <use-enum ref="ENUM177" /> + </bitfield> + <bitfield name="TEX_5_COMP_CNT" high="17" low="15"> + <doc>How many active components (0,1,2,3,4) are in each texture.</doc> + <use-enum ref="ENUM177" /> + </bitfield> + <bitfield name="TEX_6_COMP_CNT" high="20" low="18"> + <doc>How many active components (0,1,2,3,4) are in each texture.</doc> + <use-enum ref="ENUM177" /> + </bitfield> + <bitfield name="TEX_7_COMP_CNT" high="23" low="21"> + <doc>How many active components (0,1,2,3,4) are in each texture.</doc> + <use-enum ref="ENUM177" /> + </bitfield> + <bitfield name="TEX_8_COMP_CNT" high="26" low="24"> + <doc>How many active components (0,1,2,3,4) are in each texture.</doc> + <use-enum ref="ENUM177" /> + </bitfield> + <bitfield name="TEX_9_COMP_CNT" high="29" low="27"> + <doc>How many active components (0,1,2,3,4) are in each texture.</doc> + <use-enum ref="ENUM177" /> + </bitfield> + <bitfield name="TEX_10_COMP_CNT" high="31" low="30"> + <doc>How many active components (0,2,3,4) are in texture 10.</doc> + <value value="0" name="NOT_ACTIVE"><doc>Not active</doc></value> + <value value="1" name="2_COMPONENT"><doc>2 component (GA/SU)</doc></value> + <value value="2" name="3_COMPONENT"><doc>3 component (GA/SU)</doc></value> + <value value="3" name="4_COMPONENT"><doc>4 component (GA/SU)</doc></value> + </bitfield> + </reg32> <reg32 name="RS_COUNT" access="rw" offset="0x4300"> <doc>This register specifies the rasterizer input packet configuration</doc> <bitfield name="IT_COUNT" high="6" low="0"><doc>Specifies the total number of texture address components contained in the rasterizer input packet (0:32).</doc></bitfield> |