[Bug 89210] GS statistics fail on SNB

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Feb 19 14:29:56 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=89210

--- Comment #9 from Ben Widawsky <ben at bwidawsk.net> ---
Hmm. Is this going to work for points and linestrips? Care to give it a shot?

diff --git a/tests/spec/arb_pipeline_statistics_query/pipeline_stats_geom.c
b/tests/spec/arb_pipeline_statistics_query/pipeline_stats_geom.c
index 30d4bf0..bac1eec 100644
--- a/tests/spec/arb_pipeline_statistics_query/pipeline_stats_geom.c
+++ b/tests/spec/arb_pipeline_statistics_query/pipeline_stats_geom.c
@@ -70,7 +70,7 @@ const char *vs_src =
 const char *gs_src =
        "#version 150                                   \n"
        "layout(triangles) in;                          \n"
-       "layout(triangle_strip, max_vertices = 6) out;  \n"
+       "layout(points, max_vertices = 6) out;  \n"
        "in vec4 vertex_to_gs[3];                       \n"
        "void main()                                    \n"
        "{                                              \n"
@@ -104,8 +104,8 @@ static struct query queries[] = {
        {
         .query = GL_GEOMETRY_SHADER_PRIMITIVES_EMITTED_ARB,
         .name = "GL_GEOMETRY_SHADER_PRIMITIVES_EMITTED_ARB",
-        .min = NUM_PRIMS * 4,
-        .max = NUM_PRIMS * 4}
+        .min = NUM_PRIMS * 6,
+        .max = NUM_PRIMS * 6}
 };

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20150219/31e3729c/attachment.html>


More information about the intel-3d-bugs mailing list