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

Timothy Arceri timothy.arceri at collabora.com
Fri Apr 22 04:46:42 UTC 2016


On Thu, 2016-03-31 at 09:44 -0400, Ilia Mirkin wrote:
> Presumably you also want to remove the enable from Consts.Extensions?
> (mtypes.h)

I left it there because I thought overriding would break without it
meaning people cant force enable it in compat profile. Not sure if
that's important or not.

> 
> 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_der
> > ivative_control),
> >     EXT(ARB_draw_buffers,                 true,  false,     dummy_t
> > rue),
> >     EXT(ARB_draw_instanced,               true,  false,     ARB_dra
> > w_instanced),
> > -   EXT(ARB_enhanced_layouts,             true,  false,     ARB_enh
> > anced_layouts),
> > +   EXT(ARB_enhanced_layouts,             true,  false,     dummy_t
> > rue),
> >     EXT(ARB_explicit_attrib_location,     true,  false,     ARB_exp
> > licit_attrib_location),
> >     EXT(ARB_explicit_uniform_location,    true,  false,     ARB_exp
> > licit_uniform_location),
> >     EXT(ARB_fragment_coord_conventions,   true,  false,     ARB_fra
> > gment_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
> _______________________________________________
> 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