pan/va: Fix MKVEC.v2i16 lane select

The lanes are at bit 28 and bit 26 respectively. This matches the 16-bit "swizzle" encoding. In general the handling of widens/swizzles/lane/lanes on Valhall is rather confused but... one problem at a time.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14833>
This commit is contained in:
Alyssa Rosenzweig 2022-01-29 10:51:06 -05:00 committed by Marge Bot
parent a95ca2402c
commit 46cd0ddcb6
1 changed files with 2 additions and 2 deletions

View File

@ -1456,8 +1456,8 @@
<ins name="MKVEC.v2i16" title="Make 16-bit vector" dests="1" opcode="0xA1" opcode2="0x5" unit="CVT">
<desc>Calculates $A | (B \ll 16)$. Used to implement `(ushort2)(A, B)`</desc>
<src widen="true">A</src>
<src widen="true">B</src>
<src swizzle="true">A</src>
<src swizzle="true">B</src>
</ins>
<group name="ISUB" title="Integer subtract" dests="1" opcode2="1" unit="CVT">