diff options
author | Ian Romanick <[email protected]> | 2014-03-26 13:11:44 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2014-05-02 07:20:10 -0700 |
commit | 7d9adef3409583ef480d6f25014188d38e261a1e (patch) | |
tree | 3899526aab35aabd477421370c18b11b06bdddef /src/glsl/glcpp | |
parent | 507b875cf50ce1743403a084f5bc5f5fac0ca22e (diff) |
mesa: Enable GL_EXT_separate_shader_objects for OpenGL ES
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/glsl/glcpp')
-rw-r--r-- | src/glsl/glcpp/glcpp-parse.y | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/glcpp/glcpp-parse.y b/src/glsl/glcpp/glcpp-parse.y index 412d571e6eb..98875837cdd 100644 --- a/src/glsl/glcpp/glcpp-parse.y +++ b/src/glsl/glcpp/glcpp-parse.y @@ -2062,6 +2062,7 @@ _glcpp_parser_handle_version_declaration(glcpp_parser_t *parser, intmax_t versio /* Add pre-defined macros. */ if (parser->is_gles) { add_builtin_define(parser, "GL_ES", 1); + add_builtin_define(parser, "GL_EXT_separate_shader_objects", 1); if (extensions != NULL) { if (extensions->OES_EGL_image_external) |