[Bug 86764] New: [IVB Bisected]Piglit glean/pointSprite fails

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Nov 26 23:09:57 PST 2014


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

            Bug ID: 86764
           Summary: [IVB Bisected]Piglit glean/pointSprite fails
           Product: Mesa
           Version: unspecified
          Hardware: All
                OS: Linux (All)
            Status: NEW
          Severity: major
          Priority: medium
         Component: Drivers/DRI/i965
          Assignee: idr at freedesktop.org
          Reporter: huax.lu at intel.com
        QA Contact: intel-3d-bugs at lists.freedesktop.org

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 <chrisf at ijw.co.nz>
AuthorDate: Tue Nov 25 09:44:19 2014 +1300
Commit:     Chris Forbes <chrisf at ijw.co.nz>
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 <chrisf at ijw.co.nz>
    Cc: "10.4" <mesa-stable at lists.freedesktop.org>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=84651
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>


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

-- 
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/20141127/0cc626c7/attachment.html>


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