pan/va: Make LD_VAR index more fine-grained
authorAlyssa Rosenzweig <alyssa@collabora.com>
Sun, 5 Dec 2021 01:26:48 +0000 (20:26 -0500)
committerMarge Bot <emma+marge@anholt.net>
Mon, 6 Dec 2021 23:06:59 +0000 (23:06 +0000)
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@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14065>

src/panfrost/bifrost/valhall/ISA.xml

index 5b5229d..fd81149 100644 (file)
     <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">