[Bug 90000] [i965 Bisected NIR] Piglit/gglean_fragprog1-z-write_test fail

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Jun 6 13:27:49 PDT 2015


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

Kenneth Graunke <kenneth at whitecape.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #8 from Kenneth Graunke <kenneth at whitecape.org> ---
Fixed on master by:

commit 7b8f20ec5505a25958bcd98aabe73a7ca2b6cbba
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Thu Jun 4 17:00:17 2015 -0700

    prog_to_nir: Fix fragment depth writes.

    In the ARB_fragment_program specification, the result.depth output
    variable is treated as a vec4, where the fragment depth is stored in the
    .z component, and the other three components are undefined.

    This is different than GLSL, which uses a scalar value (gl_FragDepth).

    To make this consistent for driver backends, this patch makes
    prog_to_nir use a scalar output variable for FRAG_RESULT_DEPTH,
    moving result.depth.z into the first component.

    Fixes Glean's fragProg1 "Z-write test" subtest.

    Cc: mesa-stable at lists.freedesktop.org
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90000
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>

-- 
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/20150606/8528fa6c/attachment.html>


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