[Mesa-dev] [PATCH mesa] mesa/format_info: use designated initialiser list

Eric Engestrom eric.engestrom at imgtec.com
Tue Jun 20 15:19:02 UTC 2017


On Tuesday, 2017-06-20 08:24:42 -0600, 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.

Is that a Tested-by: Brian Paul <brianp at vmware.com> ? :)

I'll push it in a hour or two.


More information about the mesa-dev mailing list