diff options
author | Ryan Houdek <[email protected]> | 2015-11-05 20:44:03 -0600 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2015-11-19 11:39:51 -0500 |
commit | ef9e6d1ec8389f800d22c0dd091efb30f189fa45 (patch) | |
tree | 018e40690c038eb7318484e742c0590750a466ee | |
parent | 1d1d02f2ac69475da112a6aadfa7c161b13ff4da (diff) |
glsl: add GL_EXT_blend_func_extended preprocessor define
Reviewed-by: Ian Romanick <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
-rw-r--r-- | src/glsl/glcpp/glcpp-parse.y | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glsl/glcpp/glcpp-parse.y b/src/glsl/glcpp/glcpp-parse.y index 6aa7abec00e..ab5ec8450b9 100644 --- a/src/glsl/glcpp/glcpp-parse.y +++ b/src/glsl/glcpp/glcpp-parse.y @@ -2384,6 +2384,8 @@ _glcpp_parser_handle_version_declaration(glcpp_parser_t *parser, intmax_t versio add_builtin_define(parser, "GL_OES_standard_derivatives", 1); if (extensions->ARB_texture_multisample) add_builtin_define(parser, "GL_OES_texture_storage_multisample_2d_array", 1); + if (extensions->ARB_blend_func_extended) + add_builtin_define(parser, "GL_EXT_blend_func_extended", 1); } } else { add_builtin_define(parser, "GL_ARB_draw_buffers", 1); |