Mesa (master): panfrost: Fix the Maximum anisotropy field in the XML

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Dec 21 23:01:19 UTC 2020


Module: Mesa
Branch: master
Commit: 601dfd0093b75f82b650fb324a14d3b1740a905f
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=601dfd0093b75f82b650fb324a14d3b1740a905f

Author: Icecream95 <ixn at disroot.org>
Date:   Wed Dec 16 23:50:33 2020 +1300

panfrost: Fix the Maximum anisotropy field in the XML

It needs a a minus(1) modifier.

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8149>

---

 src/panfrost/lib/midgard.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/panfrost/lib/midgard.xml b/src/panfrost/lib/midgard.xml
index 1117674bb02..ecf82fc1297 100644
--- a/src/panfrost/lib/midgard.xml
+++ b/src/panfrost/lib/midgard.xml
@@ -714,7 +714,7 @@
     <field name="Compare Function" size="3" start="1:13" type="Func" default="Never"/>
     <field name="Maximum LOD" size="13" start="1:16" type="uint" default="0"/>
     <field name="LOD bias" size="16" start="2:0" type="int" default="0"/>
-    <field name="Maximum anisotropy" size="5" start="2:16" type="uint"/>
+    <field name="Maximum anisotropy" size="5" start="2:16" type="uint" default="1" modifier="minus(1)"/>
     <field name="LOD algorithm" size="2" start="2:24" type="LOD Algorithm" default="Isotropic"/>
     <field name="Border Color R" size="32" start="4:0" type="float" default="0.0"/>
     <field name="Border Color G" size="32" start="5:0" type="float" default="0.0"/>



More information about the mesa-commit mailing list