summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoakim Sindholt <opensource@zhasha.com>2009-10-15 22:47:22 +0200
committerJoakim Sindholt <opensource@zhasha.com>2009-10-15 22:47:22 +0200
commit8bd15ebd0e100dc2b77c623c068d08d3519bff86 (patch)
tree0780ee278958d53c75c1bd0a56e8bc8654f91af5
parentd667885bb0546d72cc99ccbe70854c9657f8c2c1 (diff)
xml: even more enum cleanups
-rw-r--r--r300reg.xml652
1 files changed, 298 insertions, 354 deletions
diff --git a/r300reg.xml b/r300reg.xml
index 9f636ef..6ea97c5 100644
--- a/r300reg.xml
+++ b/r300reg.xml
@@ -97,14 +97,24 @@
<value value="2" name="LUT"><doc>LUT dither</doc></value>
</enum>
<enum name="ALPHACOMPARE_FUNC">
- <value value="0" name="NEVER" />
- <value value="1" name="LESS" />
- <value value="2" name="EQUAL" />
- <value value="3" name="LE" />
- <value value="4" name="GREATER" />
- <value value="5" name="NOTEQUAL" />
- <value value="6" name="GE" />
- <value value="7" name="ALWAYS" />
+ <value value="0" name="NEVER"><doc>Never</doc></value>
+ <value value="1" name="LESS"><doc>Less</doc></value>
+ <value value="2" name="EQUAL"><doc>Equal</doc></value>
+ <value value="3" name="LE"><doc>Less or Equal</doc></value>
+ <value value="4" name="GREATER"><doc>Greater Than</doc></value>
+ <value value="5" name="NOTEQUAL"><doc>Not Equal</doc></value>
+ <value value="6" name="GE"><doc>Greater or Equal</doc></value>
+ <value value="7" name="ALWAYS"><doc>Always</doc></value>
+</enum>
+<enum name="DSCOMPARE_FUNC">
+ <value value="0" name="NEVER"><doc>Never</doc></value>
+ <value value="1" name="LESS"><doc>Less</doc></value>
+ <value value="2" name="LE"><doc>Less or Equal</doc></value>
+ <value value="3" name="EQUAL"><doc>Equal</doc></value>
+ <value value="4" name="GE"><doc>Greater or Equal</doc></value>
+ <value value="5" name="GREATER"><doc>Greater Than</doc></value>
+ <value value="6" name="NOTEQUAL"><doc>Not Equal</doc></value>
+ <value value="7" name="ALWAYS"><doc>Always</doc></value>
</enum>
<enum name="ALPHA_SUBPIXEL_SAMPLES">
<value value="0" name="2_4"><doc>2/4 sub-pixel samples.</doc></value>
@@ -159,21 +169,21 @@
<value value="2" name="8"><doc>8 words</doc></value>
<value value="3" name="12"><doc>12 words</doc></value>
</enum>
-<enum name="ENUM45">
- <value value="0" name="SELECT_C0A"><doc>Select C0A</doc></value>
- <value value="1" name="SELECT_C1A"><doc>Select C1A</doc></value>
- <value value="2" name="SELECT_C2A"><doc>Select C2A</doc></value>
- <value value="3" name="SELECT_C3A"><doc>Select C3A</doc></value>
- <value value="4" name="SELECT_1"><doc>Select 1/(1/W)</doc></value>
- <value value="5" name="SELECT_Z"><doc>Select Z</doc></value>
+<enum name="FOG_SELECT">
+ <value value="0" name="C0A"><doc>Select C0A</doc></value>
+ <value value="1" name="C1A"><doc>Select C1A</doc></value>
+ <value value="2" name="C2A"><doc>Select C2A</doc></value>
+ <value value="3" name="C3A"><doc>Select C3A</doc></value>
+ <value value="4" name="1_1_W"><doc>Select 1/(1/W)</doc></value>
+ <value value="5" name="Z"><doc>Select Z</doc></value>
</enum>
-<enum name="ENUM46">
- <value value="0" name="SELECT_Z"><doc>Select Z</doc></value>
- <value value="1" name="SELECT_1"><doc>Select 1/(1/W)</doc></value>
+<enum name="DEPTH_SELECT">
+ <value value="0" name="Z"><doc>Select Z</doc></value>
+ <value value="1" name="1_1_W"><doc>Select 1/(1/W)</doc></value>
</enum>
-<enum name="ENUM47">
- <value value="0" name="SELECT"><doc>Select (1/W)</doc></value>
- <value value="1" name="SELECT_1"><doc>Select 1.0</doc></value>
+<enum name="W_SELECT">
+ <value value="0" name="1_W"><doc>Select (1/W)</doc></value>
+ <value value="1" name="K1"><doc>Select 1.0</doc></value>
</enum>
<enum name="ENUM50">
<value value="0" name="1X1_TILE"><doc>1x1 tile (one 1x1).</doc></value>
@@ -185,9 +195,9 @@
<value value="6" name="64_TILES"><doc>64 tiles (one 8x8).</doc></value>
<value value="7" name="128_TILES"><doc>128 tiles (two 8x8 : ST-A,B).</doc></value>
</enum>
-<enum name="ENUM51">
- <value value="0" name="ST"><doc>ST-A tile.</doc></value>
- <value value="1" name="ST"><doc>ST-B tile.</doc></value>
+<enum name="SUPERTILE_LOCATION">
+ <value value="0" name="ST_A"><doc>ST-A tile.</doc></value>
+ <value value="1" name="ST_B"><doc>ST-B tile.</doc></value>
</enum>
<enum name="SUBPIXEL_PRECISION">
<value value="0" name="1_12"><doc>Select 1/12 subpixel precision.</doc></value>
@@ -197,16 +207,16 @@
<value value="0" name="REAL"><doc>Sample texture coordinates at real pixel centers</doc></value>
<value value="1" name="ADJUSTED"><doc>Sample texture coordinates at adjusted pixel centers</doc></value>
</enum>
-<enum name="ENUM57">
- <value value="0" name="FOUR_COMPONENTS"><doc>Four components (R,G,B,A)</doc></value>
- <value value="1" name="THREE_COMPONENTS"><doc>Three components (R,G,B,0)</doc></value>
- <value value="2" name="THREE_COMPONENTS"><doc>Three components (R,G,B,1)</doc></value>
- <value value="4" name="ONE_COMPONENT"><doc>One component (0,0,0,A)</doc></value>
- <value value="5" name="ZERO_COMPONENTS"><doc>Zero components (0,0,0,0)</doc></value>
- <value value="6" name="ZERO_COMPONENTS"><doc>Zero components (0,0,0,1)</doc></value>
- <value value="8" name="ONE_COMPONENT"><doc>One component (1,1,1,A)</doc></value>
- <value value="9" name="ZERO_COMPONENTS"><doc>Zero components (1,1,1,0)</doc></value>
- <value value="10" name="ZERO_COMPONENTS"><doc>Zero components (1,1,1,1)</doc></value>
+<enum name="COLFMT">
+ <value value="0" name="RGBA"><doc>Four components (R,G,B,A)</doc></value>
+ <value value="1" name="RGB0"><doc>Three components (R,G,B,0)</doc></value>
+ <value value="2" name="RGB1"><doc>Three components (R,G,B,1)</doc></value>
+ <value value="4" name="000A"><doc>One component (0,0,0,A)</doc></value>
+ <value value="5" name="0000"><doc>Zero components (0,0,0,0)</doc></value>
+ <value value="6" name="0001"><doc>Zero components (0,0,0,1)</doc></value>
+ <value value="8" name="111A"><doc>One component (1,1,1,A)</doc></value>
+ <value value="9" name="1110"><doc>Zero components (1,1,1,0)</doc></value>
+ <value value="10" name="1111"><doc>Zero components (1,1,1,1)</doc></value>
</enum>
<enum name="COLOR_COMPONENT">
<value value="0" name="C0"><doc>C0 - 1st texture component</doc></value>
@@ -330,7 +340,7 @@
<value value="1" name="3D" />
<value value="2" name="CUBE" />
</enum>
-<enum name="ENUM89">
+<enum name="TEXCACHE">
<value value="0" name="WHOLE"><doc>WHOLE</doc></value>
<value value="2" name="HALF_REGION_0"><doc>HALF_REGION_0</doc></value>
<value value="3" name="HALF_REGION_1"><doc>HALF_REGION_1</doc></value>
@@ -367,26 +377,26 @@
<value value="0" name="LINEAR"><doc>2KB page is linear</doc></value>
<value value="1" name="TILED"><doc>2KB page is tiled</doc></value>
</enum>
-<enum name="ENUM97">
- <value value="0" name="SRC0"><doc>src0.r</doc></value>
- <value value="1" name="SRC0"><doc>src0.g</doc></value>
- <value value="2" name="SRC0"><doc>src0.b</doc></value>
- <value value="3" name="SRC1"><doc>src1.r</doc></value>
- <value value="4" name="SRC1"><doc>src1.g</doc></value>
- <value value="5" name="SRC1"><doc>src1.b</doc></value>
- <value value="6" name="SRC2"><doc>src2.r</doc></value>
- <value value="7" name="SRC2"><doc>src2.g</doc></value>
- <value value="8" name="SRC2"><doc>src2.b</doc></value>
- <value value="9" name="SRC0"><doc>src0.a</doc></value>
- <value value="10" name="SRC1"><doc>src1.a</doc></value>
- <value value="11" name="SRC2"><doc>src2.a</doc></value>
- <value value="12" name="SRCP"><doc>srcp.r</doc></value>
- <value value="13" name="SRCP"><doc>srcp.g</doc></value>
- <value value="14" name="SRCP"><doc>srcp.b</doc></value>
- <value value="15" name="SRCP"><doc>srcp.a</doc></value>
- <value value="16" name="0"><doc>0.0</doc></value>
- <value value="17" name="1"><doc>1.0</doc></value>
- <value value="18" name="0"><doc>0.5</doc></value>
+<enum name="ALU_ALPHA_SWIZZLE_R300">
+ <value value="0" name="SRC0_R"><doc>src0.r</doc></value>
+ <value value="1" name="SRC0_G"><doc>src0.g</doc></value>
+ <value value="2" name="SRC0_B"><doc>src0.b</doc></value>
+ <value value="3" name="SRC1_R"><doc>src1.r</doc></value>
+ <value value="4" name="SRC1_G"><doc>src1.g</doc></value>
+ <value value="5" name="SRC1_B"><doc>src1.b</doc></value>
+ <value value="6" name="SRC2_R"><doc>src2.r</doc></value>
+ <value value="7" name="SRC2_G"><doc>src2.g</doc></value>
+ <value value="8" name="SRC2_B"><doc>src2.b</doc></value>
+ <value value="9" name="SRC0_A"><doc>src0.a</doc></value>
+ <value value="10" name="SRC1_A"><doc>src1.a</doc></value>
+ <value value="11" name="SRC2_A"><doc>src2.a</doc></value>
+ <value value="12" name="SRCP_R"><doc>srcp.r</doc></value>
+ <value value="13" name="SRCP_G"><doc>srcp.g</doc></value>
+ <value value="14" name="SRCP_B"><doc>srcp.b</doc></value>
+ <value value="15" name="SRCP_A"><doc>srcp.a</doc></value>
+ <value value="16" name="ZERO"><doc>0.0</doc></value>
+ <value value="17" name="ONE"><doc>1.0</doc></value>
+ <value value="18" name="HALF"><doc>0.5</doc></value>
</enum>
<enum name="ALU_INPUT_MOD">
<value value="0" name="NOP"><doc>Do not modify input</doc></value>
@@ -423,39 +433,39 @@
<value value="6" name="GB"><doc>GB: Write the green and blue channels.</doc></value>
<value value="7" name="RGB"><doc>RGB: Write the red, green, and blue channels.</doc></value>
</enum>
-<enum name="ENUM104">
- <value value="0" name="SRC0"><doc>src0.rgb</doc></value>
- <value value="1" name="SRC0"><doc>src0.rrr</doc></value>
- <value value="2" name="SRC0"><doc>src0.ggg</doc></value>
- <value value="3" name="SRC0"><doc>src0.bbb</doc></value>
- <value value="4" name="SRC1"><doc>src1.rgb</doc></value>
- <value value="5" name="SRC1"><doc>src1.rrr</doc></value>
- <value value="6" name="SRC1"><doc>src1.ggg</doc></value>
- <value value="7" name="SRC1"><doc>src1.bbb</doc></value>
- <value value="8" name="SRC2"><doc>src2.rgb</doc></value>
- <value value="9" name="SRC2"><doc>src2.rrr</doc></value>
- <value value="10" name="SRC2"><doc>src2.ggg</doc></value>
- <value value="11" name="SRC2"><doc>src2.bbb</doc></value>
- <value value="12" name="SRC0"><doc>src0.aaa</doc></value>
- <value value="13" name="SRC1"><doc>src1.aaa</doc></value>
- <value value="14" name="SRC2"><doc>src2.aaa</doc></value>
- <value value="15" name="SRCP"><doc>srcp.rgb</doc></value>
- <value value="16" name="SRCP"><doc>srcp.rrr</doc></value>
- <value value="17" name="SRCP"><doc>srcp.ggg</doc></value>
- <value value="18" name="SRCP"><doc>srcp.bbb</doc></value>
- <value value="19" name="SRCP"><doc>srcp.aaa</doc></value>
- <value value="20" name="0"><doc>0.0</doc></value>
- <value value="21" name="1"><doc>1.0</doc></value>
- <value value="22" name="0"><doc>0.5</doc></value>
- <value value="23" name="SRC0"><doc>src0.gbr</doc></value>
- <value value="24" name="SRC1"><doc>src1.gbr</doc></value>
- <value value="25" name="SRC2"><doc>src2.gbr</doc></value>
- <value value="26" name="SRC0"><doc>src0.brg</doc></value>
- <value value="27" name="SRC1"><doc>src1.brg</doc></value>
- <value value="28" name="SRC2"><doc>src2.brg</doc></value>
- <value value="29" name="SRC0"><doc>src0.abg</doc></value>
- <value value="30" name="SRC1"><doc>src1.abg</doc></value>
- <value value="31" name="SRC2"><doc>src2.abg</doc></value>
+<enum name="ALU_RGB_SWIZZLE_R300">
+ <value value="0" name="SRC0_RGB"><doc>src0.rgb</doc></value>
+ <value value="1" name="SRC0_RRR"><doc>src0.rrr</doc></value>
+ <value value="2" name="SRC0_GGG"><doc>src0.ggg</doc></value>
+ <value value="3" name="SRC0_BBB"><doc>src0.bbb</doc></value>
+ <value value="4" name="SRC1_RGB"><doc>src1.rgb</doc></value>
+ <value value="5" name="SRC1_RRR"><doc>src1.rrr</doc></value>
+ <value value="6" name="SRC1_GGG"><doc>src1.ggg</doc></value>
+ <value value="7" name="SRC1_BBB"><doc>src1.bbb</doc></value>
+ <value value="8" name="SRC2_RGB"><doc>src2.rgb</doc></value>
+ <value value="9" name="SRC2_RRR"><doc>src2.rrr</doc></value>
+ <value value="10" name="SRC2_GGG"><doc>src2.ggg</doc></value>
+ <value value="11" name="SRC2_BBB"><doc>src2.bbb</doc></value>
+ <value value="12" name="SRC0_AAA"><doc>src0.aaa</doc></value>
+ <value value="13" name="SRC1_AAA"><doc>src1.aaa</doc></value>
+ <value value="14" name="SRC2_AAA"><doc>src2.aaa</doc></value>
+ <value value="15" name="SRCP_RGB"><doc>srcp.rgb</doc></value>
+ <value value="16" name="SRCP_RRR"><doc>srcp.rrr</doc></value>
+ <value value="17" name="SRCP_GGG"><doc>srcp.ggg</doc></value>
+ <value value="18" name="SRCP_BBB"><doc>srcp.bbb</doc></value>
+ <value value="19" name="SRCP_AAA"><doc>srcp.aaa</doc></value>
+ <value value="20" name="ZERO"><doc>0.0</doc></value>
+ <value value="21" name="ONE"><doc>1.0</doc></value>
+ <value value="22" name="HALF"><doc>0.5</doc></value>
+ <value value="23" name="SRC0_GBR"><doc>src0.gbr</doc></value>
+ <value value="24" name="SRC1_GBR"><doc>src1.gbr</doc></value>
+ <value value="25" name="SRC2_GBR"><doc>src2.gbr</doc></value>
+ <value value="26" name="SRC0_BRG"><doc>src0.brg</doc></value>
+ <value value="27" name="SRC1_BRG"><doc>src1.brg</doc></value>
+ <value value="28" name="SRC2_BRG"><doc>src2.brg</doc></value>
+ <value value="29" name="SRC0_ABG"><doc>src0.abg</doc></value>
+ <value value="30" name="SRC1_ABG"><doc>src1.abg</doc></value>
+ <value value="31" name="SRC2_ABG"><doc>src2.abg</doc></value>
</enum>
<enum name="ENUM105">
<value value="0" name="1"><doc>1.0-2.0*RGB0</doc></value>
@@ -486,12 +496,18 @@
<value value="20" name="C2_32_FP"><doc>C2_32_FP - (S23E8)</doc></value>
<value value="21" name="C4_32_FP"><doc>C4_32_FP - (S23E8)</doc></value>
</enum>
-<enum name="CHANNEL">
+<enum name="CHANNEL_ARGB">
<value value="0" name="ALPHA"><doc>Alpha</doc></value>
<value value="1" name="RED"><doc>Red</doc></value>
<value value="2" name="GREEN"><doc>Green</doc></value>
<value value="3" name="BLUE"><doc>Blue</doc></value>
</enum>
+<enum name="CHANNEL_RGBA">
+ <value value="0" name="RED"><doc>Red</doc></value>
+ <value value="1" name="GREEN"><doc>Green</doc></value>
+ <value value="2" name="BLUE"><doc>Blue</doc></value>
+ <value value="3" name="ALPHA"><doc>Alpha</doc></value>
+</enum>
<enum name="WSRC">
<value value="0" name="WSRC_US"><doc>WSRC_US - W comes from shader instruction</doc></value>
<value value="1" name="WSRC_RAS"><doc>WSRC_RAS - W comes from rasterizer</doc></value>
@@ -538,20 +554,10 @@
<value value="0" name="Z_UNIT_CACHE_CONTROLLER_DOES_RMW"><doc>Z unit cache controller does RMW</doc></value>
<value value="1" name="Z_UNIT_CACHE_CONTROLLER_DOES_CACHE"><doc>Z unit cache controller does cache-line granular Write only</doc></value>
</enum>
-<enum name="ENUM133">
- <value value="0" name="16"><doc>16-bit Integer Z</doc></value>
- <value value="1" name="16"><doc>16-bit compressed 13E3</doc></value>
- <value value="2" name="24"><doc>24-bit Integer Z, 8 bit Stencil (LSBs)</doc></value>
-</enum>
-<enum name="DSCOMPARE_FUNC">
- <value value="0" name="NEVER"><doc>Never</doc></value>
- <value value="1" name="LESS"><doc>Less</doc></value>
- <value value="2" name="LE"><doc>Less or Equal</doc></value>
- <value value="3" name="EQUAL"><doc>Equal</doc></value>
- <value value="4" name="GE"><doc>Greater or Equal</doc></value>
- <value value="5" name="GREATER"><doc>Greater Than</doc></value>
- <value value="6" name="NOTEQUAL"><doc>Not Equal</doc></value>
- <value value="7" name="ALWAYS"><doc>Always</doc></value>
+<enum name="DSFORMAT">
+ <value value="0" name="16Z"><doc>16-bit Integer Z</doc></value>
+ <value value="1" name="16Z_13E3"><doc>16-bit compressed 13E3</doc></value>
+ <value value="2" name="24Z_8S"><doc>24-bit Integer Z, 8 bit Stencil (LSBs)</doc></value>
</enum>
<enum name="STENCILFAIL_VAL">
<value value="0" name="KEEP"><doc>Keep: New value = Old value</doc></value>
@@ -571,58 +577,46 @@
<value value="0" name="PHYSICAL"><doc>Physical (Default)</doc></value>
<value value="1" name="VIRTUAL"><doc>Virtual</doc></value>
</enum>
-<enum name="ENUM151">
- <value value="0" name="FULL_SIZE"><doc>Full size</doc></value>
- <value value="1" name="1"><doc>1/2 size</doc></value>
- <value value="2" name="1"><doc>1/4 size</doc></value>
- <value value="3" name="1"><doc>1/8 size</doc></value>
+<enum name="FIFO_SIZE">
+ <value value="0" name="FULL"><doc>Full size</doc></value>
+ <value value="1" name="HALF"><doc>1/2 size</doc></value>
+ <value value="2" name="FOURTH"><doc>1/4 size</doc></value>
+ <value value="3" name="EIGHTH"><doc>1/8 size</doc></value>
</enum>
-<enum name="ENUM155">
- <value value="0" name="NO_OVERRIDE"><doc>No override</doc></value>
- <value value="1" name="STUFF_TEXTURE_0"><doc>Stuff texture 0</doc></value>
- <value value="2" name="STUFF_TEXTURE_1"><doc>Stuff texture 1</doc></value>
- <value value="3" name="STUFF_TEXTURE_2"><doc>Stuff texture 2</doc></value>
- <value value="4" name="STUFF_TEXTURE_3"><doc>Stuff texture 3</doc></value>
- <value value="5" name="STUFF_TEXTURE_4"><doc>Stuff texture 4</doc></value>
- <value value="6" name="STUFF_TEXTURE_5"><doc>Stuff texture 5</doc></value>
- <value value="7" name="STUFF_TEXTURE_6"><doc>Stuff texture 6</doc></value>
- <value value="8" name="STUFF_TEXTURE_7"><doc>Stuff texture 7</doc></value>
- <value value="9" name="STUFF_TEXTURE_8"><doc>Stuff texture 8/C2</doc></value>
- <value value="10" name="STUFF_TEXTURE_9"><doc>Stuff texture 9/C3</doc></value>
+<enum name="COLOR_TEX_OVERRIDE">
+ <value value="0" name="DISABLE"><doc>No override</doc></value>
+ <value value="1" name="TEXTURE0"><doc>Stuff texture 0</doc></value>
+ <value value="2" name="TEXTURE1"><doc>Stuff texture 1</doc></value>
+ <value value="3" name="TEXTURE2"><doc>Stuff texture 2</doc></value>
+ <value value="4" name="TEXTURE3"><doc>Stuff texture 3</doc></value>
+ <value value="5" name="TEXTURE4"><doc>Stuff texture 4</doc></value>
+ <value value="6" name="TEXTURE5"><doc>Stuff texture 5</doc></value>
+ <value value="7" name="TEXTURE6"><doc>Stuff texture 6</doc></value>
+ <value value="8" name="TEXTURE7"><doc>Stuff texture 7</doc></value>
+ <value value="9" name="TEXTURE8_C2"><doc>Stuff texture 8/C2</doc></value>
+ <value value="10" name="TEXTURE9_C3"><doc>Stuff texture 9/C3</doc></value>
</enum>
-<enum name="ENUM163">
- <value value="0" name="REPLICATE_VAP_SOURCE_TEXTURE_COORDINATES"><doc>Replicate VAP source texture coordinates (S,T,[R,Q]).</doc></value>
- <value value="1" name="STUFF_WITH_SOURCE_TEXTURE_COORDINATES"><doc>Stuff with source texture coordinates (S,T).</doc></value>
- <value value="2" name="STUFF_WITH_SOURCE_TEXTURE_COORDINATES"><doc>Stuff with source texture coordinates (S,T,R).</doc></value>
+<enum name="TEX_COORD_SRC">
+ <value value="0" name="VAP"><doc>Replicate VAP source texture coordinates (S,T,[R,Q]).</doc></value>
+ <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="ENUM180">
+<enum name="TX_FILTER_R500">
<value value="0" name="FILTER4"><doc>Filter4</doc></value>
<value value="1" name="POINT"><doc>Point</doc></value>
<value value="2" name="LINEAR"><doc>Linear</doc></value>
</enum>
-<enum name="ENUM187">
- <value value="0" name="COMPONENT_FILTER_SHOULD_INTERPRET_TEXEL_DATA_AS_UNSIGNED"><doc>Component filter should interpret texel data as unsigned</doc></value>
- <value value="1" name="COMPONENT_FILTER_SHOULD_INTERPRET_TEXEL_DATA_AS_SIGNED"><doc>Component filter should interpret texel data as signed</doc></value>
-</enum>
-<enum name="ENUM188">
- <value value="0" name="SELECT_TEXTURE_COMPONENT0"><doc>Select Texture Component0.</doc></value>
- <value value="1" name="SELECT_TEXTURE_COMPONENT1"><doc>Select Texture Component1.</doc></value>
- <value value="2" name="SELECT_TEXTURE_COMPONENT2"><doc>Select Texture Component2.</doc></value>
- <value value="3" name="SELECT_TEXTURE_COMPONENT3"><doc>Select Texture Component3.</doc></value>
- <value value="4" name="SELECT_THE_VALUE_0"><doc>Select the value 0.</doc></value>
- <value value="5" name="SELECT_THE_VALUE_1"><doc>Select the value 1.</doc></value>
-</enum>
-<enum name="ENUM192">
- <value value="0" name="NONE"><doc>NONE: Do not modify destination address.</doc></value>
- <value value="1" name="RELATIVE"><doc>RELATIVE: Add aL to address before write.</doc></value>
+<enum name="TEXEL_SIGNATION">
+ <value value="0" name="UNSIGNED"><doc>Component filter should interpret texel data as unsigned</doc></value>
+ <value value="1" name="SIGNED"><doc>Component filter should interpret texel data as signed</doc></value>
</enum>
-<enum name="ENUM193">
+<enum name="SEL_OPERAND">
<value value="0" name="SRC0"><doc>src0</doc></value>
<value value="1" name="SRC1"><doc>src1</doc></value>
<value value="2" name="SRC2"><doc>src2</doc></value>
<value value="3" name="SRCP"><doc>srcp</doc></value>
</enum>
-<enum name="ENUM194">
+<enum name="SEL_SRC">
<value value="0" name="RED"><doc>Red</doc></value>
<value value="1" name="GREEN"><doc>Green</doc></value>
<value value="2" name="BLUE"><doc>Blue</doc></value>
@@ -632,71 +626,21 @@
<value value="6" name="ONE"><doc>One</doc></value>
<value value="7" name="UNUSED"><doc>Unused</doc></value>
</enum>
-<enum name="ENUM195">
- <value value="0" name="RESULT"><doc>Result * 1</doc></value>
- <value value="1" name="RESULT"><doc>Result * 2</doc></value>
- <value value="2" name="RESULT"><doc>Result * 4</doc></value>
- <value value="3" name="RESULT"><doc>Result * 8</doc></value>
- <value value="4" name="RESULT"><doc>Result / 2</doc></value>
- <value value="5" name="RESULT"><doc>Result / 4</doc></value>
- <value value="6" name="RESULT"><doc>Result / 8</doc></value>
- <value value="7" name="DISABLE_OUTPUT_MODIFIER_AND_CLAMPING"><doc>Disable output modifier and clamping (result is copied exactly; only valid for MIN/MAX/CMP/CND)</doc></value>
-</enum>
-<enum name="ENUM196">
- <value value="0" name="A"><doc>A: Output to render target A. Predicate == (ALU)</doc></value>
- <value value="1" name="B"><doc>B: Output to render target B. Predicate &lt; (ALU)</doc></value>
- <value value="2" name="C"><doc>C: Output to render target C. Predicate &gt;= (ALU)</doc></value>
- <value value="3" name="D"><doc>D: Output to render target D. Predicate != (ALU)</doc></value>
-</enum>
-<enum name="ENUM198">
- <value value="0" name="TEMPORARY"><doc>TEMPORARY: Address temporary register or inline constant value.</doc></value>
- <value value="1" name="CONSTANT"><doc>CONSTANT: Address constant register.</doc></value>
-</enum>
-<enum name="ENUM199">
- <value value="0" name="NONE"><doc>NONE: Do not modify source address.</doc></value>
- <value value="1" name="RELATIVE"><doc>RELATIVE: Add aL before lookup.</doc></value>
-</enum>
-<enum name="ENUM205">
- <value value="0" name="NORMAL_PREDICATION"><doc>Normal predication</doc></value>
- <value value="1" name="INVERT_THE_VALUE_OF_THE_PREDICATE"><doc>Invert the value of the predicate</doc></value>
-</enum>
-<enum name="ENUM210">
- <value value="0" name="NONE"><doc>NONE: Do not write any output.</doc></value>
- <value value="1" name="R"><doc>R: Write the red channel only.</doc></value>
- <value value="2" name="G"><doc>G: Write the green channel only.</doc></value>
- <value value="3" name="RG"><doc>RG: Write the red and green channels.</doc></value>
- <value value="4" name="B"><doc>B: Write the blue channel only.</doc></value>
- <value value="5" name="RB"><doc>RB: Write the red and blue channels.</doc></value>
- <value value="6" name="GB"><doc>GB: Write the green and blue channels.</doc></value>
- <value value="7" name="RGB"><doc>RGB: Write the red, green, and blue channels.</doc></value>
-</enum>
-<enum name="ENUM229">
- <value value="0" name="NONE"><doc>NONE: Do not modify source address</doc></value>
- <value value="1" name="RELATIVE"><doc>RELATIVE: Add aL before lookup.</doc></value>
-</enum>
-<enum name="ENUM230">
- <value value="0" name="USE_R_CHANNEL_AS_S_COORDINATE"><doc>Use R channel as S coordinate</doc></value>
- <value value="1" name="USE_G_CHANNEL_AS_S_COORDINATE"><doc>Use G channel as S coordinate</doc></value>
- <value value="2" name="USE_B_CHANNEL_AS_S_COORDINATE"><doc>Use B channel as S coordinate</doc></value>
- <value value="3" name="USE_A_CHANNEL_AS_S_COORDINATE"><doc>Use A channel as S coordinate</doc></value>
-</enum>
-<enum name="ENUM231">
- <value value="0" name="USE_R_CHANNEL_AS_T_COORDINATE"><doc>Use R channel as T coordinate</doc></value>
- <value value="1" name="USE_G_CHANNEL_AS_T_COORDINATE"><doc>Use G channel as T coordinate</doc></value>
- <value value="2" name="USE_B_CHANNEL_AS_T_COORDINATE"><doc>Use B channel as T coordinate</doc></value>
- <value value="3" name="USE_A_CHANNEL_AS_T_COORDINATE"><doc>Use A channel as T coordinate</doc></value>
-</enum>
-<enum name="ENUM232">
- <value value="0" name="USE_R_CHANNEL_AS_R_COORDINATE"><doc>Use R channel as R coordinate</doc></value>
- <value value="1" name="USE_G_CHANNEL_AS_R_COORDINATE"><doc>Use G channel as R coordinate</doc></value>
- <value value="2" name="USE_B_CHANNEL_AS_R_COORDINATE"><doc>Use B channel as R coordinate</doc></value>
- <value value="3" name="USE_A_CHANNEL_AS_R_COORDINATE"><doc>Use A channel as R coordinate</doc></value>
+<enum name="ALU_ALPHA_OUTPUT_MOD">
+ <value value="0" name="NONE"><doc>Result</doc></value>
+ <value value="1" name="MUL_2"><doc>Result * 2</doc></value>
+ <value value="2" name="MUL_4"><doc>Result * 4</doc></value>
+ <value value="3" name="MUL_8"><doc>Result * 8</doc></value>
+ <value value="4" name="DIV_2"><doc>Result / 2</doc></value>
+ <value value="5" name="DIV_4"><doc>Result / 4</doc></value>
+ <value value="6" name="DIV_8"><doc>Result / 8</doc></value>
+ <value value="7" name="DISABLE"><doc>Disable output modifier and clamping (result is copied exactly; only valid for MIN/MAX/CMP/CND)</doc></value>
</enum>
-<enum name="ENUM233">
- <value value="0" name="USE_R_CHANNEL_AS_Q_COORDINATE"><doc>Use R channel as Q coordinate</doc></value>
- <value value="1" name="USE_G_CHANNEL_AS_Q_COORDINATE"><doc>Use G channel as Q coordinate</doc></value>
- <value value="2" name="USE_B_CHANNEL_AS_Q_COORDINATE"><doc>Use B channel as Q coordinate</doc></value>
- <value value="3" name="USE_A_CHANNEL_AS_Q_COORDINATE"><doc>Use A channel as Q coordinate</doc></value>
+<enum name="ALU_PREDICATE_COMPARE">
+ <value value="0" name="EQUAL"><doc>Predicate == (ALU)</doc></value>
+ <value value="1" name="LESS"><doc>Predicate &lt; (ALU)</doc></value>
+ <value value="2" name="GE"><doc>Predicate &gt;= (ALU)</doc></value>
+ <value value="3" name="NOTEQUAL"><doc>Predicate != (ALU)</doc></value>
</enum>
<group name="rX00_regs" prepend="R300_">
@@ -712,7 +656,7 @@
<doc>Alpha Blend Control for Alpha Channel. Pipelined through the blender.</doc>
<bitfield name="COMB_FCN" high="14" low="12">
<doc>Combine Function , Allows modification of how the SRCBLEND and DESTBLEND are combined.</doc>
- <use-enum ref="ENUM2" />
+ <use-enum ref="COMBINE_FUNCTION" />
</bitfield>
<bitfield name="SRCBLEND" high="21" low="16">
<doc>Source Blend Function , Alpha blending function (SRC).</doc>
@@ -1394,7 +1338,7 @@
</bitfield>
<bitfield name="COMB_FCN" high="14" low="12">
<doc>Combine Function , Allows modification of how the SRCBLEND and DESTBLEND are combined.</doc>
- <use-enum ref="ENUM2" />
+ <use-enum ref="COMBINE_FUNCTION" />
</bitfield>
<bitfield name="SRCBLEND" high="21" low="16">
<doc>Source Blend Function , Alpha blending function (SRC).</doc>
@@ -1719,15 +1663,15 @@
<doc>Specifies various polygon specific selects (fog, depth, perspective).</doc>
<bitfield name="FOG_SELECT" high="2" low="0">
<doc>Specifies source for outgoing (GA to SU) fog value.</doc>
- <use-enum ref="ENUM45" />
+ <use-enum ref="FOG_SELECT" />
</bitfield>
<bitfield name="DEPTH_SELECT" high="3" low="3">
<doc>Specifies source for outgoing (GA/SU &amp; SU/RAS) depth value.</doc>
- <use-enum ref="ENUM46" />
+ <use-enum ref="DEPTH_SELECT" />
</bitfield>
<bitfield name="W_SELECT" high="4" low="4">
<doc>Specifies source for outgoing (1/W) value, used to disable perspective correct colors/textures.</doc>
- <use-enum ref="ENUM47" />
+ <use-enum ref="W_SELECT" />
</bitfield>
</reg32>
<reg32 name="GB_TILE_CONFIG" access="rw" offset="0x4018">
@@ -1755,7 +1699,7 @@
<bitfield name="SUPER_Y" high="14" low="12"><doc>Y Location of chip within super tile.</doc></bitfield>
<bitfield name="SUPER_TILE" high="15" low="15">
<doc>Tile location of chip in a multi super tile config (Super size of 2,8,32 or 128).</doc>
- <use-enum ref="ENUM51" />
+ <use-enum ref="SUPERTILE_LOCATION" />
</bitfield>
<bitfield name="SUBPIXEL" high="16" low="16">
<doc>Specifies the subpixel precision.</doc>
@@ -1818,7 +1762,7 @@
<bitfield name="COL_PTR" high="8" low="6"><doc>Specifies the relative rasterizer input packet location of the color (c[i]).</doc></bitfield>
<bitfield name="COL_FMT" high="12" low="9">
<doc>Specifies the format of the color (c[i]).</doc>
- <use-enum ref="ENUM57" />
+ <use-enum ref="COLFMT" />
</bitfield>
<bitfield name="SEL_S" high="15" low="13">
<doc>Source select for S, T, R, and Q</doc>
@@ -2111,39 +2055,39 @@
</bitfield>
<bitfield name="SEL_ALPHA" high="11" low="9">
<doc>Specifies swizzling for alpha channel at the input of the pixel shader. (Ignored for Y/YUV formats.)</doc>
- <value value="0" name="SELECT_TEXTURE_COMPONENT0_FOR_THE_ALPHA_CHANNEL"><doc>Select Texture Component0 for the Alpha Channel.</doc></value>
- <value value="1" name="SELECT_TEXTURE_COMPONENT1_FOR_THE_ALPHA_CHANNEL"><doc>Select Texture Component1 for the Alpha Channel.</doc></value>
- <value value="2" name="SELECT_TEXTURE_COMPONENT2_FOR_THE_ALPHA_CHANNEL"><doc>Select Texture Component2 for the Alpha Channel.</doc></value>
- <value value="3" name="SELECT_TEXTURE_COMPONENT3_FOR_THE_ALPHA_CHANNEL"><doc>Select Texture Component3 for the Alpha Channel.</doc></value>
- <value value="4" name="SELECT_THE_VALUE_0_FOR_THE_ALPHA_CHANNEL"><doc>Select the value 0 for the Alpha Channel.</doc></value>
- <value value="5" name="SELECT_THE_VALUE_1_FOR_THE_ALPHA_CHANNEL"><doc>Select the value 1 for the Alpha Channel.</doc></value>
+ <value value="0" name="SELECT_TEXTURE_COMPONENT0_FOR_THE_ALPHA_CHANNEL_ARGB"><doc>Select Texture Component0 for the Alpha Channel.</doc></value>
+ <value value="1" name="SELECT_TEXTURE_COMPONENT1_FOR_THE_ALPHA_CHANNEL_ARGB"><doc>Select Texture Component1 for the Alpha Channel.</doc></value>
+ <value value="2" name="SELECT_TEXTURE_COMPONENT2_FOR_THE_ALPHA_CHANNEL_ARGB"><doc>Select Texture Component2 for the Alpha Channel.</doc></value>
+ <value value="3" name="SELECT_TEXTURE_COMPONENT3_FOR_THE_ALPHA_CHANNEL_ARGB"><doc>Select Texture Component3 for the Alpha Channel.</doc></value>
+ <value value="4" name="SELECT_THE_VALUE_0_FOR_THE_ALPHA_CHANNEL_ARGB"><doc>Select the value 0 for the Alpha Channel.</doc></value>
+ <value value="5" name="SELECT_THE_VALUE_1_FOR_THE_ALPHA_CHANNEL_ARGB"><doc>Select the value 1 for the Alpha Channel.</doc></value>
</bitfield>
<bitfield name="SEL_RED" high="14" low="12">
<doc>Specifies swizzling for red channel at the input of the pixel shader. (Ignored for Y/YUV formats.)</doc>
- <value value="0" name="SELECT_TEXTURE_COMPONENT0_FOR_THE_RED_CHANNEL"><doc>Select Texture Component0 for the Red Channel.</doc></value>
- <value value="1" name="SELECT_TEXTURE_COMPONENT1_FOR_THE_RED_CHANNEL"><doc>Select Texture Component1 for the Red Channel.</doc></value>
- <value value="2" name="SELECT_TEXTURE_COMPONENT2_FOR_THE_RED_CHANNEL"><doc>Select Texture Component2 for the Red Channel.</doc></value>
- <value value="3" name="SELECT_TEXTURE_COMPONENT3_FOR_THE_RED_CHANNEL"><doc>Select Texture Component3 for the Red Channel.</doc></value>
- <value value="4" name="SELECT_THE_VALUE_0_FOR_THE_RED_CHANNEL"><doc>Select the value 0 for the Red Channel.</doc></value>
- <value value="5" name="SELECT_THE_VALUE_1_FOR_THE_RED_CHANNEL"><doc>Select the value 1 for the Red Channel.</doc></value>
+ <value value="0" name="SELECT_TEXTURE_COMPONENT0_FOR_THE_RED_CHANNEL_ARGB"><doc>Select Texture Component0 for the Red Channel.</doc></value>
+ <value value="1" name="SELECT_TEXTURE_COMPONENT1_FOR_THE_RED_CHANNEL_ARGB"><doc>Select Texture Component1 for the Red Channel.</doc></value>
+ <value value="2" name="SELECT_TEXTURE_COMPONENT2_FOR_THE_RED_CHANNEL_ARGB"><doc>Select Texture Component2 for the Red Channel.</doc></value>
+ <value value="3" name="SELECT_TEXTURE_COMPONENT3_FOR_THE_RED_CHANNEL_ARGB"><doc>Select Texture Component3 for the Red Channel.</doc></value>
+ <value value="4" name="SELECT_THE_VALUE_0_FOR_THE_RED_CHANNEL_ARGB"><doc>Select the value 0 for the Red Channel.</doc></value>
+ <value value="5" name="SELECT_THE_VALUE_1_FOR_THE_RED_CHANNEL_ARGB"><doc>Select the value 1 for the Red Channel.</doc></value>
</bitfield>
<bitfield name="SEL_GREEN" high="17" low="15">
<doc>Specifies swizzling for green channel at the input of the pixel shader. (Ignored for Y/YUV formats.)</doc>
- <value value="0" name="SELECT_TEXTURE_COMPONENT0_FOR_THE_GREEN_CHANNEL"><doc>Select Texture Component0 for the Green Channel.</doc></value>
- <value value="1" name="SELECT_TEXTURE_COMPONENT1_FOR_THE_GREEN_CHANNEL"><doc>Select Texture Component1 for the Green Channel.</doc></value>
- <value value="2" name="SELECT_TEXTURE_COMPONENT2_FOR_THE_GREEN_CHANNEL"><doc>Select Texture Component2 for the Green Channel.</doc></value>
- <value value="3" name="SELECT_TEXTURE_COMPONENT3_FOR_THE_GREEN_CHANNEL"><doc>Select Texture Component3 for the Green Channel.</doc></value>
- <value value="4" name="SELECT_THE_VALUE_0_FOR_THE_GREEN_CHANNEL"><doc>Select the value 0 for the Green Channel.</doc></value>
- <value value="5" name="SELECT_THE_VALUE_1_FOR_THE_GREEN_CHANNEL"><doc>Select the value 1 for the Green Channel.</doc></value>
+ <value value="0" name="SELECT_TEXTURE_COMPONENT0_FOR_THE_GREEN_CHANNEL_ARGB"><doc>Select Texture Component0 for the Green Channel.</doc></value>
+ <value value="1" name="SELECT_TEXTURE_COMPONENT1_FOR_THE_GREEN_CHANNEL_ARGB"><doc>Select Texture Component1 for the Green Channel.</doc></value>
+ <value value="2" name="SELECT_TEXTURE_COMPONENT2_FOR_THE_GREEN_CHANNEL_ARGB"><doc>Select Texture Component2 for the Green Channel.</doc></value>
+ <value value="3" name="SELECT_TEXTURE_COMPONENT3_FOR_THE_GREEN_CHANNEL_ARGB"><doc>Select Texture Component3 for the Green Channel.</doc></value>
+ <value value="4" name="SELECT_THE_VALUE_0_FOR_THE_GREEN_CHANNEL_ARGB"><doc>Select the value 0 for the Green Channel.</doc></value>
+ <value value="5" name="SELECT_THE_VALUE_1_FOR_THE_GREEN_CHANNEL_ARGB"><doc>Select the value 1 for the Green Channel.</doc></value>
</bitfield>
<bitfield name="SEL_BLUE" high="20" low="18">
<doc>Specifies swizzling for blue channel at the input of the pixel shader. (Ignored for Y/YUV formats.)</doc>
- <value value="0" name="SELECT_TEXTURE_COMPONENT0_FOR_THE_BLUE_CHANNEL"><doc>Select Texture Component0 for the Blue Channel.</doc></value>
- <value value="1" name="SELECT_TEXTURE_COMPONENT1_FOR_THE_BLUE_CHANNEL"><doc>Select Texture Component1 for the Blue Channel.</doc></value>
- <value value="2" name="SELECT_TEXTURE_COMPONENT2_FOR_THE_BLUE_CHANNEL"><doc>Select Texture Component2 for the Blue Channel.</doc></value>
- <value value="3" name="SELECT_TEXTURE_COMPONENT3_FOR_THE_BLUE_CHANNEL"><doc>Select Texture Component3 for the Blue Channel.</doc></value>
- <value value="4" name="SELECT_THE_VALUE_0_FOR_THE_BLUE_CHANNEL"><doc>Select the value 0 for the Blue Channel.</doc></value>
- <value value="5" name="SELECT_THE_VALUE_1_FOR_THE_BLUE_CHANNEL"><doc>Select the value 1 for the Blue Channel.</doc></value>
+ <value value="0" name="SELECT_TEXTURE_COMPONENT0_FOR_THE_BLUE_CHANNEL_ARGB"><doc>Select Texture Component0 for the Blue Channel.</doc></value>
+ <value value="1" name="SELECT_TEXTURE_COMPONENT1_FOR_THE_BLUE_CHANNEL_ARGB"><doc>Select Texture Component1 for the Blue Channel.</doc></value>
+ <value value="2" name="SELECT_TEXTURE_COMPONENT2_FOR_THE_BLUE_CHANNEL_ARGB"><doc>Select Texture Component2 for the Blue Channel.</doc></value>
+ <value value="3" name="SELECT_TEXTURE_COMPONENT3_FOR_THE_BLUE_CHANNEL_ARGB"><doc>Select Texture Component3 for the Blue Channel.</doc></value>
+ <value value="4" name="SELECT_THE_VALUE_0_FOR_THE_BLUE_CHANNEL_ARGB"><doc>Select the value 0 for the Blue Channel.</doc></value>
+ <value value="5" name="SELECT_THE_VALUE_1_FOR_THE_BLUE_CHANNEL_ARGB"><doc>Select the value 1 for the Blue Channel.</doc></value>
</bitfield>
<bitfield name="GAMMA" high="21" low="21">
<doc>Optionally remove gamma from texture before passing to shader. Only apply to 8bit or less components.</doc>
@@ -2160,7 +2104,7 @@
</bitfield>
<bitfield name="CACHE" high="31" low="27">
<doc>Multi-texture performance can be optimized and made deterministic by assigning textures to separate regions under sw control.</doc>
- <use-enum ref="ENUM89" />
+ <use-enum ref="TEXCACHE" />
</bitfield>
</reg32>
</stripe>
@@ -2222,7 +2166,7 @@
<doc>ALU Alpha Instruction</doc>
<bitfield name="SEL_A" high="4" low="0">
<doc>Specifies the operand and component select for inputs A, B, and C.</doc>
- <use-enum ref="ENUM97" />
+ <use-enum ref="ALU_ALPHA_SWIZZLE_R300" />
</bitfield>
<bitfield name="MOD_A" high="6" low="5">
<doc>Specifies the modifier for inputs A, B, and C.</doc>
@@ -2230,7 +2174,7 @@
</bitfield>
<bitfield name="SEL_B" high="11" low="7">
<doc>Specifies the operand and component select for inputs A, B, and C.</doc>
- <use-enum ref="ENUM97" />
+ <use-enum ref="ALU_ALPHA_SWIZZLE_R300" />
</bitfield>
<bitfield name="MOD_B" high="13" low="12">
<doc>Specifies the modifier for inputs A, B, and C.</doc>
@@ -2238,7 +2182,7 @@
</bitfield>
<bitfield name="SEL_C" high="18" low="14">
<doc>Specifies the operand and component select for inputs A, B, and C.</doc>
- <use-enum ref="ENUM97" />
+ <use-enum ref="ALU_ALPHA_SWIZZLE_R300" />
</bitfield>
<bitfield name="MOD_C" high="20" low="19">
<doc>Specifies the modifier for inputs A, B, and C.</doc>
@@ -2295,7 +2239,7 @@
<doc>ALU RGB Instruction</doc>
<bitfield name="SEL_A" high="4" low="0">
<doc>Specifies the operand and component select for inputs A, B, and C.</doc>
- <use-enum ref="ENUM104" />
+ <use-enum ref="ALU_RGB_SWIZZLE_R300" />
</bitfield>
<bitfield name="MOD_A" high="6" low="5">
<doc>Specifies the modifier for inputs A, B, and C.</doc>
@@ -2303,7 +2247,7 @@
</bitfield>
<bitfield name="SEL_B" high="11" low="7">
<doc>Specifies the operand and component select for inputs A, B, and C.</doc>
- <use-enum ref="ENUM104" />
+ <use-enum ref="ALU_RGB_SWIZZLE_R300" />
</bitfield>
<bitfield name="MOD_B" high="13" low="12">
<doc>Specifies the modifier for inputs A, B, and C.</doc>
@@ -2311,7 +2255,7 @@
</bitfield>
<bitfield name="SEL_C" high="18" low="14">
<doc>Specifies the operand and component select for inputs A, B, and C.</doc>
- <use-enum ref="ENUM104" />
+ <use-enum ref="ALU_RGB_SWIZZLE_R300" />
</bitfield>
<bitfield name="MOD_C" high="20" low="19">
<doc>Specifies the modifier for inputs A, B, and C.</doc>
@@ -2390,19 +2334,19 @@
</bitfield>
<bitfield name="C0_SEL" high="9" low="8">
<doc>Specifies the source for components C0, C1, C2, C3</doc>
- <use-enum ref="CHANNEL" />
+ <use-enum ref="CHANNEL_ARGB" />
</bitfield>
<bitfield name="C1_SEL" high="11" low="10">
<doc>Specifies the source for components C0, C1, C2, C3</doc>
- <use-enum ref="CHANNEL" />
+ <use-enum ref="CHANNEL_ARGB" />
</bitfield>
<bitfield name="C2_SEL" high="13" low="12">
<doc>Specifies the source for components C0, C1, C2, C3</doc>
- <use-enum ref="CHANNEL" />
+ <use-enum ref="CHANNEL_ARGB" />
</bitfield>
<bitfield name="C3_SEL" high="15" low="14">
<doc>Specifies the source for components C0, C1, C2, C3</doc>
- <use-enum ref="CHANNEL" />
+ <use-enum ref="CHANNEL_ARGB" />
</bitfield>
<bitfield name="OUT_SIGN" high="19" low="16"><doc>Mask specifying whether components C3, C2, C1 and C0 are signed (C4_8, C_16, C2_16 and C4_16 formats only)</doc></bitfield>
</reg32>
@@ -2646,7 +2590,7 @@
<doc>Format of the Data in the Z buffer</doc>
<bitfield name="DEPTHFORMAT" high="3" low="0">
<doc>Specifies the format of the Z buffer.</doc>
- <use-enum ref="ENUM133" />
+ <use-enum ref="DSFORMAT" />
</bitfield>
<bitfield name="INVERT" high="4" low="4">
<value value="0" name="IN_13E3_FORMAT"><doc>in 13E3 format , count leading 0's</doc></value>
@@ -2933,7 +2877,7 @@
</bitfield>
<bitfield name="COMB_FCN" high="14" low="12">
<doc>Combine Function , Allows modification of how the SRCBLEND and DESTBLEND are combined.</doc>
- <use-enum ref="ENUM2" />
+ <use-enum ref="COMBINE_FUNCTION" />
</bitfield>
<bitfield name="SRCBLEND" high="21" low="16">
<doc>Source Blend Function , Alpha blending function (SRC).</doc>
@@ -3137,7 +3081,7 @@
<doc>Sets the fifo sizes</doc>
<bitfield name="OP_FIFO_SIZE" high="1" low="0">
<doc>Determines the size of the op fifo</doc>
- <use-enum ref="ENUM151" />
+ <use-enum ref="FIFO_SIZE" />
</bitfield>
</reg32>
<reg32 name="FG_ALPHA_FUNC" access="rw" offset="0x4BD4">
@@ -3251,11 +3195,11 @@
</bitfield>
<bitfield name="COLOR0_TEX_OVERRIDE" high="25" low="22">
<doc>Specifies if each color should come from a texture and which one.</doc>
- <use-enum ref="ENUM155" />
+ <use-enum ref="COLOR_TEX_OVERRIDE" />
</bitfield>
<bitfield name="COLOR1_TEX_OVERRIDE" high="29" low="26">
<doc>Specifies if each color should come from a texture and which one.</doc>
- <use-enum ref="ENUM155" />
+ <use-enum ref="COLOR_TEX_OVERRIDE" />
</bitfield>
</reg32>
<reg32 name="GA_ENHANCE" access="rw" offset="0x4274">
@@ -3420,35 +3364,35 @@
</bitfield>
<bitfield name="TEX0_SOURCE" high="17" low="16">
<doc>Specifies the sources of the texture coordinates for each texture.</doc>
- <use-enum ref="ENUM163" />
+ <use-enum ref="TEX_COORD_SRC" />
</bitfield>
<bitfield name="TEX1_SOURCE" high="19" low="18">
<doc>Specifies the sources of the texture coordinates for each texture.</doc>
- <use-enum ref="ENUM163" />
+ <use-enum ref="TEX_COORD_SRC" />
</bitfield>
<bitfield name="TEX2_SOURCE" high="21" low="20">
<doc>Specifies the sources of the texture coordinates for each texture.</doc>
- <use-enum ref="ENUM163" />
+ <use-enum ref="TEX_COORD_SRC" />
</bitfield>
<bitfield name="TEX3_SOURCE" high="23" low="22">
<doc>Specifies the sources of the texture coordinates for each texture.</doc>
- <use-enum ref="ENUM163" />
+ <use-enum ref="TEX_COORD_SRC" />
</bitfield>
<bitfield name="TEX4_SOURCE" high="25" low="24">
<doc>Specifies the sources of the texture coordinates for each texture.</doc>
- <use-enum ref="ENUM163" />
+ <use-enum ref="TEX_COORD_SRC" />
</bitfield>
<bitfield name="TEX5_SOURCE" high="27" low="26">
<doc>Specifies the sources of the texture coordinates for each texture.</doc>
- <use-enum ref="ENUM163" />
+ <use-enum ref="TEX_COORD_SRC" />
</bitfield>
<bitfield name="TEX6_SOURCE" high="29" low="28">
<doc>Specifies the sources of the texture coordinates for each texture.</doc>
- <use-enum ref="ENUM163" />
+ <use-enum ref="TEX_COORD_SRC" />
</bitfield>
<bitfield name="TEX7_SOURCE" high="31" low="30">
<doc>Specifies the sources of the texture coordinates for each texture.</doc>
- <use-enum ref="ENUM163" />
+ <use-enum ref="TEX_COORD_SRC" />
</bitfield>
</reg32>
<reg32 name="GB_FIFO_SIZE" access="rw" offset="0x4024">
@@ -3555,15 +3499,15 @@
<doc>Specifies various polygon specific selects (fog, depth, perspective).</doc>
<bitfield name="FOG_SELECT" high="2" low="0">
<doc>Specifies source for outgoing (GA to SU) fog value.</doc>
- <use-enum ref="ENUM45" />
+ <use-enum ref="FOG_SELECT" />
</bitfield>
<bitfield name="DEPTH_SELECT" high="3" low="3">
<doc>Specifies source for outgoing (GA/SU &amp; SU/RAS) depth value.</doc>
- <use-enum ref="ENUM46" />
+ <use-enum ref="DEPTH_SELECT" />
</bitfield>
<bitfield name="W_SELECT" high="4" low="4">
<doc>Specifies source for outgoing (1/W) value, used to disable perspective correct colors/textures.</doc>
- <use-enum ref="ENUM47" />
+ <use-enum ref="W_SELECT" />
</bitfield>
<bitfield name="FOG_STUFF_ENABLE" high="5" low="5">
<doc>Controls enabling of fog stuffing into texture coordinate.</doc>
@@ -3597,7 +3541,7 @@
<bitfield name="SUPER_Y" high="14" low="12"><doc>Y Location of chip within super tile.</doc></bitfield>
<bitfield name="SUPER_TILE" high="15" low="15">
<doc>Tile location of chip in a multi super tile config (Super size of 2,8,32 or 128).</doc>
- <use-enum ref="ENUM51" />
+ <use-enum ref="SUPERTILE_LOCATION" />
</bitfield>
<bitfield name="SUBPIXEL" high="16" low="16">
<doc>Specifies the precision of subpixels wrt pixels (12 or 16).</doc>
@@ -3696,7 +3640,7 @@
<bitfield name="COL_PTR" high="26" low="24"><doc>Specifies the relative rasterizer input packet location of the color (c[i]).</doc></bitfield>
<bitfield name="COL_FMT" high="30" low="27">
<doc>Specifies the format of the color (c[i]).</doc>
- <use-enum ref="ENUM57" />
+ <use-enum ref="COLFMT" />
</bitfield>
<bitfield name="OFFSET_EN" high="31" low="31">
<doc>Enable application of the TX_OFFSET in RS_INST_COUNT</doc>
@@ -4002,11 +3946,11 @@
</bitfield>
<bitfield name="MAG_FILTER" high="10" low="9">
<doc>Filter used when texture is magnified</doc>
- <use-enum ref="ENUM180" />
+ <use-enum ref="TX_FILTER_R500" />
</bitfield>
<bitfield name="MIN_FILTER" high="12" low="11">
<doc>Filter used when texture is minified</doc>
- <use-enum ref="ENUM180" />
+ <use-enum ref="TX_FILTER_R500" />
</bitfield>
<bitfield name="MIP_FILTER" high="14" low="13">
<doc>Filter used between mipmap levels</doc>
@@ -4128,35 +4072,35 @@
</bitfield>
<bitfield name="SIGNED_COMP0" high="5" low="5">
<doc>Component filter should interpret texel data as signed or unsigned. (Ignored for Y/YUV formats.)</doc>
- <use-enum ref="ENUM187" />
+ <use-enum ref="TEXEL_SIGNATION" />
</bitfield>
<bitfield name="SIGNED_COMP1" high="6" low="6">
<doc>Component filter should interpret texel data as signed or unsigned. (Ignored for Y/YUV formats.)</doc>
- <use-enum ref="ENUM187" />
+ <use-enum ref="TEXEL_SIGNATION" />
</bitfield>
<bitfield name="SIGNED_COMP2" high="7" low="7">
<doc>Component filter should interpret texel data as signed or unsigned. (Ignored for Y/YUV formats.)</doc>
- <use-enum ref="ENUM187" />
+ <use-enum ref="TEXEL_SIGNATION" />
</bitfield>
<bitfield name="SIGNED_COMP3" high="8" low="8">
<doc>Component filter should interpret texel data as signed or unsigned. (Ignored for Y/YUV formats.)</doc>
- <use-enum ref="ENUM187" />
+ <use-enum ref="TEXEL_SIGNATION" />
</bitfield>
<bitfield name="SEL_ALPHA" high="11" low="9">
<doc>Specifies swizzling for each channel at the input of the pixel shader. (Ignored for Y/YUV formats.)</doc>
- <use-enum ref="ENUM188" />
+ <use-enum ref="COLOR_COMPONENT" />
</bitfield>
<bitfield name="SEL_RED" high="14" low="12">
<doc>Specifies swizzling for each channel at the input of the pixel shader. (Ignored for Y/YUV formats.)</doc>
- <use-enum ref="ENUM188" />
+ <use-enum ref="COLOR_COMPONENT" />
</bitfield>
<bitfield name="SEL_GREEN" high="17" low="15">
<doc>Specifies swizzling for each channel at the input of the pixel shader. (Ignored for Y/YUV formats.)</doc>
- <use-enum ref="ENUM188" />
+ <use-enum ref="COLOR_COMPONENT" />
</bitfield>
<bitfield name="SEL_BLUE" high="20" low="18">
<doc>Specifies swizzling for each channel at the input of the pixel shader. (Ignored for Y/YUV formats.)</doc>
- <use-enum ref="ENUM188" />
+ <use-enum ref="COLOR_COMPONENT" />
</bitfield>
<bitfield name="GAMMA" high="21" low="21">
<doc>Optionally remove gamma from texture before passing to shader. Only apply to 8bit or less components.</doc>
@@ -4173,7 +4117,7 @@
</bitfield>
<bitfield name="CACHE" high="31" low="27">
<doc>This field is ignored on R520 and RV510.</doc>
- <use-enum ref="ENUM89" />
+ <use-enum ref="TEXCACHE" />
</bitfield>
</reg32>
</stripe>
@@ -4243,15 +4187,15 @@
<bitfield name="ALPHA_ADDRD" high="10" low="4"><doc>Specifies the address of the pixel stack frame register to which the Alpha result of this instruction is to be written.</doc></bitfield>
<bitfield name="ALPHA_ADDRD_REL" high="11" low="11">
<doc>Specifies whether the loop register is added to the value of ALPHA_ADDRD before it is used. This implements relative addressing.</doc>
- <use-enum ref="ENUM192" />
+ <use-enum ref="ENABLE" />
</bitfield>
<bitfield name="ALPHA_SEL_A" high="13" low="12">
<doc>Specifies the operands for Alpha inputs A and B.</doc>
- <use-enum ref="ENUM193" />
+ <use-enum ref="SEL_OPERAND" />
</bitfield>
<bitfield name="ALPHA_SWIZ_A" high="16" low="14">
<doc>Specifies the channel sources for Alpha inputs A and B.</doc>
- <use-enum ref="ENUM194" />
+ <use-enum ref="SEL_SRC" />
</bitfield>
<bitfield name="ALPHA_MOD_A" high="18" low="17">
<doc>Specifies the input modifiers for Alpha inputs A and B.</doc>
@@ -4259,11 +4203,11 @@
</bitfield>
<bitfield name="ALPHA_SEL_B" high="20" low="19">
<doc>Specifies the operands for Alpha inputs A and B.</doc>
- <use-enum ref="ENUM193" />
+ <use-enum ref="SEL_OPERAND" />
</bitfield>
<bitfield name="ALPHA_SWIZ_B" high="23" low="21">
<doc>Specifies the channel sources for Alpha inputs A and B.</doc>
- <use-enum ref="ENUM194" />
+ <use-enum ref="SEL_SRC" />
</bitfield>
<bitfield name="ALPHA_MOD_B" high="25" low="24">
<doc>Specifies the input modifiers for Alpha inputs A and B.</doc>
@@ -4271,11 +4215,11 @@
</bitfield>
<bitfield name="OMOD" high="28" low="26">
<doc>Specifies the output modifier for this instruction.</doc>
- <use-enum ref="ENUM195" />
+ <use-enum ref="ALU_ALPHA_OUTPUT_MOD" />
</bitfield>
<bitfield name="TARGET" high="30" low="29">
<doc>This specifies which (cached) frame buffer target to write to. For non-output ALU instructions, this specifies how to compare the results against zero when setting the predicate bits.</doc>
- <use-enum ref="ENUM196" />
+ <use-enum ref="ALU_PREDICATE_COMPARE" />
</bitfield>
<bitfield name="W_OMASK" high="31" low="31">
<doc>Specifies whether or not to write the Alpha component of the result of this instuction to the depth output fifo.</doc>
@@ -4290,29 +4234,29 @@
<bitfield name="ADDR0" high="7" low="0"><doc>Specifies the identity of source operands a0, a1, and a2. If the const field is set, this number ranges from 0 to 255 and specifies a location within the constant register bank. Otherwise: If the most significant bit is cleared, this field specifies a location within the current pixel stack frame (ranging from 0 to 127). If the most significant bit is set, then the lower 7 bits specify an inline unsigned floating- point constant with 4 bit exponent (bias 7) and 3 bit mantissa, including denormals but excluding infinite/NaN.</doc></bitfield>
<bitfield name="ADDR0_CONST" high="8" low="8">
<doc>Specifies whether the associated address is a constant register address or a temporary address / inline constant.</doc>
- <use-enum ref="ENUM198" />
+ <use-enum ref="ENABLE" />
</bitfield>
<bitfield name="ADDR0_REL" high="9" low="9">
<doc>Specifies whether the loop register is added to the value of the associated address before it is used. This implements relative addressing.</doc>
- <use-enum ref="ENUM199" />
+ <use-enum ref="ENABLE" />
</bitfield>
<bitfield name="ADDR1" high="17" low="10"><doc>Specifies the identity of source operands a0, a1, and a2. If the const field is set, this number ranges from 0 to 255 and specifies a location within the constant register bank. Otherwise: If the most significant bit is cleared, this field specifies a location within the current pixel stack frame (ranging from 0 to 127). If the most significant bit is set, then the lower 7 bits specify an inline unsigned floating- point constant with 4 bit exponent (bias 7) and 3 bit mantissa, including denormals but excluding infinite/NaN.</doc></bitfield>
<bitfield name="ADDR1_CONST" high="18" low="18">
<doc>Specifies whether the associated address is a constant register address or a temporary address / inline constant.</doc>
- <use-enum ref="ENUM198" />
+ <use-enum ref="ENABLE" />
</bitfield>
<bitfield name="ADDR1_REL" high="19" low="19">
<doc>Specifies whether the loop register is added to the value of the associated address before it is used. This implements relative addressing.</doc>
- <use-enum ref="ENUM199" />
+ <use-enum ref="ENABLE" />
</bitfield>
<bitfield name="ADDR2" high="27" low="20"><doc>Specifies the identity of source operands a0, a1, and a2. If the const field is set, this number ranges from 0 to 255 and specifies a location within the constant register bank. Otherwise: If the most significant bit is cleared, this field specifies a location within the current pixel stack frame (ranging from 0 to 127). If the most significant bit is set, then the lower 7 bits specify an inline unsigned floating- point constant with 4 bit exponent (bias 7) and 3 bit mantissa, including denormals but excluding infinite/NaN.</doc></bitfield>
<bitfield name="ADDR2_CONST" high="28" low="28">
<doc>Specifies whether the associated address is a constant register address or a temporary address / inline constant.</doc>
- <use-enum ref="ENUM198" />
+ <use-enum ref="ENABLE" />
</bitfield>
<bitfield name="ADDR2_REL" high="29" low="29">
<doc>Specifies whether the loop register is added to the value of the associated address before it is used. This implements relative addressing.</doc>
- <use-enum ref="ENUM199" />
+ <use-enum ref="ENABLE" />
</bitfield>
<bitfield name="SRCP_OP" high="31" low="30">
<doc>Specifies how the pre-subtract value (SRCP) is computed.</doc>
@@ -4341,23 +4285,23 @@
<bitfield name="RGB_ADDRD" high="10" low="4"><doc>Specifies the address of the pixel stack frame register to which the RGB result of this instruction is to be written.</doc></bitfield>
<bitfield name="RGB_ADDRD_REL" high="11" low="11">
<doc>Specifies whether the loop register is added to the value of RGB_ADDRD before it is used. This implements relative addressing.</doc>
- <use-enum ref="ENUM192" />
+ <use-enum ref="ENABLE" />
</bitfield>
<bitfield name="RGB_SEL_C" high="13" low="12">
<doc>Specifies the operands for RGB and Alpha input C.</doc>
- <use-enum ref="ENUM193" />
+ <use-enum ref="SEL_OPERAND" />
</bitfield>
<bitfield name="RED_SWIZ_C" high="16" low="14">
<doc>Specifies, per channel, the sources for RGB and Alpha input C.</doc>
- <use-enum ref="ENUM194" />
+ <use-enum ref="SEL_SRC" />
</bitfield>
<bitfield name="GREEN_SWIZ_C" high="19" low="17">
<doc>Specifies, per channel, the sources for RGB and Alpha input C.</doc>
- <use-enum ref="ENUM194" />
+ <use-enum ref="SEL_SRC" />
</bitfield>
<bitfield name="BLUE_SWIZ_C" high="22" low="20">
<doc>Specifies, per channel, the sources for RGB and Alpha input C.</doc>
- <use-enum ref="ENUM194" />
+ <use-enum ref="SEL_SRC" />
</bitfield>
<bitfield name="RGB_MOD_C" high="24" low="23">
<doc>Specifies the input modifiers for RGB and Alpha input C.</doc>
@@ -4365,11 +4309,11 @@
</bitfield>
<bitfield name="ALPHA_SEL_C" high="26" low="25">
<doc>Specifies the operands for RGB and Alpha input C.</doc>
- <use-enum ref="ENUM193" />
+ <use-enum ref="SEL_OPERAND" />
</bitfield>
<bitfield name="ALPHA_SWIZ_C" high="29" low="27">
<doc>Specifies, per channel, the sources for RGB and Alpha input C.</doc>
- <use-enum ref="ENUM194" />
+ <use-enum ref="SEL_SRC" />
</bitfield>
<bitfield name="ALPHA_MOD_C" high="31" low="30">
<doc>Specifies the input modifiers for RGB and Alpha input C.</doc>
@@ -4382,19 +4326,19 @@
<doc>ALU RGB Instruction</doc>
<bitfield name="RGB_SEL_A" high="1" low="0">
<doc>Specifies the operands for RGB inputs A and B.</doc>
- <use-enum ref="ENUM193" />
+ <use-enum ref="SEL_OPERAND" />
</bitfield>
<bitfield name="RED_SWIZ_A" high="4" low="2">
<doc>Specifies, per channel, the sources for RGB inputs A and B.</doc>
- <use-enum ref="ENUM194" />
+ <use-enum ref="SEL_SRC" />
</bitfield>
<bitfield name="GREEN_SWIZ_A" high="7" low="5">
<doc>Specifies, per channel, the sources for RGB inputs A and B.</doc>
- <use-enum ref="ENUM194" />
+ <use-enum ref="SEL_SRC" />
</bitfield>
<bitfield name="BLUE_SWIZ_A" high="10" low="8">
<doc>Specifies, per channel, the sources for RGB inputs A and B.</doc>
- <use-enum ref="ENUM194" />
+ <use-enum ref="SEL_SRC" />
</bitfield>
<bitfield name="RGB_MOD_A" high="12" low="11">
<doc>Specifies the input modifiers for RGB inputs A and B.</doc>
@@ -4402,19 +4346,19 @@
</bitfield>
<bitfield name="RGB_SEL_B" high="14" low="13">
<doc>Specifies the operands for RGB inputs A and B.</doc>
- <use-enum ref="ENUM193" />
+ <use-enum ref="SEL_OPERAND" />
</bitfield>
<bitfield name="RED_SWIZ_B" high="17" low="15">
<doc>Specifies, per channel, the sources for RGB inputs A and B.</doc>
- <use-enum ref="ENUM194" />
+ <use-enum ref="SEL_SRC" />
</bitfield>
<bitfield name="GREEN_SWIZ_B" high="20" low="18">
<doc>Specifies, per channel, the sources for RGB inputs A and B.</doc>
- <use-enum ref="ENUM194" />
+ <use-enum ref="SEL_SRC" />
</bitfield>
<bitfield name="BLUE_SWIZ_B" high="23" low="21">
<doc>Specifies, per channel, the sources for RGB inputs A and B.</doc>
- <use-enum ref="ENUM194" />
+ <use-enum ref="SEL_SRC" />
</bitfield>
<bitfield name="RGB_MOD_B" high="25" low="24">
<doc>Specifies the input modifiers for RGB inputs A and B.</doc>
@@ -4422,11 +4366,11 @@
</bitfield>
<bitfield name="OMOD" high="28" low="26">
<doc>Specifies the output modifier for this instruction.</doc>
- <use-enum ref="ENUM195" />
+ <use-enum ref="ALU_ALPHA_OUTPUT_MOD" />
</bitfield>
<bitfield name="TARGET" high="30" low="29">
<doc>This specifies which (cached) frame buffer target to write to. For non-output ALU instructions, this specifies how to compare the results against zero when setting the predicate bits.</doc>
- <use-enum ref="ENUM196" />
+ <use-enum ref="ALU_PREDICATE_COMPARE" />
</bitfield>
<bitfield name="ALU_WMASK" high="31" low="31">
<doc>Specifies whether to update the current ALU result.</doc>
@@ -4441,29 +4385,29 @@
<bitfield name="ADDR0" high="7" low="0"><doc>Specifies the identity of source operands rgb0, rgb1, and rgb2. If the const field is set, this number ranges from 0 to 255 and specifies a location within the constant register bank. Otherwise: If the most significant bit is cleared, this field specifies a location within the current pixel stack frame (ranging from 0 to 127). If the most significant bit is set, then the lower 7 bits specify an inline unsigned floating-point constant with 4 bit exponent (bias 7) and 3 bit mantissa, including denormals but excluding infinite/NaN.</doc></bitfield>
<bitfield name="ADDR0_CONST" high="8" low="8">
<doc>Specifies whether the associated address is a constant register address or a temporary address / inline constant.</doc>
- <use-enum ref="ENUM198" />
+ <use-enum ref="ENABLE" />
</bitfield>
<bitfield name="ADDR0_REL" high="9" low="9">
<doc>Specifies whether the loop register is added to the value of the associated address before it is used. This implements relative addressing.</doc>
- <use-enum ref="ENUM199" />
+ <use-enum ref="ENABLE" />
</bitfield>
<bitfield name="ADDR1" high="17" low="10"><doc>Specifies the identity of source operands rgb0, rgb1, and rgb2. If the const field is set, this number ranges from 0 to 255 and specifies a location within the constant register bank. Otherwise: If the most significant bit is cleared, this field specifies a location within the current pixel stack frame (ranging from 0 to 127). If the most significant bit is set, then the lower 7 bits specify an inline unsigned floating-point constant with 4 bit exponent (bias 7) and 3 bit mantissa, including denormals but excluding infinite/NaN.</doc></bitfield>
<bitfield name="ADDR1_CONST" high="18" low="18">
<doc>Specifies whether the associated address is a constant register address or a temporary address / inline constant.</doc>
- <use-enum ref="ENUM198" />
+ <use-enum ref="ENABLE" />
</bitfield>
<bitfield name="ADDR1_REL" high="19" low="19">
<doc>Specifies whether the loop register is added to the value of the associated address before it is used. This implements relative addressing.</doc>
- <use-enum ref="ENUM199" />
+ <use-enum ref="ENABLE" />
</bitfield>
<bitfield name="ADDR2" high="27" low="20"><doc>Specifies the identity of source operands rgb0, rgb1, and rgb2. If the const field is set, this number ranges from 0 to 255 and specifies a location within the constant register bank. Otherwise: If the most significant bit is cleared, this field specifies a location within the current pixel stack frame (ranging from 0 to 127). If the most significant bit is set, then the lower 7 bits specify an inline unsigned floating-point constant with 4 bit exponent (bias 7) and 3 bit mantissa, including denormals but excluding infinite/NaN.</doc></bitfield>
<bitfield name="ADDR2_CONST" high="28" low="28">
<doc>Specifies whether the associated address is a constant register address or a temporary address / inline constant.</doc>
- <use-enum ref="ENUM198" />
+ <use-enum ref="ENABLE" />
</bitfield>
<bitfield name="ADDR2_REL" high="29" low="29">
<doc>Specifies whether the loop register is added to the value of the associated address before it is used. This implements relative addressing.</doc>
- <use-enum ref="ENUM199" />
+ <use-enum ref="ENABLE" />
</bitfield>
<bitfield name="SRCP_OP" high="31" low="30">
<doc>Specifies how the pre-subtract value (SRCP) is computed.</doc>
@@ -4497,7 +4441,7 @@
</bitfield>
<bitfield name="RGB_PRED_INV" high="6" low="6">
<doc>Specifies whether the predicate should be inverted. For ALU/TEX/Output this specifies predication for the RGB channels only. For FC this specifies the predicate for the entire instruction.</doc>
- <use-enum ref="ENUM205" />
+ <use-enum ref="ENABLE" />
</bitfield>
<bitfield name="WRITE_INACTIVE" high="7" low="7">
<doc>Specifies which pixels to write to.</doc>
@@ -4521,7 +4465,7 @@
</bitfield>
<bitfield name="RGB_WMASK" high="13" low="11">
<doc>Specifies which components of the result of the RGB instruction are written to the pixel stack frame.</doc>
- <use-enum ref="ENUM210" />
+ <use-enum ref="WRITE_MASK" />
</bitfield>
<bitfield name="ALPHA_WMASK" high="14" low="14">
<doc>Specifies whether the result of the Alpha instruction is written to the pixel stack frame.</doc>
@@ -4530,7 +4474,7 @@
</bitfield>
<bitfield name="RGB_OMASK" high="17" low="15">
<doc>Specifies which components of the result of the RGB instruction are written to the output fifo if this is an output instruction, and which predicate bits should be modified if this is an ALU instruction.</doc>
- <use-enum ref="ENUM210" />
+ <use-enum ref="WRITE_MASK" />
</bitfield>
<bitfield name="ALPHA_OMASK" high="18" low="18">
<doc>Specifies whether the result of the Alpha instruction is written to the output fifo if this is an output instruction, and whether the Alpha predicate bit should be modified if this is an ALU instruction.</doc>
@@ -4552,7 +4496,7 @@
</bitfield>
<bitfield name="ALPHA_PRED_INV" high="22" low="22">
<doc>Specifies whether the predicate should be inverted. For ALU/TEX/Output this specifies predication for the alpha channel only. This field has no effect on FC instructions.</doc>
- <use-enum ref="ENUM205" />
+ <use-enum ref="ENABLE" />
</bitfield>
<bitfield name="ALU_RESULT_OP" high="24" low="23">
<doc>Specifies how to compare the ALU result against zero for the 'alu_result' bit in a subsequent flow control instruction.</doc>
@@ -4696,10 +4640,10 @@
<stripe offset="0x46A4" stride="0x0004" length="4">
<reg32 name="US_OUT_FMT" access="rw" offset="0x0000">
<bitfield name="OUT_FMT" high="4" low="0"><use-enum ref="COLOR_FORMAT" /></bitfield>
- <bitfield name="C0_SEL" high="9" low="8"><use-enum ref="CHANNEL" /></bitfield>
- <bitfield name="C1_SEL" high="11" low="10"><use-enum ref="CHANNEL" /></bitfield>
- <bitfield name="C2_SEL" high="13" low="12"><use-enum ref="CHANNEL" /></bitfield>
- <bitfield name="C3_SEL" high="15" low="14"><use-enum ref="CHANNEL" /></bitfield>
+ <bitfield name="C0_SEL" high="9" low="8"><use-enum ref="CHANNEL_ARGB" /></bitfield>
+ <bitfield name="C1_SEL" high="11" low="10"><use-enum ref="CHANNEL_ARGB" /></bitfield>
+ <bitfield name="C2_SEL" high="13" low="12"><use-enum ref="CHANNEL_ARGB" /></bitfield>
+ <bitfield name="C3_SEL" high="15" low="14"><use-enum ref="CHANNEL_ARGB" /></bitfield>
<bitfield name="ROUND_ADJ" high="20" low="20">
<value value="0" name="NORMAL_ROUNDING"><doc>Normal rounding</doc></value>
<value value="1" name="MODIFIED_ROUNDING_OF_FIXED"><doc>Modified rounding of fixed-point data</doc></value>
@@ -4716,23 +4660,23 @@
<bitfield name="SRC_ADDR" high="6" low="0"><doc>Specifies the location (within the shader pixel stack frame) of the texture address for this instruction</doc></bitfield>
<bitfield name="SRC_ADDR_REL" high="7" low="7">
<doc>Specifies whether the loop register is added to the value of the associated address before it is used. This implements relative addressing.</doc>
- <use-enum ref="ENUM229" />
+ <use-enum ref="ENABLE" />
</bitfield>
<bitfield name="SRC_S_SWIZ" high="9" low="8">
<doc>Specify which colour channel of src_addr to use for S coordinate</doc>
- <use-enum ref="ENUM230" />
+ <use-enum ref="CHANNEL_RGBA" />
</bitfield>
<bitfield name="SRC_T_SWIZ" high="11" low="10">
<doc>Specify which colour channel of src_addr to use for T coordinate</doc>
- <use-enum ref="ENUM231" />
+ <use-enum ref="CHANNEL_RGBA" />
</bitfield>
<bitfield name="SRC_R_SWIZ" high="13" low="12">
<doc>Specify which colour channel of src_addr to use for R coordinate</doc>
- <use-enum ref="ENUM232" />
+ <use-enum ref="CHANNEL_RGBA" />
</bitfield>
<bitfield name="SRC_Q_SWIZ" high="15" low="14">
<doc>Specify which colour channel of src_addr to use for Q coordinate</doc>
- <use-enum ref="ENUM233" />
+ <use-enum ref="CHANNEL_RGBA" />
</bitfield>
<bitfield name="DST_ADDR" high="22" low="16"><doc>Specifies the location (within the shader pixel stack frame) of the returned texture data for this instruction</doc></bitfield>
<bitfield name="DST_ADDR_REL" high="23" low="23">
@@ -4742,31 +4686,31 @@
</bitfield>
<bitfield name="DST_R_SWIZ" high="25" low="24">
<doc>Specify which colour channel of the returned texture data to write to the red channel of dst_addr</doc>
- <value value="0" name="WRITE_R_CHANNEL_TO_R_CHANNEL"><doc>Write R channel to R channel</doc></value>
- <value value="1" name="WRITE_G_CHANNEL_TO_R_CHANNEL"><doc>Write G channel to R channel</doc></value>
- <value value="2" name="WRITE_B_CHANNEL_TO_R_CHANNEL"><doc>Write B channel to R channel</doc></value>
- <value value="3" name="WRITE_A_CHANNEL_TO_R_CHANNEL"><doc>Write A channel to R channel</doc></value>
+ <value value="0" name="WRITE_R_CHANNEL_TO_R_CHANNEL_ARGB"><doc>Write R channel to R channel</doc></value>
+ <value value="1" name="WRITE_G_CHANNEL_TO_R_CHANNEL_ARGB"><doc>Write G channel to R channel</doc></value>
+ <value value="2" name="WRITE_B_CHANNEL_TO_R_CHANNEL_ARGB"><doc>Write B channel to R channel</doc></value>
+ <value value="3" name="WRITE_A_CHANNEL_TO_R_CHANNEL_ARGB"><doc>Write A channel to R channel</doc></value>
</bitfield>
<bitfield name="DST_G_SWIZ" high="27" low="26">
<doc>Specify which colour channel of the returned texture data to write to the green channel of dst_addr</doc>
- <value value="0" name="WRITE_R_CHANNEL_TO_G_CHANNEL"><doc>Write R channel to G channel</doc></value>
- <value value="1" name="WRITE_G_CHANNEL_TO_G_CHANNEL"><doc>Write G channel to G channel</doc></value>
- <value value="2" name="WRITE_B_CHANNEL_TO_G_CHANNEL"><doc>Write B channel to G channel</doc></value>
- <value value="3" name="WRITE_A_CHANNEL_TO_G_CHANNEL"><doc>Write A channel to G channel</doc></value>
+ <value value="0" name="WRITE_R_CHANNEL_TO_G_CHANNEL_ARGB"><doc>Write R channel to G channel</doc></value>
+ <value value="1" name="WRITE_G_CHANNEL_TO_G_CHANNEL_ARGB"><doc>Write G channel to G channel</doc></value>
+ <value value="2" name="WRITE_B_CHANNEL_TO_G_CHANNEL_ARGB"><doc>Write B channel to G channel</doc></value>
+ <value value="3" name="WRITE_A_CHANNEL_TO_G_CHANNEL_ARGB"><doc>Write A channel to G channel</doc></value>
</bitfield>
<bitfield name="DST_B_SWIZ" high="29" low="28">
<doc>Specify which colour channel of the returned texture data to write to the blue channel of dst_addr</doc>
- <value value="0" name="WRITE_R_CHANNEL_TO_B_CHANNEL"><doc>Write R channel to B channel</doc></value>
- <value value="1" name="WRITE_G_CHANNEL_TO_B_CHANNEL"><doc>Write G channel to B channel</doc></value>
- <value value="2" name="WRITE_B_CHANNEL_TO_B_CHANNEL"><doc>Write B channel to B channel</doc></value>
- <value value="3" name="WRITE_A_CHANNEL_TO_B_CHANNEL"><doc>Write A channel to B channel</doc></value>
+ <value value="0" name="WRITE_R_CHANNEL_TO_B_CHANNEL_ARGB"><doc>Write R channel to B channel</doc></value>
+ <value value="1" name="WRITE_G_CHANNEL_TO_B_CHANNEL_ARGB"><doc>Write G channel to B channel</doc></value>
+ <value value="2" name="WRITE_B_CHANNEL_TO_B_CHANNEL_ARGB"><doc>Write B channel to B channel</doc></value>
+ <value value="3" name="WRITE_A_CHANNEL_TO_B_CHANNEL_ARGB"><doc>Write A channel to B channel</doc></value>
</bitfield>
<bitfield name="DST_A_SWIZ" high="31" low="30">
<doc>Specify which colour channel of the returned texture data to write to the alpha channel of dst_addr</doc>
- <value value="0" name="WRITE_R_CHANNEL_TO_A_CHANNEL"><doc>Write R channel to A channel</doc></value>
- <value value="1" name="WRITE_G_CHANNEL_TO_A_CHANNEL"><doc>Write G channel to A channel</doc></value>
- <value value="2" name="WRITE_B_CHANNEL_TO_A_CHANNEL"><doc>Write B channel to A channel</doc></value>
- <value value="3" name="WRITE_A_CHANNEL_TO_A_CHANNEL"><doc>Write A channel to A channel</doc></value>
+ <value value="0" name="WRITE_R_CHANNEL_TO_A_CHANNEL_ARGB"><doc>Write R channel to A channel</doc></value>
+ <value value="1" name="WRITE_G_CHANNEL_TO_A_CHANNEL_ARGB"><doc>Write G channel to A channel</doc></value>
+ <value value="2" name="WRITE_B_CHANNEL_TO_A_CHANNEL_ARGB"><doc>Write B channel to A channel</doc></value>
+ <value value="3" name="WRITE_A_CHANNEL_TO_A_CHANNEL_ARGB"><doc>Write A channel to A channel</doc></value>
</bitfield>
</reg32>
</stripe>
@@ -4776,44 +4720,44 @@
<bitfield name="DX_ADDR" high="6" low="0"><doc>Specifies the location (within the shader pixel stack frame) of the DX value for this instruction</doc></bitfield>
<bitfield name="DX_ADDR_REL" high="7" low="7">
<doc>Specifies whether the loop register is added to the value of the associated address before it is used. This implements relative addressing.</doc>
- <use-enum ref="ENUM229" />
+ <use-enum ref="ENABLE" />
</bitfield>
<bitfield name="DX_S_SWIZ" high="9" low="8">
<doc>Specify which colour channel of dx_addr to use for S coordinate</doc>
- <use-enum ref="ENUM230" />
+ <use-enum ref="CHANNEL_RGBA" />
</bitfield>
<bitfield name="DX_T_SWIZ" high="11" low="10">
<doc>Specify which colour channel of dx_addr to use for T coordinate</doc>
- <use-enum ref="ENUM231" />
+ <use-enum ref="CHANNEL_RGBA" />
</bitfield>
<bitfield name="DX_R_SWIZ" high="13" low="12">
<doc>Specify which colour channel of dx_addr to use for R coordinate</doc>
- <use-enum ref="ENUM232" />
+ <use-enum ref="CHANNEL_RGBA" />
</bitfield>
<bitfield name="DX_Q_SWIZ" high="15" low="14">
<doc>Specify which colour channel of dx_addr to use for Q coordinate</doc>
- <use-enum ref="ENUM233" />
+ <use-enum ref="CHANNEL_RGBA" />
</bitfield>
<bitfield name="DY_ADDR" high="22" low="16"><doc>Specifies the location (within the shader pixel stack frame) of the DY value for this instruction</doc></bitfield>
<bitfield name="DY_ADDR_REL" high="23" low="23">
<doc>Specifies whether the loop register is added to the value of the associated address before it is used. This implements relative addressing.</doc>
- <use-enum ref="ENUM229" />
+ <use-enum ref="ENABLE" />
</bitfield>
<bitfield name="DY_S_SWIZ" high="25" low="24">
<doc>Specify which colour channel of dy_addr to use for S coordinate</doc>
- <use-enum ref="ENUM230" />
+ <use-enum ref="CHANNEL_RGBA" />
</bitfield>
<bitfield name="DY_T_SWIZ" high="27" low="26">
<doc>Specify which colour channel of dy_addr to use for T coordinate</doc>
- <use-enum ref="ENUM231" />
+ <use-enum ref="CHANNEL_RGBA" />
</bitfield>
<bitfield name="DY_R_SWIZ" high="29" low="28">
<doc>Specify which colour channel of dy_addr to use for R coordinate</doc>
- <use-enum ref="ENUM232" />
+ <use-enum ref="CHANNEL_RGBA" />
</bitfield>
<bitfield name="DY_Q_SWIZ" high="31" low="30">
<doc>Specify which colour channel of dy_addr to use for Q coordinate</doc>
- <use-enum ref="ENUM233" />
+ <use-enum ref="CHANNEL_RGBA" />
</bitfield>
</reg32>
</stripe>
@@ -5114,14 +5058,14 @@
<doc>Sets the fifo sizes</doc>
<bitfield name="OP_FIFO_SIZE" high="1" low="0">
<doc>Determines the size of the op fifo</doc>
- <use-enum ref="ENUM151" />
+ <use-enum ref="FIFO_SIZE" />
</bitfield>
</reg32>
<reg32 name="ZB_FORMAT" access="rw" offset="0x4F10">
<doc>Format of the Data in the Z buffer</doc>
<bitfield name="DEPTHFORMAT" high="3" low="0">
<doc>Specifies the format of the Z buffer.</doc>
- <use-enum ref="ENUM133" />
+ <use-enum ref="DSFORMAT" />
</bitfield>
<bitfield name="INVERT" high="4" low="4">
<value value="0" name="IN_13E3_FORMAT"><doc>in 13E3 format , count leading 1's</doc></value>