<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - LLVM rendering bug"
href="https://bugs.freedesktop.org/show_bug.cgi?id=69285">69285</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>LLVM rendering bug
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Reporter</th>
<td>genpfault@gmail.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86 (IA32)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>9.2
</td>
</tr>
<tr>
<th>Component</th>
<td>Mesa core
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=85735" name="attach_85735" title="SDL 1.2-based test case">attachment 85735</a> <a href="attachment.cgi?id=85735&action=edit" title="SDL 1.2-based test case">[details]</a></span>
SDL 1.2-based test case
A simple OpenGL ES 2.0 checkerboard shader has significantly different output
when LLVM is enabled on softpipe.
I think the non-LLVM output is correct.
$ gcc --version
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
$ uname -a
Linux garmin-vm 3.2.0-53-generic #81-Ubuntu SMP Thu Aug 22 21:03:54 UTC 2013
i686 i686 i386 GNU/Linux
$ lsb_release -a
Distributor ID: Ubuntu
Description: Ubuntu 12.04.3 LTS
Release: 12.04
Codename: precise
# llvm 3.3
./configure --disable-assertions
# mesa 9.2.0 llvm enabled
./configure \
--enable-gles2 \
--enable-gallium-egl \
--with-egl-platforms="x11" \
--with-gallium-drivers="swrast" \
--with-dri-drivers="" \
--disable-xvmc \
--enable-gallium-llvm \
# mesa 9.2.0 llvm disabled
./configure \
--enable-gles2 \
--enable-gallium-egl \
--with-egl-platforms="x11" \
--with-gallium-drivers="swrast" \
--with-dri-drivers="" \
--disable-xvmc \
--disable-gallium-llvm \
# build
g++ main.cpp -lSDL -L/usr/local/lib -lEGL -lGLESv2
# run
LD_LIBRARY_PATH=/usr/local/lib EGL_SOFTWARE=true ./a.out</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>