summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2011-01-14 16:18:51 -0800
committerEric Anholt <eric@anholt.net>2011-01-14 16:55:35 -0800
commit4620de7eeae18f313436936088d235a99b7bc11d (patch)
treef6e16951d929cf692620cf4ceb77a4974ce9e36b /src/mesa
parent8395f206a86b3700fc5f8eefc4d9b55e7e150d25 (diff)
mesa: Add getter for GL_SHADER_COMPILER with ARB_ES2_compatibility.
Fixes piglit arb_es2_compatibility-shadercompiler
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/get.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c
index 7f907d6287..ba273cef46 100644
--- a/src/mesa/main/get.c
+++ b/src/mesa/main/get.c
@@ -589,6 +589,7 @@ static const struct value_desc values[] = {
LOC_CUSTOM, TYPE_BOOLEAN, offsetof(struct gl_client_array, Stride), NO_EXTRA },
/* GL_ARB_ES2_compatibility */
+ { GL_SHADER_COMPILER, CONST(1), extra_ARB_ES2_compatibility },
{ GL_MAX_VARYING_VECTORS, CONTEXT_INT(Const.MaxVarying),
extra_ARB_ES2_compatibility },
{ GL_MAX_VERTEX_UNIFORM_VECTORS, LOC_CUSTOM, TYPE_INT, 0,