From: Ilia Mirkin Date: Wed, 30 Dec 2015 23:47:18 +0000 (-0500) Subject: glsl: add GL_ARB_shader_draw_parameters define X-Git-Tag: upstream/17.1.0~13514 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5ac15f788be10999e06cfc0261fd61ab67e3da9c;p=platform%2Fupstream%2Fmesa.git glsl: add GL_ARB_shader_draw_parameters define Signed-off-by: Ilia Mirkin Reviewed-by: Timothy Arceri --- diff --git a/src/glsl/glcpp/glcpp-parse.y b/src/glsl/glcpp/glcpp-parse.y index 2fd4cf0..ef1a657 100644 --- a/src/glsl/glcpp/glcpp-parse.y +++ b/src/glsl/glcpp/glcpp-parse.y @@ -2506,6 +2506,9 @@ _glcpp_parser_handle_version_declaration(glcpp_parser_t *parser, intmax_t versio if (extensions->ARB_shader_subroutine) add_builtin_define(parser, "GL_ARB_shader_subroutine", 1); + + if (extensions->ARB_shader_draw_parameters) + add_builtin_define(parser, "GL_ARB_shader_draw_parameters", 1); } }