From 1f4cb6d99fd6b04d192369d4bb715e7c0548dec4 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Wed, 30 Mar 2022 12:45:07 -0400 Subject: [PATCH] pan/va: Add indirect LEA_{ATTR, TEX} For parity with Bifrost. We might need these for images. Signed-off-by: Alyssa Rosenzweig Part-of: --- src/panfrost/bifrost/valhall/ISA.xml | 37 ++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/src/panfrost/bifrost/valhall/ISA.xml b/src/panfrost/bifrost/valhall/ISA.xml index e276d6311f5..b439c22a6ce 100644 --- a/src/panfrost/bifrost/valhall/ISA.xml +++ b/src/panfrost/bifrost/valhall/ISA.xml @@ -970,6 +970,22 @@ + + + Load the effective address of an attribute specified with the + given index. Returns three staging register: the low/high + 32-bits of the address and the internal conversion descriptor. + + + + + + + Vertex index + Instance index + Attribute index and table + + Load the effective address of a texel from the image specified with the @@ -992,6 +1008,27 @@ + + + Load the effective address of a texel from the image specified with the + given index. Returns three staging register: the low/high + 32-bits of the address and the internal conversion descriptor. The format + of the internal conversion descriptor is compatible with Bifrost but + omits the register format, as this is specified with the ST_CVT + instruction on Valhall. + + Coordinates are specified as 16-bit integers, packed into 32-bit sources. + + + + + + + X/Y coordinates (16:16) + Z/W coordinates (16:16) + Index and table + + Loads a buffer descriptor. If bits 25...31 of the mode descriptor are