[Mesa-dev] [PATCH mesa] mesa/format_info: use designated initialiser list
Brian Paul
brianp at vmware.com
Tue Jun 20 14:24:42 UTC 2017
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.
-Brian
More information about the mesa-dev
mailing list