[Mesa-dev] [Bug 69285] New: LLVM rendering bug

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Sep 12 11:26:29 PDT 2013


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

          Priority: medium
            Bug ID: 69285
          Assignee: mesa-dev at lists.freedesktop.org
           Summary: LLVM rendering bug
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: genpfault at gmail.com
          Hardware: x86 (IA32)
            Status: NEW
           Version: 9.2
         Component: Mesa core
           Product: Mesa

Created attachment 85735
  --> https://bugs.freedesktop.org/attachment.cgi?id=85735&action=edit
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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130912/2d7cf8ac/attachment.html>


More information about the mesa-dev mailing list