freedreno/ir3: Add ir3 intrinsics for tessellation

These provide the iovas for system memory buffers used for
tessellation as well as a new HW specific system value.

Signed-off-by: Kristian H. Kristensen <hoegsberg@google.com>
Acked-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Rob Clark <robdclark@gmail.com>
This commit is contained in:
Kristian H. Kristensen
2019-10-22 16:33:18 -07:00
parent d6209a50bb
commit 41984c8422
7 changed files with 37 additions and 3 deletions

View File

@@ -642,11 +642,12 @@ typedef enum
SYSTEM_VALUE_BARYCENTRIC_SIZE,
/**
* IR3 specific geometry shader system value that packs invocation id,
* thread id and vertex id. Having this as a nir level system value lets
* us do the unpacking in nir.
* IR3 specific geometry shader and tesselation control shader system
* values that packs invocation id, thread id and vertex id. Having this
* as a nir level system value lets us do the unpacking in nir.
*/
SYSTEM_VALUE_GS_HEADER_IR3,
SYSTEM_VALUE_TCS_HEADER_IR3,
SYSTEM_VALUE_MAX /**< Number of values */
} gl_system_value;