[Mesa-dev] [PATCH 26/27] glsl: always enable ARB_enhanced_layouts in Core Profile

Ilia Mirkin imirkin at alum.mit.edu
Thu Mar 31 13:44:06 UTC 2016


Presumably you also want to remove the enable from Consts.Extensions? (mtypes.h)

On Thu, Mar 31, 2016 at 6:58 AM, Timothy Arceri
<timothy.arceri at collabora.com> wrote:
> ---
>  src/compiler/glsl/glsl_parser_extras.cpp | 2 +-
>  src/mesa/main/extensions_table.h         | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/compiler/glsl/glsl_parser_extras.cpp b/src/compiler/glsl/glsl_parser_extras.cpp
> index 0ce89ce..576ce73 100644
> --- a/src/compiler/glsl/glsl_parser_extras.cpp
> +++ b/src/compiler/glsl/glsl_parser_extras.cpp
> @@ -568,7 +568,7 @@ static const _mesa_glsl_extension _mesa_glsl_supported_extensions[] = {
>     EXT(ARB_derivative_control,           true,  false,     ARB_derivative_control),
>     EXT(ARB_draw_buffers,                 true,  false,     dummy_true),
>     EXT(ARB_draw_instanced,               true,  false,     ARB_draw_instanced),
> -   EXT(ARB_enhanced_layouts,             true,  false,     ARB_enhanced_layouts),
> +   EXT(ARB_enhanced_layouts,             true,  false,     dummy_true),
>     EXT(ARB_explicit_attrib_location,     true,  false,     ARB_explicit_attrib_location),
>     EXT(ARB_explicit_uniform_location,    true,  false,     ARB_explicit_uniform_location),
>     EXT(ARB_fragment_coord_conventions,   true,  false,     ARB_fragment_coord_conventions),
> diff --git a/src/mesa/main/extensions_table.h b/src/mesa/main/extensions_table.h
> index 7885aef..97d508e 100644
> --- a/src/mesa/main/extensions_table.h
> +++ b/src/mesa/main/extensions_table.h
> @@ -53,7 +53,7 @@ EXT(ARB_draw_buffers_blend                  , ARB_draw_buffers_blend
>  EXT(ARB_draw_elements_base_vertex           , ARB_draw_elements_base_vertex          , GLL, GLC,  x ,  x , 2009)
>  EXT(ARB_draw_indirect                       , ARB_draw_indirect                      ,  x , GLC,  x ,  x , 2010)
>  EXT(ARB_draw_instanced                      , ARB_draw_instanced                     , GLL, GLC,  x ,  x , 2008)
> -EXT(ARB_enhanced_layouts                    , ARB_enhanced_layouts                   ,  x , GLC,  x ,  x , 2013)
> +EXT(ARB_enhanced_layouts                    , dummy_true                             ,  x , GLC,  x ,  x , 2013)
>  EXT(ARB_explicit_attrib_location            , ARB_explicit_attrib_location           , GLL, GLC,  x ,  x , 2009)
>  EXT(ARB_explicit_uniform_location           , ARB_explicit_uniform_location          , GLL, GLC,  x ,  x , 2012)
>  EXT(ARB_fragment_coord_conventions          , ARB_fragment_coord_conventions         , GLL, GLC,  x ,  x , 2009)
> --
> 2.5.5
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list