Mesa (main): pan/va: Make LD_VAR index more fine-grained

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Dec 6 23:24:25 UTC 2021


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

Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Sat Dec  4 20:26:48 2021 -0500

pan/va: Make LD_VAR index more fine-grained

Index in bytes instead of vec4s, since varyings on Valhall are no longer
vec4 based like on previous Malis.

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

---

 src/panfrost/bifrost/valhall/ISA.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/panfrost/bifrost/valhall/ISA.xml b/src/panfrost/bifrost/valhall/ISA.xml
index 5b5229df17a..fd811496e6d 100644
--- a/src/panfrost/bifrost/valhall/ISA.xml
+++ b/src/panfrost/bifrost/valhall/ISA.xml
@@ -705,7 +705,7 @@
     <slot/>
     <src/>
     <src/>
-    <imm name="index" start="20" size="4"/>
+    <imm name="index" start="16" size="8"/>
   </group>
 
   <ins name="LD_ATTR_IMM" title="Load immediate attribute" opcode="0x66" unit="LS">



More information about the mesa-commit mailing list