From 4620de7eeae18f313436936088d235a99b7bc11d Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 14 Jan 2011 16:18:51 -0800 Subject: [PATCH] mesa: Add getter for GL_SHADER_COMPILER with ARB_ES2_compatibility. Fixes piglit arb_es2_compatibility-shadercompiler --- src/mesa/main/get.c | 1 + 1 file changed, 1 insertion(+) 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, -- 2.30.2