summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2011-01-14 16:18:51 -0800
committerIan Romanick <ian.d.romanick@intel.com>2011-02-28 13:55:35 -0800
commitd3c1fb7775f47965e066796486b2f5d8acec7d7a (patch)
treefdb1cc835fe707a494e2d7dec5e294112de435ce /src
parent6428ca32c0e80ec75c74e58dc2cebf827a00f55a (diff)
mesa: Add getter for GL_SHADER_COMPILER with ARB_ES2_compatibility.
Fixes piglit arb_es2_compatibility-shadercompiler (cherry picked from commit 4620de7eeae18f313436936088d235a99b7bc11d)
Diffstat (limited to 'src')
-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 57803be2ba..f6a0b1d89d 100644
--- a/src/mesa/main/get.c
+++ b/src/mesa/main/get.c
@@ -588,6 +588,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,