<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 - [IVB Bisected]Piglit glean/pointSprite fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=86764">86764</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[IVB Bisected]Piglit glean/pointSprite fails
          </td>
        </tr>

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

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

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

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

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

        <tr>
          <th>Severity</th>
          <td>major
          </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>huax.lu@intel.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-3d-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>System Environment:
--------------------------
Platform: IVB
Libdrm:       
(master)libdrm-2.4.58-13-gfb4177046de19730a784c3c16e4b73aab0ec6e41
Mesa:        (master)531feec9dc4680046f21c517d13312c7df7b7619
Xserver:   
(master)xorg-server-1.16.99.901-17-gc52a2b1ebad56820af932dfbc871701a8b04fd9c
Xf86_video_intel:(master)2.99.916-154-g0f15b8b45bb6de10ce1926db303247a5bd3c1c08
Libva:        (master)c095cc6cf08523cd0dffcfe5ac4bce9122527f22
Libva_intel_driver:    (master)edbb8cdada09cd116103e68f942b0889fd767391
Kernel:   (drm-intel-nightly)a834a782adf3ab4b508cd80e9082960263bcc4ed

Bug detailed description:
-----------------------------
It fails on IVB with mesa master branch, works well on 10.4 branch.

Bisect shows: 0008d0e59eff365079323918508ffc87355a6bfd is the first bad commit
commit 0008d0e59eff365079323918508ffc87355a6bfd
Author:     Chris Forbes <<a href="mailto:chrisf@ijw.co.nz">chrisf@ijw.co.nz</a>>
AuthorDate: Tue Nov 25 09:44:19 2014 +1300
Commit:     Chris Forbes <<a href="mailto:chrisf@ijw.co.nz">chrisf@ijw.co.nz</a>>
CommitDate: Tue Nov 25 22:38:32 2014 +1300

    i965/Gen6-7: Do not replace texcoords with point coord if not drawing
points

    Fixes broken rendering in Windows-based QtQuick2 apps run through Wine.
    This library sets all texture units' GL_COORD_REPLACE, leaves point
    sprite mode enabled, and then draws a triangle fan.

    Will need a slightly different fix for Gen4-5, but I don't have my old
    machines in a usable state currently.

    V2: - Simplify patch -- the real changes are no longer duplicated across
          the Gen6 and Gen7 atoms.
        - Also don't clobber attr overrides -- which matters on Haswell too,
          and fixes the other half of the problem
        - Fix newly-introduced warnings
    V3: - Use BRW_NEW_GEOMETRY_PROGRAM and brw->geometry_program rather than
          core flag and state; keep the state flags in order.

    Signed-off-by: Chris Forbes <<a href="mailto:chrisf@ijw.co.nz">chrisf@ijw.co.nz</a>>
    Cc: "10.4" <<a href="mailto:mesa-stable@lists.freedesktop.org">mesa-stable@lists.freedesktop.org</a>>
    Bugzilla: <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Distorted graphics or black window when running Battle.net app on Intel hardware via wine"
   href="show_bug.cgi?id=84651">https://bugs.freedesktop.org/show_bug.cgi?id=84651</a>
    Reviewed-by: Kenneth Graunke <<a href="mailto:kenneth@whitecape.org">kenneth@whitecape.org</a>>


output:
----------------------------------------------------------------------
Test basic point sprite functionality.

Incorrect pixel at (20, 19):
        it should be rendered with color: (0, 0, 1), actual read: (0, 1, 0)
        Primitive type: GL_POLYGON
        Coord Origin at: GL_UPPER_LEFT
        PointSize: 1.85
Incorrect pixel at (19, 19):
        it should be rendered with color: (0, 0, 1), actual read: (0, 1, 0)
        Primitive type: GL_POLYGON
        Coord Origin at: GL_LOWER_LEFT
        PointSize: 1.85
pointSprite:  FAIL rgba8, db, z24, s8, win+pmap, id 32
        5 tests passed, 2 tests failed.

Reproduce steps:
---------------------------- 
1. xinit
2. bin/glean -o -v -v -v -t +pointSprite --quick</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>