summaryrefslogtreecommitdiffstats
path: root/src/gallium/include
diff options
context:
space:
mode:
authorIlia Mirkin <imirkin@alum.mit.edu>2015-12-29 16:37:19 -0500
committerIlia Mirkin <imirkin@alum.mit.edu>2015-12-30 16:55:56 -0500
commitbb52ea45cc731d4580d8a6c90f604023dc04ddcc (patch)
tree7afedc5f00a2b4004862ca77e20e628c481d91e0 /src/gallium/include
parentd50e6128b815595f7918d6818e8a9cd20d53efd1 (diff)
downloadexternal_mesa3d-bb52ea45cc731d4580d8a6c90f604023dc04ddcc.zip
external_mesa3d-bb52ea45cc731d4580d8a6c90f604023dc04ddcc.tar.gz
external_mesa3d-bb52ea45cc731d4580d8a6c90f604023dc04ddcc.tar.bz2
gallium: add baseinstance/drawid semantics
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Diffstat (limited to 'src/gallium/include')
-rw-r--r--src/gallium/include/pipe/p_shader_tokens.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/include/pipe/p_shader_tokens.h b/src/gallium/include/pipe/p_shader_tokens.h
index a3137ae..e8f4ad2 100644
--- a/src/gallium/include/pipe/p_shader_tokens.h
+++ b/src/gallium/include/pipe/p_shader_tokens.h
@@ -186,7 +186,9 @@ struct tgsi_declaration_interp
#define TGSI_SEMANTIC_TESSINNER 33 /**< inner tessellation levels */
#define TGSI_SEMANTIC_VERTICESIN 34 /**< number of input vertices */
#define TGSI_SEMANTIC_HELPER_INVOCATION 35 /**< current invocation is helper */
-#define TGSI_SEMANTIC_COUNT 36 /**< number of semantic values */
+#define TGSI_SEMANTIC_BASEINSTANCE 36
+#define TGSI_SEMANTIC_DRAWID 37
+#define TGSI_SEMANTIC_COUNT 38 /**< number of semantic values */
struct tgsi_declaration_semantic
{