freedreno/layout: layout simplifications and pitch from level 0 pitch
[mesa.git] / src / freedreno / registers / a3xx.xml
index c8849693f8c9d54dd7d28ed8bf05738b83bbb411..0efe4fe581e411f0c24860f995544c683afc60c4 100644 (file)
@@ -216,19 +216,6 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd">
        <value name="TFMT_NONE" value="0xff"/>
 </enum>
 
-<enum name="a3xx_tex_fetchsize">
-       <doc>
-               Size pixel to fetch, in bytes.  Doesn't seem to be required, setting
-               it to 0x0 seems to work ok, but may be less optimal.
-       </doc>
-       <value name="TFETCH_DISABLE" value="0"/>
-       <value name="TFETCH_1_BYTE"  value="1"/>
-       <value name="TFETCH_2_BYTE"  value="2"/>
-       <value name="TFETCH_4_BYTE"  value="3"/>
-       <value name="TFETCH_8_BYTE"  value="4"/>
-       <value name="TFETCH_16_BYTE" value="5"/>
-</enum>
-
 <enum name="a3xx_color_fmt">
        <value name="RB_R5G6B5_UNORM"       value="0x00"/>
        <value name="RB_R5G5B5A1_UNORM"     value="0x01"/>
@@ -1736,7 +1723,8 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd">
        <reg32 offset="1" name="1">
                <bitfield name="HEIGHT" low="0" high="13" type="uint"/>
                <bitfield name="WIDTH" low="14" high="27" type="uint"/>
-               <bitfield name="FETCHSIZE" low="28" high="31" type="a3xx_tex_fetchsize"/>
+               <!-- minimum pitch (for mipmap levels): log2(pitchalign / 16) -->
+               <bitfield name="PITCHALIGN" low="28" high="31" type="uint"/>
        </reg32>
        <reg32 offset="2" name="2">
                <doc>INDX is index of texture address(es) in MIPMAP state block</doc>