summaryrefslogtreecommitdiffstats
path: root/src/compiler/shader_enums.h
diff options
context:
space:
mode:
authorKristian H. Kristensen <[email protected]>2019-10-22 16:33:18 -0700
committerKristian H. Kristensen <[email protected]>2019-11-07 16:36:50 -0800
commit41984c84227a37b6836a57a39348c70b49457212 (patch)
tree46e66b98f10d0932622ca045af761f5d328ea480 /src/compiler/shader_enums.h
parentd6209a50bb13a40c0823f4c53eb1566328ba6630 (diff)
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 <[email protected]> Acked-by: Eric Anholt <[email protected]> Reviewed-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/compiler/shader_enums.h')
-rw-r--r--src/compiler/shader_enums.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/compiler/shader_enums.h b/src/compiler/shader_enums.h
index f9b2b8c1d73..07f96f3733c 100644
--- a/src/compiler/shader_enums.h
+++ b/src/compiler/shader_enums.h
@@ -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;