You're sure? I thought that MSVC 2013 only had _library_ support for C99, but I 
confess I haven't tested..


Jose

________________________________________
From: Piglit <[email protected]> on behalf of Emil Velikov 
<[email protected]>
Sent: 18 November 2014 17:17
To: Brian Paul; [email protected]
Cc: [email protected]
Subject: Re: [Piglit] [PATCH 5/6] ARB_pipeline_statistics_query (geom): basic 
test

On 18/11/14 15:14, Brian Paul wrote:
> On 11/17/2014 05:00 PM, Ben Widawsky wrote:
>> Signed-off-by: Ben Widawsky <[email protected]>
[snip]
>> +static struct query queries[] = {
>> +    {
>> +     .query = GL_GEOMETRY_SHADER_INVOCATIONS,
>> +     .name = "GL_GEOMETRY_SHADER_INVOCATIONS",
>> +     .expected = NUM_PRIMS},
>> +    {
>> +     .query = GL_GEOMETRY_SHADER_PRIMITIVES_EMITTED_ARB,
>> +     .name = "GL_GEOMETRY_SHADER_PRIMITIVES_EMITTED_ARB",
>> +     .expected = NUM_PRIMS}
>
> Unless MSVC 2013 added support for named initializers, this won't
> compile there.
>
MSVC 2013 has support for named initialisers. We should be safe here.

-Emil

_______________________________________________
Piglit mailing list
[email protected]
https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.freedesktop.org_mailman_listinfo_piglit&d=AAIGaQ&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=zfmBZnnVGHeYde45pMKNnVyzeaZbdIqVLprmZCM2zzE&m=NCgOo9oLZHwfeq4zQW6_WaeMk9HJ_C_DIa4ALZKrbtc&s=Uez3tmRkauv0Nn3BVSeoh_W7ZaoMa2s5IeeKun_CP0w&e=
_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to