projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ed6610
)
glcpp: Add the define for ARB_explicit_attrib_location when present
author
Ian Romanick
<ian.d.romanick@intel.com>
Tue, 5 Oct 2010 23:02:38 +0000
(16:02 -0700)
committer
Ian Romanick
<ian.d.romanick@intel.com>
Fri, 8 Oct 2010 21:21:22 +0000
(14:21 -0700)
src/glsl/glcpp/glcpp-parse.y
patch
|
blob
|
history
diff --git
a/src/glsl/glcpp/glcpp-parse.y
b/src/glsl/glcpp/glcpp-parse.y
index 43513ebb66bff5ba54a1f6838d0a12a26a5e966f..b31a18f87dc0df84df8848d00108260eb67a29cd 100644
(file)
--- a/
src/glsl/glcpp/glcpp-parse.y
+++ b/
src/glsl/glcpp/glcpp-parse.y
@@
-1094,6
+1094,9
@@
glcpp_parser_create (const struct gl_extensions *extensions, int api)
if (extensions->ARB_fragment_coord_conventions)
add_builtin_define(parser, "GL_ARB_fragment_coord_conventions",
1);
+
+ if (extensions->ARB_explicit_attrib_location)
+ add_builtin_define(parser, "GL_ARB_explicit_attrib_location", 1);
}
language_version = 110;