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


_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to