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

Author: Italo Nicola <[email protected]>
Date:   Thu Jun 22 10:43:39 2023 +0000

panfrost/genxml: fix Surface With Stride descriptor alignment

Reviewed-by: Alyssa Rosenzweig <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21109>

---

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

diff --git a/src/panfrost/lib/genxml/v7.xml b/src/panfrost/lib/genxml/v7.xml
index 5920ddd8b9f..905ee2d30fe 100644
--- a/src/panfrost/lib/genxml/v7.xml
+++ b/src/panfrost/lib/genxml/v7.xml
@@ -677,7 +677,7 @@
     <field name="Pointer" size="64" start="0:0" type="address"/>
   </struct>
 
-  <struct name="Surface With Stride" align="8">
+  <struct name="Surface With Stride" align="16">
     <field name="Pointer" size="64" start="0:0" type="address"/>
     <field name="Row stride" size="32" start="2:0" type="int"/>
     <field name="Surface stride" size="32" start="3:0" type="int"/>

Reply via email to