[Mesa-dev] [PATCH mesa] mesa/format_info: use designated initialiser list
Eric Engestrom
eric.engestrom at imgtec.com
Tue Jun 20 17:03:07 UTC 2017
On Tuesday, 2017-06-20 09:47:30 -0700, Ian Romanick wrote:
> On 06/20/2017 07:24 AM, Brian Paul wrote:
> > On 06/19/2017 03:39 PM, Ian Romanick wrote:
> >> On 06/19/2017 04:01 AM, Eric Engestrom wrote:
> >>> Also, make that table const, since no-one is supposed to modify it
> >>> anyway.
> >>
> >> I certainly like this, but I'm not sure we can use designated
> >> initializers in common Mesa code due to MSVC. Brian?
> >
> > They should be fine now. I just did a quick test and both array
> > initializers and named struct field initializers work.
>
> In that case, this patch is
>
> Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
Thanks, pushed with Emil's r-b as well.
More information about the mesa-dev
mailing list