panfrost: Correct ASTC decode mode XML
authorAlyssa Rosenzweig <alyssa@collabora.com>
Sun, 13 Mar 2022 22:25:30 +0000 (18:25 -0400)
committerMarge Bot <emma+marge@anholt.net>
Fri, 18 Mar 2022 18:52:05 +0000 (18:52 +0000)
The narrow/wide bit was backwards.

Fixes: bfba7533c7a ("panfrost: Add Valhall Plane Descriptor XML")
Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15461>

src/panfrost/lib/genxml/v9.xml

index dcb7f29..da736a0 100644 (file)
   </struct>
 
   <struct name="Plane ASTC Overlay" size="8">
-    <field name="Decode Narrow" size="1" start="24" type="bool"/>
-    <field name="Decode HDR" size="1" start="25" type="bool"/>
+    <field name="Decode HDR" size="1" start="24" type="bool"/>
+    <field name="Decode Wide" size="1" start="25" type="bool"/>
 
     <field name="2D" size="32" start="0" type="Plane ASTC 2D Overlay"/>
     <field name="3D" size="32" start="0" type="Plane ASTC 3D Overlay"/>