[Bug 94458] dEQP-GLES3.functional.state_query.fbo.framebuffer_attachment_x_size_initial fails

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Mar 9 02:01:58 UTC 2016


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

            Bug ID: 94458
           Summary: dEQP-GLES3.functional.state_query.fbo.framebuffer_atta
                    chment_x_size_initial fails
           Product: Mesa
           Version: git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/i965
          Assignee: idr at freedesktop.org
          Reporter: kenneth at whitecape.org
        QA Contact: intel-3d-bugs at lists.freedesktop.org
            Blocks: 94448

dEQP-GLES3.functional.state_query.fbo.framebuffer_attachment_x_size_initial
queries GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE on the window system depth buffer,
and expects to get a proper value (16, 24, 32); we are incorrectly returning 0.

intel_alloc_private_renderbuffer_storage does:

   rb->_BaseFormat = _mesa_base_fbo_format(ctx, internalFormat);

Here, internalFormat is GL_DEPTH_COMPONENT.  _mesa_base_fbo_format only returns
GL_DEPTH_COMPONENT in desktop GL.  In ES, it returns 0.

So, we don't get a proper rb->_BaseFormat set, and this makes the query fail.

-- 
You are receiving this mail because:
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/20160309/0b33f70f/attachment.html>


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