[Mesa-dev] [PATCH mesa] mesa/format_info: use designated initialiser list
Ian Romanick
idr at freedesktop.org
Tue Jun 20 16:47:30 UTC 2017
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>
> -Brian
More information about the mesa-dev
mailing list