[Piglit] [PATCH 5/6] ARB_pipeline_statistics_query (geom): basic test

Jose Fonseca jfonseca at vmware.com
Tue Nov 18 10:25:59 PST 2014


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


Jose

________________________________________
From: Piglit <piglit-bounces at lists.freedesktop.org> on behalf of Emil Velikov <emil.l.velikov at gmail.com>
Sent: 18 November 2014 17:17
To: Brian Paul; piglit at lists.freedesktop.org
Cc: emil.l.velikov at gmail.com
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 <ben at bwidawsk.net>
[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
Piglit at lists.freedesktop.org
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=


More information about the Piglit mailing list