OSDN Git Service

genxml: Expand SKL's SurfaceFormat field width for ASTC
authorNanley Chery <nanley.g.chery@intel.com>
Wed, 18 May 2016 17:45:30 +0000 (10:45 -0700)
committerNanley Chery <nanley.g.chery@intel.com>
Fri, 20 May 2016 16:27:11 +0000 (09:27 -0700)
In the expanded field, only ASTC format enums have the MSB set to 1.
Expanding the field width makes the process of handling these formats
identical to the way other formats are handled.

Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/genxml/gen9.xml

index bc2639a..a28c3b2 100644 (file)
       <value name="SURFTYPE_NULL" value="7"/>
     </field>
     <field name="Surface Array" start="28" end="28" type="bool"/>
-    <field name="ASTC_Enable" start="27" end="27" type="bool"/>
-    <field name="Surface Format" start="18" end="26" type="uint"/>
+    <field name="Surface Format" start="18" end="27" type="uint"/>
     <field name="Surface Vertical Alignment" start="16" end="17" type="uint">
       <value name="VALIGN 4" value="1"/>
       <value name="VALIGN 8" value="2"/>