https://bugs.freedesktop.org/show_bug.cgi?id=29835
Eric Anholt <e...@anholt.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #3 from Eric Anholt <e...@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). piglit: commit 99c3ae0b4889af94b98fd8722e4b501764741263 Author: Eric Anholt <e...@anholt.net> Date: Tue Aug 31 12:36:31 2010 -0700 glsl-fs-discard-02: Test that early depth writes don't happen with "discard" mesa: commit 9b075cb9fa9eb6a95d0816283ef01ae72dafa680 Author: Eric Anholt <e...@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. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev