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

Emil Velikov emil.l.velikov at gmail.com
Tue Jun 20 07:05:47 UTC 2017


On 19 June 2017 at 22:39, Ian Romanick <idr at freedesktop.org> 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?
>
Should be perfectly fine as of commit
1cadfe08c4109d2c117cbae2c82edee1293a8016 when the VMWare switched away
from MSVC2008 to MSVC 2013 or later. Latter having almost complete C99
support - see commit for details.
If in doubt I suggest running through Appveyor - seems happy [1].

Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
-Emil

[1] https://ci.appveyor.com/project/evelikov/mesa-4up2g/build/174


More information about the mesa-dev mailing list