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

Emil Velikov emil.l.velikov at gmail.com
Tue Nov 18 09:17:47 PST 2014


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



More information about the Piglit mailing list