Summary: | Enabling LLVM results in substantially different rendering | ||
---|---|---|---|
Product: | Mesa | Reporter: | Charles Huber <genpfault> |
Component: | Drivers/Gallium/llvmpipe | Assignee: | mesa-dev |
Status: | RESOLVED MOVED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | git | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
SDL 1.2-based test case
Output with --disable-gallium-llvm Output with --enable-gallium-llvm |
Created attachment 85736 [details]
Output with --disable-gallium-llvm
Created attachment 85737 [details]
Output with --enable-gallium-llvm
Still broken in 10.0. Still broken in 10.0.2 with LLVM 3.4. Slightly different configure required for 3.4: ./configure \ --disable-assertions \ --enable-terminfo=no \ --enable-curses=no \ Broken on current git master (188383591d6d657b557a5407ee9b7b993f79c53b) too. -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/228. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Created attachment 85735 [details] 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