diff options
author | Ian Romanick <[email protected]> | 2010-10-05 16:02:38 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2010-10-08 14:21:22 -0700 |
commit | e0c9f67be5c47273416a50e011f70aa9e2021a65 (patch) | |
tree | 214ebd4801a2e1e49e8e744c9bf5bd42ef23a1f0 | |
parent | 5ed6610d11cb3a28420e11adb072131fb9dcdfdb (diff) |
glcpp: Add the define for ARB_explicit_attrib_location when present
-rw-r--r-- | 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 43513ebb66b..b31a18f87dc 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; |