From: Eric Anholt Date: Sat, 15 Jan 2011 00:18:51 +0000 (-0800) Subject: mesa: Add getter for GL_SHADER_COMPILER with ARB_ES2_compatibility. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4620de7eeae18f313436936088d235a99b7bc11d;p=mesa.git mesa: Add getter for GL_SHADER_COMPILER with ARB_ES2_compatibility. Fixes piglit arb_es2_compatibility-shadercompiler --- diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c index 7f907d6287d..ba273cef461 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,