<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Calling glClear while there is a while there is an occlusion query in progress messes up the results"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=88248">88248</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Calling glClear while there is a while there is an occlusion query in progress messes up the results
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Drivers/DRI/i965
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>idr@freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>neil@linux.intel.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-3d-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>If any meta operations are used while an occlusion query is in progress (such
as by calling glClear) then the results aren't saved and restored correctly so
the final value is wrong. I posted a patch for this a while ago and I'm opening
a bug so we don't forget about it.

<a href="http://patchwork.freedesktop.org/patch/37605/">http://patchwork.freedesktop.org/patch/37605/</a>

There is also a piglit test for it which I pushed to master

<a href="http://cgit.freedesktop.org/piglit/commit/?id=3f6ee9d53c89c305d4b41f30c7c0dc">http://cgit.freedesktop.org/piglit/commit/?id=3f6ee9d53c89c305d4b41f30c7c0dc</a></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>