[Mesa-dev] [PATCH 1/2] mesa/extensions: Sort the extension table alphabetically
Nanley Chery
nanleychery at gmail.com
Wed Nov 18 17:59:20 PST 2015
On Wed, Nov 18, 2015 at 3:47 PM, Matt Turner <mattst88 at gmail.com> wrote:
>
> On Wed, Nov 18, 2015 at 3:01 PM, Nanley Chery <nanleychery at gmail.com>
wrote:
> > From: Nanley Chery <nanley.g.chery at intel.com>
> >
> > Make it easier to determine where to add new extensions.
> > Performed with the vim sort command.
>
> Well, I think I'm obligated to review such a patch :)
>
Glad to get your review. It was inspired by your earlier review feedback
after all.
>
> > Signed-off-by: Nanley Chery <nanley.g.chery at intel.com>
> > ---
> > src/mesa/main/extensions_table.h | 173
+++++++++++++++++++++------------------
> > 1 file changed, 92 insertions(+), 81 deletions(-)
> >
> > diff --git a/src/mesa/main/extensions_table.h
b/src/mesa/main/extensions_table.h
> > index d12fd9f..4b42863 100644
> > --- a/src/mesa/main/extensions_table.h
> > +++ b/src/mesa/main/extensions_table.h
> > @@ -1,8 +1,30 @@
> > +/* The extension table is alphabetically sorted by the extension name
string column. */
> > +
> > #define GLL 0
> > #define GLC 0
> > #define ES1 0
> > #define ES2 0
> > #define x ~0
>
> I'd probably put a blank line between the last #define and the first
EXT(...)
>
Sure, I'll include one.
>
> I trust sort, so
>
> Reviewed-by: Matt Turner <mattst88 at gmail.com>
>
>
> > +EXT(3DFX_texture_compression_FXT1 ,
TDFX_texture_compression_FXT1 , GLL, GLC, x , x , 1999)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20151118/c4303440/attachment.html>
More information about the mesa-dev
mailing list