[Mesa-dev] [Bug 29835] [regression] Post-GLSL2 Mesa culls too much by default.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Aug 31 15:44:34 PDT 2010


Eric Anholt <eric at anholt.net> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Eric Anholt <eric at anholt.net> 2010-08-31 15:44:34 PDT ---
Nope, it really was about discard.  We weren't telling swrast and 965 that a
pixel kill happened, so depth writes went ahead and then those backfaces would
get culled (sometimes, depending on the order the triangles were processed).

commit 99c3ae0b4889af94b98fd8722e4b501764741263
Author: Eric Anholt <eric at anholt.net>
Date:   Tue Aug 31 12:36:31 2010 -0700

    glsl-fs-discard-02: Test that early depth writes don't happen with

commit 9b075cb9fa9eb6a95d0816283ef01ae72dafa680
Author: Eric Anholt <eric at anholt.net>
Date:   Tue Aug 31 13:02:59 2010 -0700

    ir_to_mesa: When emitting a pixel kill, flag that we did so.

    Both i965 and swrast rely on UsesKill to determine whether to do early
    depth writes.  Fixes glsl-fs-discard-02.

    Bug #29835.

Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the mesa-dev mailing list