Mesa (7.10): mesa: Add getter for GL_SHADER_COMPILER with ARB_ES2_compatibility.
Ian Romanick
idr at kemper.freedesktop.org
Mon Feb 28 22:27:45 UTC 2011
Module: Mesa
Branch: 7.10
Commit: d3c1fb7775f47965e066796486b2f5d8acec7d7a
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d3c1fb7775f47965e066796486b2f5d8acec7d7a
Author: Eric Anholt <eric at anholt.net>
Date: Fri Jan 14 16:18:51 2011 -0800
mesa: Add getter for GL_SHADER_COMPILER with ARB_ES2_compatibility.
Fixes piglit arb_es2_compatibility-shadercompiler
(cherry picked from commit 4620de7eeae18f313436936088d235a99b7bc11d)
---
src/mesa/main/get.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c
index 57803be..f6a0b1d 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,
More information about the mesa-commit
mailing list