[Mesa-dev] [Bug 89026] Renderbuffer layered state used for framebuffer completeness test

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Feb 7 15:45:56 PST 2015


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

            Bug ID: 89026
           Summary: Renderbuffer layered state used for framebuffer
                    completeness test
           Product: Mesa
           Version: git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Mesa core
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: lankyleggy at gmail.com
        QA Contact: mesa-dev at lists.freedesktop.org

Created attachment 113255
  --> https://bugs.freedesktop.org/attachment.cgi?id=113255&action=edit
Patch

When binding a layered texture to a framebuffer, the framebuffer is marked as
layered. When a renderbuffer is bound to the same attachment point, it replaces
the texture, but mesa doesn't clear the layered state. When checking for
framebuffer completeness, the left over layered state is used, even though
renderbuffers don't have layered state. This can result in framebuffer
incompleteness with GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS when there are no
layered attachment points.

This occurs on the 10.4 branch at 54da987baec25fbaf6975c93f197ddbfe65a303c and
the master branch at 49299ef6fa0cf88e7101512400a4e74efa300941.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150207/7b32d7a5/attachment.html>


More information about the mesa-dev mailing list