pan/va: Add LEA_ATTR_IMM instruction

Encoded like LEA_TEX_IMM.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15461>
This commit is contained in:
Alyssa Rosenzweig 2022-03-17 16:06:15 -04:00 committed by Marge Bot
parent 459c6ac23f
commit 263c5ef194
1 changed files with 17 additions and 0 deletions

View File

@ -850,6 +850,23 @@
<imm name="table" start="16" size="4"/>
</ins>
<ins name="LEA_ATTR_IMM" title="Load effective address of image texel" opcode="0x67" opcode2="0" unit="LS">
<desc>
Load the effective address of an attribute specified with the
given immediate index. Returns three staging register: the low/high
32-bits of the address and the internal conversion descriptor.
</desc>
<vecsize/>
<slot/>
<sr_count/>
<mod name="descriptor_type" start="128" size="1" implied="true"/>
<sr write="true"/>
<src>Vertex index</src>
<src>Instance index</src>
<imm name="table" start="16" size="4"/>
<imm name="index" start="20" size="4"/>
</ins>
<ins name="LEA_TEX_IMM" title="Load effective address of image texel" opcode="0x67" opcode2="1" unit="LS">
<desc>
Load the effective address of a texel from the image specified with the