[Mesa-dev] [PATCH 1/2] mesa/extensions: Sort the extension table alphabetically

Matt Turner mattst88 at gmail.com
Wed Nov 18 18:15:31 PST 2015


On Wed, Nov 18, 2015 at 6:07 PM, Ian Romanick <idr at freedesktop.org> wrote:
> On 11/18/2015 03:01 PM, Nanley Chery 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.
>
> Uh... no, please.  Extensions should be sorted in each group, but what
> is wrong with the old group ordering?  ARB, KHR, OES, EXT, then vendors.

There's nothing wrong with it other than it's not possible to ensure
people get it right (see this patch). By actually alphabetizing the
list, we can programmatically check that things are ordered properly
(see patch 2/2).

I don't see a problem with reordering the groups... that doesn't make
anything harder.


More information about the mesa-dev mailing list