Mesa (master): glcpp: Add the define for ARB_explicit_attrib_location when present
Ian Romanick
idr at kemper.freedesktop.org
Fri Oct 8 21:24:59 UTC 2010
Module: Mesa
Branch: master
Commit: e0c9f67be5c47273416a50e011f70aa9e2021a65
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e0c9f67be5c47273416a50e011f70aa9e2021a65
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Oct 5 16:02:38 2010 -0700
glcpp: Add the define for ARB_explicit_attrib_location when present
---
src/glsl/glcpp/glcpp-parse.y | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/glsl/glcpp/glcpp-parse.y b/src/glsl/glcpp/glcpp-parse.y
index 43513eb..b31a18f 100644
--- 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;
More information about the mesa-commit
mailing list