[Mesa-dev] [PATCH V2 02/12] mesa: add ARB_enhanced_layouts

Emil Velikov emil.l.velikov at gmail.com
Tue Nov 10 04:07:44 PST 2015


On 8 November 2015 at 22:34, Timothy Arceri <t_arceri at yahoo.com.au> wrote:
> From: Timothy Arceri <timothy.arceri at collabora.com>
>
> ---
>  src/glsl/glcpp/glcpp-parse.y    | 1 +
>  src/glsl/glsl_parser_extras.cpp | 1 +
>  src/glsl/glsl_parser_extras.h   | 2 ++
>  src/mesa/main/extensions.c      | 1 +
>  src/mesa/main/mtypes.h          | 1 +
>  5 files changed, 6 insertions(+)
>
> diff --git a/src/glsl/glcpp/glcpp-parse.y b/src/glsl/glcpp/glcpp-parse.y
> index 4acccf7..6aa7abe 100644
> --- a/src/glsl/glcpp/glcpp-parse.y
> +++ b/src/glsl/glcpp/glcpp-parse.y
> @@ -2387,6 +2387,7 @@ _glcpp_parser_handle_version_declaration(glcpp_parser_t *parser, intmax_t versio
>            }
>         } else {
>            add_builtin_define(parser, "GL_ARB_draw_buffers", 1);
> +           add_builtin_define(parser, "GL_ARB_enhanced_layouts", 1);
Strictly speaking this should be guarded by a conditional. Not a big
deal though if you keep it as is - either way:

Reviewed-by: Emil Velikov <emil.velikov at collabora.co.uk>

-Emil


More information about the mesa-dev mailing list