<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>high
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [i965 Bisected]Piglit spec/EXT_transform_feedback/generatemipmap prims_generated fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=80780">80780</a>
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>itoral@igalia.com
          </td>
        </tr>

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

        <tr>
          <th>Summary</th>
          <td>[i965 Bisected]Piglit spec/EXT_transform_feedback/generatemipmap prims_generated fails
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-3d-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>major
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>huax.lu@intel.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

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

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr></table>
      <p>
        <div>
        <pre>System Environment:
--------------------------
Platform: Haswell
Libdrm:       
(master)libdrm-2.4.54-17-ge8c3c1358ecaf4e90f7d43762357ae6f8e2022b6
Mesa:        (master)1bfc0a11027449ae7ab7c28eb695f26de530eccf
Xserver:(master)xorg-server-1.15.99.902-121-g2f5cf9ff9a0f713b7e038636484c77f113a5f10a
Xf86_video_intel:(master)2.99.912-200-ge6e5330857097eb2caafa89d571d12e4bb15f539
Libva:        (master)c61d8c6ce9ffc27320e9e177c1e1123d5f1b5014
Libva_intel_driver:(master)c5cb17ea86f0065a939d3636dd26651c93d497c8
Kernel:    (drm-intel-nightly)a7665faa31dbbbae25e376508a9b3781e25d09e2

Bug detailed description:
-----------------------------
It fails on i965 platforms with mesa master branch, works well on 10.2 branch.

Bisect shows: 3178d2474ae5bdd1102fb3d76a60d1d63c961ff5 is the first bad commit.
commit 3178d2474ae5bdd1102fb3d76a60d1d63c961ff5
Author:     Iago Toral Quiroga <<a href="mailto:itoral@igalia.com">itoral@igalia.com</a>>
AuthorDate: Tue Jun 17 13:45:18 2014 +0200
Commit:     Iago Toral Quiroga <<a href="mailto:itoral@igalia.com">itoral@igalia.com</a>>
CommitDate: Mon Jun 30 08:08:50 2014 +0200

    i965: Implement GL_PRIMITIVES_GENERATED with non-zero streams.

    So far we have been using CL_INVOCATION_COUNT to resolve this query but
this
    is no good with streams, as only stream 0 reaches the clipping stage.
Instea
    we will use SO_PRIM_STORAGE_NEEDED which can keep track of the primitives
se
    to each individual stream.

    Since SO_PRIM_STORAGE_NEEDED is related to the SOL stage and according to
    ARB_transform_feedback3 we need to be able to query primitives generated in
    each stream whether transform feedback is active or not what we do is to
    enable the SOL unit even if transform feedback is not active but disable
all
    output buffers in that case. This effectively disables transform feedback
    but permits activation of statistics enabling SO_PRIM_STORAGE_NEEDED even
    when transform feedback is not active.

    Reviewed-by: Chris Forbes <<a href="mailto:chrisf@ijw.co.nz">chrisf@ijw.co.nz</a>>


output:
PRIMITIVES_GENERATED counter was incremented during glGenerateMipmapEXT
PIGLIT: {'result': 'fail' }

Reproduce steps:
----------------------------
1. xinit
2. bin/ext_transform_feedback-generatemipmap prims_generated -fbo -auto</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>