Mesa (main): panfrost: Fix texel interleave flag on Valhall

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Feb 3 16:00:42 UTC 2022


Module: Mesa
Branch: main
Commit: 1410d150e7fb61803048d5372fcb9f771027e7d3
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1410d150e7fb61803048d5372fcb9f771027e7d3

Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Wed Feb  2 17:20:16 2022 -0500

panfrost: Fix texel interleave flag on Valhall

Interleave mode specified per-plane on Valhall. The texture descriptor proper
merely has a flag specifying whether planes are somehow interleaved
(u-interleaved, AFBC, or block compressed formats) or whether they are all
linear (and uncompressed).

Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14851>

---

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

diff --git a/src/panfrost/lib/genxml/v9.xml b/src/panfrost/lib/genxml/v9.xml
index 9922a06c61d..9dac0581b5d 100644
--- a/src/panfrost/lib/genxml/v9.xml
+++ b/src/panfrost/lib/genxml/v9.xml
@@ -808,7 +808,7 @@
     <field name="Width" size="16" start="1:0" type="uint" modifier="minus(1)"/>
     <field name="Height" size="16" start="1:16" type="uint" modifier="minus(1)"/>
     <field name="Swizzle" size="12" start="2:0" type="uint"/>
-    <field name="Texel ordering" size="4" start="2:12" type="Texture Layout"/>
+    <field name="Texel interleave" size="1" start="2:12" type="bool"/>
     <field name="Levels" size="5" start="2:16" type="uint" default="1" modifier="minus(1)"/>
     <field name="Minimum level" size="5" start="2:24" type="uint"/>
     <field name="Minimum LOD" size="13" start="3:0" type="uint" default="0"/>



More information about the mesa-commit mailing list