[Mesa-dev] [RFC 03/21] mesa/extensions: Wrap array entries in macros
Nanley Chery
nanleychery at gmail.com
Tue Oct 20 08:39:35 PDT 2015
On Tue, Oct 20, 2015 at 8:14 AM, 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.
>
I meant to look into this, but forgot. Thanks for catching this.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20151020/7943ca03/attachment.html>
More information about the mesa-dev
mailing list