asahi: Fix sampler filtering flag

Typo in the XML. Fixes broken filtering. Still chasing an off-by-one.

Fixes: cad54e2721 ("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>
(cherry picked from commit 23f5ad668f)
This commit is contained in:
Alyssa Rosenzweig 2021-07-24 13:20:13 -04:00 committed by Dylan Baker
parent 5bd5f23579
commit cee6a91d69
2 changed files with 3 additions and 3 deletions

View file

@ -373,7 +373,7 @@
"description": "asahi: Fix sampler filtering flag",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "cad54e2721ded55c0ffa8257c943c1a3be4a8a99"
},

View file

@ -221,8 +221,8 @@
<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"/>