[Mesa-dev] [PATCH] mesa/extensions: Document the extensions table
Nanley Chery
nanleychery at gmail.com
Wed Nov 18 14:39:58 PST 2015
On Wed, Nov 18, 2015 at 12:33 PM, Emil Velikov <emil.l.velikov at gmail.com>
wrote:
> Hi Nanley,
>
> On 18 November 2015 at 20:29, Nanley Chery <nanleychery at gmail.com> wrote:
> > From: Nanley Chery <nanley.g.chery at intel.com>
> >
> > Help developers understand the table's organization.
> >
> > Suggested-by: Jason Ekstrand <jason at jlekstrand.net>
> > Signed-off-by: Nanley Chery <nanley.g.chery at intel.com>
> Can you bring back the comments that were in here, please. They might
> have cause issues with sed prior but things should be fine now. Also
> move the existing FIXME as originally, as mentioned by Marek and
> myself.
>
>
There's one more organizational change that's possible - sorting the table
alphabetically. The original comments would probably be unnecessary if we
choose to perform that change.
When first adding ASTC to the table, I did not place the extensions in the
right rows partly because the existing alphabetical sorting was
inconsistent. By completely sorting the table it becomes a easier to
determine where to place new extensions.
If the sorted order is checked with a gtest, it would then be possible to
know if the table is sorted and, if desired, perform a bsearch on the
table. I'll send out a patch to test interest on this. I have a wip branch
that does what I've described (minus the bsearch) :
http://cgit.freedesktop.org/~nchery/mesa/log/?h=ext_sort
Wrt to the FIXME, I was confused by your original comment and thought that
you actually wanted the FIXME on the same line as the extension. Hence, my
comment about there being no unanimous opinion on the change. I wasn't sure
what action to take in the midst of the perceived disagreement, but now
that I understand your comment, I'll send out the patch for it.
Regards,
Nanley
> Thanks
> Emil
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20151118/6bd5a057/attachment.html>
More information about the mesa-dev
mailing list