Skip to content
Snippets Groups Projects
Commit 66ef8feb authored by Matt Turner's avatar Matt Turner
Browse files

glcpp: Define GL_EXT_shader_integer_mix in both GL and ES.


Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: default avatarIan Romanick <ian.d.romanick@intel.com>
parent 73c3c7e3
No related branches found
No related tags found
No related merge requests found
......@@ -2102,9 +2102,6 @@ _glcpp_parser_handle_version_declaration(glcpp_parser_t *parser, intmax_t versio
if (extensions->ARB_sample_shading)
add_builtin_define(parser, "GL_ARB_sample_shading", 1);
if (extensions->EXT_shader_integer_mix)
add_builtin_define(parser, "GL_EXT_shader_integer_mix", 1);
if (extensions->ARB_texture_gather)
add_builtin_define(parser, "GL_ARB_texture_gather", 1);
......@@ -2119,6 +2116,11 @@ _glcpp_parser_handle_version_declaration(glcpp_parser_t *parser, intmax_t versio
}
}
if (extensions != NULL) {
if (extensions->EXT_shader_integer_mix)
add_builtin_define(parser, "GL_EXT_shader_integer_mix", 1);
}
if (version >= 150)
add_builtin_define(parser, "GL_core_profile", 1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment