<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 - draw does not work in a simple example"
href="https://bugs.freedesktop.org/show_bug.cgi?id=106123">106123</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>draw does not work in a simple example
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (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>Drivers/DRI/i965
</td>
</tr>
<tr>
<th>Assignee</th>
<td>intel-3d-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>xinghua.cao@intel.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>intel-3d-bugs@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=138904" name="attach_138904" title="source code of example">attachment 138904</a> <a href="attachment.cgi?id=138904&action=edit" title="source code of example">[details]</a></span>
source code of example
I found a issue in ANGLE project that draw does not work, and had written a
simple example to reproduce this issue, attachment is the source code.
Steps:
1. gcc -o srgb srgb.c -lX11 -lepoxy
2. ./srgb
I had used readPixels to get fbo content and wrote content to files in current
directory, the name is "result_1/2/3/4.rgba", These files were all empty, it
seems that mesa did draw nothing.
The same case had run on NVIDIA GPU, which draw something normally.
I had spent some time to debug it, but did not find the root cause. Please help
me to check it, thank you.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>