Lines Matching +full:high +full:- +full:to +full:- +full:low
1 <?xml version="1.0" encoding="UTF-8"?>
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="https://gitlab.freedesktop.org/freedreno/ rules-fd.xsd">
70 <!-- hmm, shifted one compared to a3xx?!? -->
88 <!-- beyond here it does not appear to be shifted -->
145 <!-- 0x00 .. 0x02 -->
147 <!-- 8-bit formats -->
154 <!-- 16-bit formats -->
157 <!-- 0x0a -->
160 <!-- 0x0c -->
174 <!-- 0x17 .. 0x1b -->
176 <!-- 32-bit formats -->
185 <!-- 0x23 .. 0x24 -->
198 <!-- 0x2e .. 0x32 -->
200 <!-- 64-bit formats -->
211 <!-- 96-bit formats -->
216 <!-- 0x3e -->
218 <!-- 128-bit formats -->
223 <!-- 0x42 .. 0x46 -->
225 <!-- 0x48 .. 0x55 -->
227 <!-- compressed formats -->
231 <!-- 0x59 -->
234 <!-- 0x5c .. 0x5d -->
237 <!-- 0x60 -->
266 <!-- 0x7d .. 0x7f -->
278 <!--
279 NOTE counters extracted from test-perf log with the following awful
286 grep -F "counter
288 group" $log | grep -v gl > shortlist.txt
315 -->
335 <!--
340 -->
342 <!-- first ctr at least seems same as a3xx, so we can measure freq -->
495 <!-- NOTE not actually used.. see RBBM_RBBM_CTL.RESET_PWR_CTR0/1 -->
864 <!-- RB registers -->
879 <bitfield name="WIDTH" low="0" high="13" type="uint"/>
880 <bitfield name="HEIGHT" low="16" high="29" type="uint"/>
887 <!--
888 for non-bypass mode, these are bin width/height.. although
889 possibly bigger bitfields to hold entire width/height for
890 gmem-bypass?? Either way, it appears to need to be multiple
892 -->
893 <bitfield name="WIDTH" low="0" high="5" shr="5" type="uint"/>
894 <bitfield name="HEIGHT" low="8" high="13" shr="5" type="uint"/>
899 <!-- nearly everything has bit3 set.. -->
900 <!-- bit5 set on resolve and tiling pass -->
905 <bitfield name="SAMPLES" low="13" high="15" type="uint"/>
908 <bitfield name="COORD_MASK" low="0" high="3" type="hex"/>
912 <bitfield name="MSAA_SAMPLES" low="7" high="9" type="uint"/>
915 <!-- the 2 below are just educated guesses -->
918 <!-- needs to be enabled to get nopersp values,
919 perhaps other cases too? -->
925 <!-- both these bits seem to get set when enabling GL_BLEND.. -->
929 <bitfield name="ROP_CODE" low="8" high="11" type="a3xx_rop_code"/>
930 <bitfield name="COMPONENT_ENABLE" low="24" high="27" type="hex"/>
933 <bitfield name="COLOR_FORMAT" low="0" high="5" type="a4xx_color_fmt"/>
934 <!--
937 -->
938 <bitfield name="COLOR_TILE_MODE" low="6" high="7" type="a4xx_tile_mode"/>
939 <bitfield name="DITHER_MODE" low="9" high="10" type="adreno_rb_dither_mode"/>
940 <bitfield name="COLOR_SWAP" low="11" high="12" type="a3xx_color_swap"/>
942 <!-- note: possibly some # of lsb's aren't there: -->
944 Pitch (actually, appears to be pitch in bytes, so really is a stride)
947 <bitfield name="COLOR_BUF_PITCH" low="14" high="31" shr="4" type="uint"/>
951 <!-- probably missing some lsb's.. and guessing upper size -->
952 <!-- pitch * cpp * msaa: -->
953 <bitfield name="STRIDE" low="3" high="25" type="uint"/>
956 <bitfield name="RGB_SRC_FACTOR" low="0" high="4" type="adreno_rb_blend_factor"/>
957 <bitfield name="RGB_BLEND_OPCODE" low="5" high="7" type="a3xx_rb_blend_opcode"/>
958 <bitfield name="RGB_DEST_FACTOR" low="8" high="12" type="adreno_rb_blend_factor"/>
959 <bitfield name="ALPHA_SRC_FACTOR" low="16" high="20" type="adreno_rb_blend_factor"/>
960 <bitfield name="ALPHA_BLEND_OPCODE" low="21" high="23" type="a3xx_rb_blend_opcode"/>
961 <bitfield name="ALPHA_DEST_FACTOR" low="24" high="28" type="adreno_rb_blend_factor"/>
966 <bitfield name="UINT" low="0" high="7" type="hex"/>
967 <bitfield name="SINT" low="8" high="15" type="hex"/>
968 <bitfield name="FLOAT" low="16" high="31" type="float"/>
973 <bitfield name="UINT" low="0" high="7" type="hex"/>
974 <bitfield name="SINT" low="8" high="15" type="hex"/>
975 <bitfield name="FLOAT" low="16" high="31" type="float"/>
980 <bitfield name="UINT" low="0" high="7" type="hex"/>
981 <bitfield name="SINT" low="8" high="15" type="hex"/>
982 <bitfield name="FLOAT" low="16" high="31" type="float"/>
987 <bitfield name="UINT" low="0" high="7" type="hex"/>
988 <bitfield name="SINT" low="8" high="15" type="hex"/>
989 <bitfield name="FLOAT" low="16" high="31" type="float"/>
994 <bitfield name="ALPHA_REF" low="0" high="7" type="hex"/>
996 <bitfield name="ALPHA_TEST_FUNC" low="9" high="11" type="adreno_compare_func"/>
999 <!-- per-mrt enable bit -->
1000 <bitfield name="ENABLE_BLEND" low="0" high="7"/>
1002 <!-- a guess? -->
1003 <bitfield name="SAMPLE_MASK" low="16" high="31"/>
1007 <bitfield name="ADDR" low="2" high="31" shr="2"/>
1009 <!-- always 00000000 for binning pass, else 0000000f: -->
1011 <bitfield name="RT0" low="0" high="3"/>
1012 <bitfield name="RT1" low="4" high="7"/>
1013 <bitfield name="RT2" low="8" high="11"/>
1014 <bitfield name="RT3" low="12" high="15"/>
1015 <bitfield name="RT4" low="16" high="19"/>
1016 <bitfield name="RT5" low="20" high="23"/>
1017 <bitfield name="RT6" low="24" high="27"/>
1018 <bitfield name="RT7" low="28" high="31"/>
1022 <!-- not sure # of bits -->
1023 <bitfield name="MSAA_RESOLVE" low="0" high="1" type="a3xx_msaa_samples"/>
1024 <bitfield name="MODE" low="4" high="6" type="adreno_rb_copy_control_mode"/>
1025 <bitfield name="FASTCLEAR" low="8" high="11" type="hex"/>
1026 <bitfield name="GMEM_BASE" low="14" high="31" shr="14" type="hex"/>
1029 <bitfield name="BASE" low="5" high="31" shr="5" type="hex"/>
1032 <doc>actually, appears to be pitch in bytes, so really is a stride</doc>
1033 <!-- not actually sure about max pitch... -->
1034 <bitfield name="PITCH" low="0" high="31" shr="5" type="uint"/>
1037 <bitfield name="FORMAT" low="2" high="7" type="a4xx_color_fmt"/>
1038 <bitfield name="SWAP" low="8" high="9" type="a3xx_color_swap"/>
1039 <bitfield name="DITHER_MODE" low="10" high="11" type="adreno_rb_dither_mode"/>
1040 <bitfield name="COMPONENT_ENABLE" low="14" high="17" type="hex"/>
1041 <bitfield name="ENDIAN" low="18" high="20" type="adreno_rb_surface_endian"/>
1042 <bitfield name="TILE" low="24" high="25" type="a4xx_tile_mode"/>
1045 <!-- bit0 set except for binning pass.. -->
1046 <bitfield name="MRT" low="0" high="3" type="uint"/>
1050 <!--
1053 -->
1057 <bitfield name="ZFUNC" low="4" high="6" type="adreno_compare_func"/>
1066 <bitfield name="DEPTH_FORMAT" low="0" high="1" type="a4xx_depth_format"/>
1068 DEPTH_BASE is offset in GMEM to depth/stencil buffer, ie
1069 bin_w * bin_h / 1024 (possible rounded up to multiple of
1071 80.. so maybe it needs to be multiple of 8??
1073 <bitfield name="DEPTH_BASE" low="12" high="31" shr="12" type="hex"/>
1084 <!--
1087 not require read).. so guessing this is analogous to
1089 -->
1091 <bitfield name="FUNC" low="8" high="10" type="adreno_compare_func"/>
1092 <bitfield name="FAIL" low="11" high="13" type="adreno_stencil_op"/>
1093 <bitfield name="ZPASS" low="14" high="16" type="adreno_stencil_op"/>
1094 <bitfield name="ZFAIL" low="17" high="19" type="adreno_stencil_op"/>
1095 <bitfield name="FUNC_BF" low="20" high="22" type="adreno_compare_func"/>
1096 <bitfield name="FAIL_BF" low="23" high="25" type="adreno_stencil_op"/>
1097 <bitfield name="ZPASS_BF" low="26" high="28" type="adreno_stencil_op"/>
1098 <bitfield name="ZFAIL_BF" low="29" high="31" type="adreno_stencil_op"/>
1101 <!--
1102 This seems to be set by blob if there is a stencil buffer
1106 -->
1112 <bitfield name="STENCIL_BASE" low="12" high="31" shr="12" type="hex"/>
1126 <!-- RBBM registers -->
1397 <bitfield name="EARLY_CYC" low="20" high="22" type="uint"/>
1478 <!-- CP registers -->
1538 <!-- SP registers -->
1559 <!-- set when VS in buffer mode: -->
1561 <!-- set when FS in buffer mode: -->
1563 <!-- set when both VS or FS in buffer mode: -->
1565 <!-- TODO other bits probably matter when other stages active? -->
1569 <!--
1571 appears to be the same..
1572 -->
1574 <!-- VARYING bit only for FS.. think it controls emitting (ei) flag? -->
1576 <!-- maybe CACHEINVALID is two bits?? -->
1587 <bitfield name="HALFREGFOOTPRINT" low="4" high="9" type="uint"/>
1588 <bitfield name="FULLREGFOOTPRINT" low="10" high="15" type="uint"/>
1589 <!-- maybe INOUTREGOVERLAP is a bitflag? -->
1590 <bitfield name="INOUTREGOVERLAP" low="18" high="19" type="uint"/>
1598 <bitfield name="CONSTLENGTH" low="0" high="7" type="uint"/>
1599 <bitfield name="INITIALOUTSTANDING" low="24" high="30" type="uint"/>
1602 <bitfield name="POSREGID" low="0" high="7" type="a3xx_regid"/>
1603 <bitfield name="PSIZEREGID" low="8" high="15" type="a3xx_regid"/>
1604 <bitfield name="TOTALVSOUTVAR" low="20" high="31" type="uint"/>
1608 <bitfield name="A_REGID" low="0" high="8" type="a3xx_regid"/>
1609 <bitfield name="A_COMPMASK" low="9" high="12" type="hex"/>
1610 <bitfield name="B_REGID" low="16" high="24" type="a3xx_regid"/>
1611 <bitfield name="B_COMPMASK" low="25" high="28" type="hex"/>
1617 These seem to be offsets for storage of the varyings.
1618 Always seems to start from 8, possibly loc 0 and 4
1621 <bitfield name="OUTLOC0" low="0" high="7" type="uint"/>
1622 <bitfield name="OUTLOC1" low="8" high="15" type="uint"/>
1623 <bitfield name="OUTLOC2" low="16" high="23" type="uint"/>
1624 <bitfield name="OUTLOC3" low="24" high="31" type="uint"/>
1629 <!-- always 00000000: -->
1636 <bitfield name="CONSTOBJECTOFFSET" low="16" high="24" type="uint"/>
1637 <bitfield name="SHADEROBJOFFSET" low="25" high="31" type="uint"/>
1645 <bitfield name="CONSTLENGTH" low="0" high="7" type="uint"/>
1651 <bitfield name="CONSTOBJECTOFFSET" low="16" high="24" type="uint"/>
1652 <bitfield name="SHADEROBJOFFSET" low="25" high="31" type="uint"/>
1659 <bitfield name="MRT" low="0" high="3" type="uint"/>
1661 <!-- TODO double check.. for now assume same as a3xx -->
1662 <bitfield name="DEPTH_REGID" low="8" high="15" type="a3xx_regid"/>
1663 <bitfield name="SAMPLEMASK_REGID" low="24" high="31" type="a3xx_regid"/>
1667 <bitfield name="REGID" low="0" high="7" type="a3xx_regid"/>
1671 <bitfield name="MRTFORMAT" low="12" high="17" type="a4xx_color_fmt"/>
1683 <bitfield name="CONSTOBJECTOFFSET" low="16" high="24" type="uint"/>
1684 <bitfield name="SHADEROBJOFFSET" low="25" high="31" type="uint"/>
1692 <bitfield name="POSREGID" low="0" high="7" type="a3xx_regid"/>
1693 <bitfield name="TOTALGSOUTVAR" low="20" high="31" type="uint"/>
1697 <bitfield name="A_REGID" low="0" high="8" type="a3xx_regid"/>
1698 <bitfield name="A_COMPMASK" low="9" high="12" type="hex"/>
1699 <bitfield name="B_REGID" low="16" high="24" type="a3xx_regid"/>
1700 <bitfield name="B_COMPMASK" low="25" high="28" type="hex"/>
1706 These seem to be offsets for storage of the varyings.
1707 Always seems to start from 8, possibly loc 0 and 4
1710 <bitfield name="OUTLOC0" low="0" high="7" type="uint"/>
1711 <bitfield name="OUTLOC1" low="8" high="15" type="uint"/>
1712 <bitfield name="OUTLOC2" low="16" high="23" type="uint"/>
1713 <bitfield name="OUTLOC3" low="24" high="31" type="uint"/>
1717 <bitfield name="CONSTOBJECTOFFSET" low="16" high="24" type="uint"/>
1718 <bitfield name="SHADEROBJOFFSET" low="25" high="31" type="uint"/>
1726 <bitfield name="POSREGID" low="0" high="7" type="a3xx_regid"/>
1727 <bitfield name="PRIMREGID" low="8" high="15" type="a3xx_regid"/>
1728 <bitfield name="TOTALGSOUTVAR" low="20" high="31" type="uint"/>
1732 <bitfield name="A_REGID" low="0" high="8" type="a3xx_regid"/>
1733 <bitfield name="A_COMPMASK" low="9" high="12" type="hex"/>
1734 <bitfield name="B_REGID" low="16" high="24" type="a3xx_regid"/>
1735 <bitfield name="B_COMPMASK" low="25" high="28" type="hex"/>
1741 These seem to be offsets for storage of the varyings.
1742 Always seems to start from 8, possibly loc 0 and 4
1745 <bitfield name="OUTLOC0" low="0" high="7" type="uint"/>
1746 <bitfield name="OUTLOC1" low="8" high="15" type="uint"/>
1747 <bitfield name="OUTLOC2" low="16" high="23" type="uint"/>
1748 <bitfield name="OUTLOC3" low="24" high="31" type="uint"/>
1752 <bitfield name="CONSTOBJECTOFFSET" low="16" high="24" type="uint"/>
1753 <bitfield name="SHADEROBJOFFSET" low="25" high="31" type="uint"/>
1760 <!-- VPC registers -->
1769 <bitfield name="TOTALATTR" low="0" high="8" type="uint"/>
1770 <!-- PSIZE bit set if gl_PointSize written: -->
1772 <bitfield name="THRDASSIGN" low="12" high="13" type="uint"/>
1776 <bitfield name="NUMBYPASSVAR" low="0" high="7" type="uint"/>
1777 <bitfield name="NUMFPNONPOSVAR" low="8" high="15" type="uint"/>
1778 <bitfield name="NUMNONPOSVSVAR" low="16" high="23" type="uint"/>
1789 <!-- VSC registers -->
1791 <bitfield name="WIDTH" low="0" high="4" shr="5" type="uint"/>
1792 <bitfield name="HEIGHT" low="5" high="9" shr="5" type="uint"/>
1804 of bins assigned to this VSC_PIPE in the horiz/vert
1807 <bitfield name="X" low="0" high="9" type="uint"/>
1808 <bitfield name="Y" low="10" high="19" type="uint"/>
1809 <bitfield name="W" low="20" high="23" type="uint"/>
1810 <bitfield name="H" low="24" high="27" type="uint"/>
1823 <!-- VFD registers -->
1837 TOTALATTRTOVS is # of attributes to vertex shader, in register
1838 slots (ie. vec4+vec3 -> 7)
1840 <bitfield name="TOTALATTRTOVS" low="0" high="7" type="uint"/>
1842 BYPASSATTROVS seems to count varyings that are just directly
1845 <bitfield name="BYPASSATTROVS" low="9" high="16" type="uint"/>
1847 <bitfield name="STRMDECINSTRCNT" low="20" high="25" type="uint"/>
1849 <bitfield name="STRMFETCHINSTRCNT" low="26" high="31" type="uint"/>
1853 <bitfield name="MAXSTORAGE" low="0" high="15" type="uint"/>
1854 <bitfield name="REGID4VTX" low="16" high="23" type="a3xx_regid"/>
1855 <bitfield name="REGID4INST" low="24" high="31" type="a3xx_regid"/>
1859 <bitfield name="REGID_VTXCNT" low="8" high="15" type="a3xx_regid"/>
1860 <bitfield name="REGID_TESSX" low="16" high="23" type="a3xx_regid"/>
1861 <bitfield name="REGID_TESSY" low="24" high="31" type="a3xx_regid"/>
1867 <bitfield name="FETCHSIZE" low="0" high="6" type="uint"/>
1868 <bitfield name="BUFSTRIDE" low="7" high="16" type="uint"/>
1874 <bitfield name="SIZE" low="0" high="31"/>
1877 <!-- might well be bigger.. -->
1878 <bitfield name="STEPRATE" low="0" high="8" type="uint"/>
1883 <bitfield name="WRITEMASK" low="0" high="3" type="hex"/>
1884 <!-- not sure if this is a bit flag and another flag above it, or?? -->
1886 <bitfield name="FORMAT" low="6" high="11" type="a4xx_vtx_fmt"/>
1887 <bitfield name="REGID" low="12" high="19" type="a3xx_regid"/>
1889 <doc>SHIFTCNT appears to be size, ie. FLOAT_32_32_32 is 12, and BYTE_8 is 1</doc>
1890 <bitfield name="SWAP" low="22" high="23" type="a3xx_color_swap"/>
1891 <bitfield name="SHIFTCNT" low="24" high="28" type="uint"/>
1897 <!-- TPL1 registers -->
1899 <!-- always 0000003a: -->
1911 <bitfield name="VS" low="0" high="7" type="uint"/>
1912 <bitfield name="HS" low="8" high="15" type="uint"/>
1913 <bitfield name="DS" low="16" high="23" type="uint"/>
1914 <bitfield name="GS" low="24" high="31" type="uint"/>
1921 <bitfield name="FS" low="0" high="7" type="uint"/>
1922 <bitfield name="CS" low="8" high="15" type="uint"/>
1929 <!-- GRAS registers -->
1951 <bitfield name="HORZ" low="0" high="9" type="uint"/>
1952 <bitfield name="VERT" low="10" high="19" type="uint"/>
1961 <bitfield name="MIN" low="0" high="15" type="ufixed" radix="4"/>
1962 <bitfield name="MAX" low="16" high="31" type="ufixed" radix="4"/>
1973 <!-- guestimating that this is GRAS based on addr -->
1974 <bitfield name="FORMAT" low="0" high="1" type="a4xx_depth_format"/>
1980 <bitfield name="LINEHALFWIDTH" low="3" high="10" radix="2" type="fixed"/>
1983 <!-- bit20 set whenever RENDER_MODE = RB_RENDERING_PASS -->
1987 <!-- complete wild-ass-guess for sizes of these bitfields.. -->
1988 <bitfield name="RENDER_MODE" low="2" high="3" type="a3xx_render_mode"/>
1989 <bitfield name="MSAA_SAMPLES" low="7" high="9" type="uint"/>
1991 <bitfield name="RASTER_MODE" low="12" high="15"/>
2000 <!-- UCHE registers -->
2017 <!-- HLSQ registers -->
2020 <!-- always 00000000: -->
2032 <!-- I guess same as a3xx, but so far only seen 08000050 -->
2048 <bitfield name="COORDREGID" low="16" high="23" type="a3xx_regid"/>
2049 <!-- set if gl_FragCoord.[zw] used in frag shader: -->
2050 <bitfield name="ZWCOORDREGID" low="24" high="31" type="a3xx_regid"/>
2053 <bitfield name="PRIMALLOCTHRESHOLD" low="26" high="31" type="uint"/>
2054 <bitfield name="FACEREGID" low="2" high="9" type="a3xx_regid"/>
2055 <bitfield name="SAMPLEID_REGID" low="10" high="17" type="a3xx_regid"/>
2056 <bitfield name="SAMPLEMASK_REGID" low="18" high="25" type="a3xx_regid"/>
2059 <!-- register loaded with position (bary.f) -->
2060 <bitfield name="IJ_PERSP_PIXEL" low="0" high="7" type="a3xx_regid"/>
2061 <bitfield name="IJ_LINEAR_PIXEL" low="8" high="15" type="a3xx_regid"/>
2062 <bitfield name="IJ_PERSP_CENTROID" low="16" high="23" type="a3xx_regid"/>
2063 <bitfield name="IJ_LINEAR_CENTROID" low="24" high="31" type="a3xx_regid"/>
2065 <!-- 0x23c4 3 regids, lowest one goes to 0 when *not* per-sample shading -->
2067 <bitfield name="IJ_PERSP_SAMPLE" low="0" high="7" type="a3xx_regid"/>
2068 <bitfield name="IJ_LINEAR_SAMPLE" low="8" high="15" type="a3xx_regid"/>
2072 <bitfield name="CONSTLENGTH" low="0" high="7" type="uint"/>
2073 <bitfield name="CONSTOBJECTOFFSET" low="8" high="14" type="uint"/>
2076 <bitfield name="SHADEROBJOFFSET" low="17" high="23" type="uint"/>
2077 <bitfield name="INSTRLENGTH" low="24" high="31" type="uint"/>
2086 <bitfield name="KERNELDIM" low="0" high="1" type="uint"/>
2087 <!-- localsize is value minus one: -->
2088 <bitfield name="LOCALSIZEX" low="2" high="11" type="uint"/>
2089 <bitfield name="LOCALSIZEY" low="12" high="21" type="uint"/>
2090 <bitfield name="LOCALSIZEZ" low="22" high="31" type="uint"/>
2093 <bitfield name="SIZE_X" low="0" high="31" type="uint"/>
2097 <bitfield name="SIZE_Y" low="0" high="31" type="uint"/>
2101 <bitfield name="SIZE_Z" low="0" high="31" type="uint"/>
2105 <bitfield name="WGIDCONSTID" low="0" high="11" type="a3xx_regid"/>
2106 <bitfield name="KERNELDIMCONSTID" low="12" high="23" type="a3xx_regid"/>
2107 <bitfield name="LOCALIDREGID" low="24" high="31" type="a3xx_regid"/>
2110 <!-- GLOBALSIZECONSTID? "kernel size" -->
2111 <bitfield name="UNK0CONSTID" low="0" high="11" type="a3xx_regid"/>
2112 <bitfield name="WORKGROUPSIZECONSTID" low="12" high="23" type="a3xx_regid"/>
2115 <!-- GLOBALOFFSETCONSTID -->
2116 <bitfield name="UNK0CONSTID" low="0" high="11" type="a3xx_regid"/>
2117 <bitfield name="NUMWGCONSTID" low="12" high="23" type="a3xx_regid"/>
2123 <!-- WGOFFSETCONSTID -->
2124 <bitfield name="UNK0CONSTID" low="0" high="11" type="a3xx_regid"/>
2128 <!-- PC registers -->
2145 <bitfield name="SIZE" low="16" high="21" type="uint"/>
2147 N is some sort of slot # between 0..(SIZE-1). In case
2150 <bitfield name="N" low="22" high="26" type="uint"/>
2153 <!-- bit0 set if there is >= 1 varying (actually used by FS) -->
2154 <bitfield name="VAROUT" low="0" high="3" type="uint">
2160 <!-- PSIZE bit set if gl_PointSize written: -->
2164 <bitfield name="POLYMODE_FRONT_PTYPE" low="0" high="2" type="adreno_pa_su_sc_draw"/>
2165 <bitfield name="POLYMODE_BACK_PTYPE" low="3" high="5" type="adreno_pa_su_sc_draw"/>
2170 <bitfield name="MAX_VERTICES" low="0" high="9" type="uint"/><!-- +1, i.e. max is 1024 -->
2171 <bitfield name="INVOCATIONS" low="11" high="15" type="uint"/><!-- +1, i.e. max is 32 -->
2172 <bitfield name="PRIMTYPE" low="23" high="24" type="adreno_pa_su_sc_draw"/>
2176 <bitfield name="VERTICES_OUT" low="0" high="5" type="uint"/>
2177 <bitfield name="SPACING" low="21" high="22" type="a4xx_tess_spacing"/>
2182 <!-- VBIF registers -->
2215 <!--
2217 (mostly related to DX11 features not used yet, I guess?)
2218 -->
2220 <!-- always 00000006: -->
2223 <!-- always 00000000: -->
2226 <!-- always 00000001: -->
2229 <!-- always 00000000: -->
2232 <!-- always 00040000: -->
2235 <!-- always 00000000: -->
2238 <!-- always 00000000: -->
2241 <!-- always 00000000: -->
2244 <!-- always 00000000: -->
2247 <!-- always 00000000: -->
2250 <!-- always 00000000: -->
2253 <!-- always 00000000: -->
2256 <!-- always 00000000: -->
2259 <!-- always 00000000: -->
2262 <!-- always 0000000b: -->
2265 <!-- always 00000001: -->
2268 <!-- always 00000000: -->
2271 <!-- always 00000000: -->
2274 <!-- always 00fcfc00: -->
2303 <bitfield name="XY_MAG" low="1" high="2" type="a4xx_tex_filter"/>
2304 <bitfield name="XY_MIN" low="3" high="4" type="a4xx_tex_filter"/>
2305 <bitfield name="WRAP_S" low="5" high="7" type="a4xx_tex_clamp"/>
2306 <bitfield name="WRAP_T" low="8" high="10" type="a4xx_tex_clamp"/>
2307 <bitfield name="WRAP_R" low="11" high="13" type="a4xx_tex_clamp"/>
2308 <bitfield name="ANISO" low="14" high="16" type="a4xx_tex_aniso"/>
2309 …<bitfield name="LOD_BIAS" low="19" high="31" type="fixed" radix="8"/><!-- no idea how many bits fo…
2312 <bitfield name="COMPARE_FUNC" low="1" high="3" type="adreno_compare_func"/>
2316 <bitfield name="MAX_LOD" low="8" high="19" type="ufixed" radix="8"/>
2317 <bitfield name="MIN_LOD" low="20" high="31" type="ufixed" radix="8"/>
2324 <!-- same as a2xx? -->
2342 <bitfield name="SWIZ_X" low="4" high="6" type="a4xx_tex_swiz"/>
2343 <bitfield name="SWIZ_Y" low="7" high="9" type="a4xx_tex_swiz"/>
2344 <bitfield name="SWIZ_Z" low="10" high="12" type="a4xx_tex_swiz"/>
2345 <bitfield name="SWIZ_W" low="13" high="15" type="a4xx_tex_swiz"/>
2346 <bitfield name="MIPLVLS" low="16" high="19" type="uint"/>
2347 <bitfield name="FMT" low="22" high="28" type="a4xx_tex_fmt"/>
2348 <bitfield name="TYPE" low="29" high="31" type="a4xx_tex_type"/>
2351 <bitfield name="HEIGHT" low="0" high="14" type="uint"/>
2352 <bitfield name="WIDTH" low="15" high="29" type="uint"/>
2355 <!-- minimum pitch (for mipmap levels): log2(pitchalign / 32) -->
2356 <bitfield name="PITCHALIGN" low="0" high="3" type="uint"/>
2359 <bitfield name="PITCH" low="9" high="29" type="uint"/>
2360 <bitfield name="SWAP" low="30" high="31" type="a3xx_color_swap"/>
2363 <bitfield name="LAYERSZ" low="0" high="13" shr="12" type="uint"/>
2364 <bitfield name="DEPTH" low="18" high="30" type="uint"/>
2367 <!--
2368 like a3xx we seem to have two LAYERSZ's.. although this one
2369 seems too small to be useful, and when it overflows blob just
2370 sets it to zero..
2371 -->
2372 <bitfield name="LAYERSZ" low="0" high="3" shr="12" type="uint"/>
2373 <bitfield name="BASE" low="5" high="31" shr="5"/>
2382 <bitfield name="BASE" low="5" high="31" shr="5"/>
2386 <bitfield name="PITCH" low="0" high="21" type="uint"/>
2389 <bitfield name="ARRAY_PITCH" low="12" high="25" shr="12" type="uint"/>
2392 <!-- bytes per pixel: -->
2393 <bitfield name="CPP" low="0" high="5" type="uint"/>
2399 <bitfield name="CPP" low="0" high="4" type="uint"/>
2400 <bitfield name="FMT" low="8" high="15" type="a4xx_color_fmt"/>
2401 <bitfield name="WIDTH" low="16" high="31" type="uint"/>
2404 <bitfield name="HEIGHT" low="0" high="15" type="uint"/>
2405 <bitfield name="DEPTH" low="16" high="31" type="uint"/>