[Bug 97207] [IVY BRIDGE] Fragment shader discard writing to depth

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Aug 4 18:08:12 UTC 2016


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

            Bug ID: 97207
           Summary: [IVY BRIDGE] Fragment shader discard writing to depth
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Vulkan/intel
          Assignee: intel-3d-bugs at lists.freedesktop.org
          Reporter: webmaster at saschawillems.de
        QA Contact: intel-3d-bugs at lists.freedesktop.org
                CC: jason at jlekstrand.net

Created attachment 125542
  --> https://bugs.freedesktop.org/attachment.cgi?id=125542&action=edit
Discard with depth not being discarded on Sky Lake

In the indirect draw example of my Vulkan examples I use discard in the
fragment shader for discarding transparent fragments.

As per spec, discarding fragments should also discard depth, but this doesn't
seem to work on Ivy Bridge with current MESA drivers, color is discarded, but
depth is written, even though the fragment shader does not specify
early_fragment_tests.

I have attached a screenshot from Ubuntu with Ivy Brdige showing the clear
color of the scene where the fragments are discarded and one from a GTX 980
rendering as expected.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20160804/4665fea9/attachment.html>


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