projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8395f20
)
mesa: Add getter for GL_SHADER_COMPILER with ARB_ES2_compatibility.
author
Eric Anholt
<eric@anholt.net>
Sat, 15 Jan 2011 00:18:51 +0000
(16:18 -0800)
committer
Eric Anholt
<eric@anholt.net>
Sat, 15 Jan 2011 00:55:35 +0000
(16:55 -0800)
Fixes piglit arb_es2_compatibility-shadercompiler
src/mesa/main/get.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/get.c
b/src/mesa/main/get.c
index 7f907d6287d4b094479c32ae19dbb85a16ba9ea5..ba273cef46130f4cd2713401018746f5ac96117c 100644
(file)
--- 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,