asahi: Fix sampler filtering flag
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Sat, 24 Jul 2021 17:20:13 +0000 (13:20 -0400)
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>
Sat, 24 Jul 2021 17:56:04 +0000 (13:56 -0400)
Typo in the XML. Fixes broken filtering. Still chasing an off-by-one.

Fixes: cad54e2721d ("asahi: Add command buffer XML definitions")
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12053>

src/asahi/lib/cmdbuf.xml

index ffb8024..7b603f5 100644 (file)
 
   <struct name="Sampler" size="8">
     <field name="Unk 1" size="2" start="17" type="hex" default="3"/>
-    <field name="Magnify linear" size="1" start="19" type="bool"/>
-    <field name="Unk 2" size="2" start="23" type="hex" default="1"/>
+    <field name="Unk 2" size="1" start="19" type="bool" default="true"/>
+    <field name="Magnify linear" size="1" start="23" type="bool"/>
     <field name="Minify linear" size="1" start="25" type="bool"/>
     <field name="Mip filter" size="2" start="27" type="Mip filter"/>
     <field name="Wrap S" size="3" start="29" type="Wrap"/>