<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [BYT IVB] Tesselation test regressions"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=108868#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [BYT IVB] Tesselation test regressions"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=108868">bug 108868</a>
              from <span class="vcard"><a class="email" href="mailto:kusmabite@gmail.com" title="Erik Faye-Lund <kusmabite@gmail.com>"> <span class="fn">Erik Faye-Lund</span></a>
</span></b>
        <pre>Yikes. Sorry about this. It looks like I missed a condition for allowing this
enum:

---8<---
diff --git a/src/mesa/main/queryobj.c b/src/mesa/main/queryobj.c
index af558f0e227..67d1f76a21a 100644
--- a/src/mesa/main/queryobj.c
+++ b/src/mesa/main/queryobj.c
@@ -190,6 +190,7 @@ get_query_binding_point(struct gl_context *ctx, GLenum
target, GLuint index)
          return NULL;
    case GL_PRIMITIVES_GENERATED:
       if (_mesa_has_EXT_transform_feedback(ctx) ||
+          _mesa_has_EXT_tessellation_shader(ctx) ||
           _mesa_has_OES_geometry_shader(ctx))
          return &ctx->Query.PrimitivesGenerated[index];
       else
---8<---

I can't test this myself, because I only have a Gen8 GPU. But since
OES_geometry_shader isn't enabled on older intel generations, this would
explain the problem. Would it be possible for someone at Intel to test my
patch?</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>