<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - weston: black surfaces with mesa 11.0.2"
href="https://bugs.freedesktop.org/show_bug.cgi?id=92247">92247</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>weston: black surfaces with mesa 11.0.2
</td>
</tr>
<tr>
<th>Product</th>
<td>Wayland
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>weston
</td>
</tr>
<tr>
<th>Assignee</th>
<td>wayland-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>fourdan@xfce.org
</td>
</tr></table>
<p>
<div>
<pre>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:
<a href="http://cgit.freedesktop.org/mesa/mesa/commit/?id=f15a7f3">http://cgit.freedesktop.org/mesa/mesa/commit/?id=f15a7f3</a>
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 <a href="https://www.khronos.org/registry/gles/specs/3.0/es_spec_3.0.4.pdf">https://www.khronos.org/registry/gles/specs/3.0/es_spec_3.0.4.pdf</a>)
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>