summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2014-06-20 16:11:50 -0700
committerKenneth Graunke <kenneth@whitecape.org>2014-09-10 11:04:50 -0700
commit1e87fbd78f15f262b3dd2cbc16099e9f484c42a0 (patch)
treeb5042e9f6e4c71ce16e1f20ba027979d9a13d542 /src/mesa/state_tracker
parent5964a4f344fa4fd631bcccf67c065b9e66b94108 (diff)
mesa: Add SYSTEM_VALUE_BASE_VERTEX
This system value represents the basevertex value passed to glDrawElementsBaseVertex and related functions. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r--src/mesa/state_tracker/st_glsl_to_tgsi.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
index 18354605f8f..7c2f0fca03c 100644
--- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
+++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
@@ -4168,6 +4168,7 @@ const unsigned _mesa_sysval_to_semantic[SYSTEM_VALUE_MAX] = {
TGSI_SEMANTIC_VERTEXID,
TGSI_SEMANTIC_INSTANCEID,
0,
+ 0,
/* Geometry shader
*/