[Mesa-dev] [RFC 03/21] mesa/extensions: Wrap array entries in macros

Nanley Chery nanleychery at gmail.com
Tue Oct 20 08:43:40 PDT 2015


On Tue, Oct 20, 2015 at 8:16 AM, Marek Olšák <maraeo at gmail.com> wrote:

> Also, the FIXME comment should be on its own line.
>
>
I moved it aside to make editing the table easier. However, since the
formatting of the
table is unlikely to change much after this series, I agree that I should
move it back to
its original position.

Thanks,
Nanley

Marek
>
> On Tue, Oct 20, 2015 at 5:14 PM, Marek Olšák <maraeo at gmail.com> wrote:
> > On Tue, Oct 20, 2015 at 4:31 PM, Erik Faye-Lund <kusmabite at gmail.com>
> wrote:
> >> On Tue, Oct 20, 2015 at 12:36 AM, Nanley Chery <nanleychery at gmail.com>
> wrote:
> >>> From: Nanley Chery <nanley.g.chery at intel.com>
> >>>
> >>> -   { "GL_SUN_multi_draw_arrays",                   o(dummy_true),
>                           GLL,            1999 },
> >>> +#define EXT(name_str, driver_cap, api_flags, yyyy) \
> >>> +        { .name = "GL_" #name_str, .offset = o(driver_cap), .api_set
> = api_flags, .year = yyyy},
> >>
> >> I suspect that using designated initializers will make the MSVC build
> unhappy.
> >
> > Yes, this syntax isn't allowed in core Mesa. Only drivers can use it.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20151020/6f9b8f03/attachment-0001.html>


More information about the mesa-dev mailing list