summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2013-09-05 15:38:42 +0200
committerMarek Olšák <[email protected]>2013-09-13 01:08:03 +0200
commit9c75d2f65b5cb18a25c95fb139361402d17db807 (patch)
tree0a00920e17fbfc9108e0c1c2408e66e49fd84200
parent122a880b7823fb328ad2b483ec9ac264e932fd7f (diff)
gallium: comment that INSTANCEID doesn't include start_instance
Reviewed-by: Christian König <[email protected]>
-rw-r--r--src/gallium/include/pipe/p_shader_tokens.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/include/pipe/p_shader_tokens.h b/src/gallium/include/pipe/p_shader_tokens.h
index 872dfe911ed..1beec054c1b 100644
--- a/src/gallium/include/pipe/p_shader_tokens.h
+++ b/src/gallium/include/pipe/p_shader_tokens.h
@@ -153,7 +153,7 @@ struct tgsi_declaration_interp
#define TGSI_SEMANTIC_FACE 7
#define TGSI_SEMANTIC_EDGEFLAG 8
#define TGSI_SEMANTIC_PRIMID 9
-#define TGSI_SEMANTIC_INSTANCEID 10
+#define TGSI_SEMANTIC_INSTANCEID 10 /**< doesn't include start_instance */
#define TGSI_SEMANTIC_VERTEXID 11
#define TGSI_SEMANTIC_STENCIL 12
#define TGSI_SEMANTIC_CLIPDIST 13