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

            Bug ID: 92247
           Summary: weston: black surfaces with mesa 11.0.2
           Product: Wayland
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: weston
          Assignee: [email protected]
          Reporter: [email protected]

Weston 1.9.0 build with mesa 11.0.2 shows all surfaces as black squares.
Reverting to mesa 11.0.1 works OK.

A bisect revealed that the problem started showing up with this commit in mesa:

    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f15a7f3

Weston uses GL_BGRA_EXT/GL_UNSIGNED_BYTE as format/type for textures and this
is now rejected as invalid by mesa with this commit.

But according to GLES spec 3.0.4, section 3.8 texturing, page 127 (ie page 140
in this pdf https://www.khronos.org/registry/gles/specs/3.0/es_spec_3.0.4.pdf)
there is no indication of neither GL_BGRA or GL_BGRA_EXT being valid, so mesa
seems right to reject it.

Using a valid GL_RGBA/GL_UNSIGNED_BYTE is not rejected but obviously does not
show the right colors.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
wayland-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to