Announcement
Collapse
No announcement yet.
Gallium3D / LLVMpipe With LLVM 2.8
Collapse
X
-
Originally posted by marek View PostMesa must be compiled with the parameter --enable-gallium-llvm to get the LLVM-compiled vertex shaders in Gallium.
llvmpipe is definitely slower (about 10 times) unless you do a lot of data moves between RAM and VRAM.
git clone git://anongit.freedesktop.org/git/mesa/mesa
cd mesa
./autogen.sh
./configure --enable-glx-tls --with-dri-drivers= --enable-gallium-llvm --disable-gallium-nouveau --disable-gallium-i915 --disable-gallium-i965 --enable-gallium-radeon --enable-gallium-r600 --disable-gallium-svga --with-state-trackers=glx,dri
make -j 2
then I copied various libs from the ./mesa/lib/gallium overwriting the system lib. Restart the computer and run xbmc again. Only a very marginal improvement, 16-18fps over r300g 5 months ago. Maybe, r300g llvm usage for vertex shader is not included in the main mesa tree?
Comment
-
Originally posted by ntt2010 View PostI checkout mesa repository, and configure/compile it:
git clone git://anongit.freedesktop.org/git/mesa/mesa
cd mesa
./autogen.sh
./configure --enable-glx-tls --with-dri-drivers= --enable-gallium-llvm --disable-gallium-nouveau --disable-gallium-i915 --disable-gallium-i965 --enable-gallium-radeon --enable-gallium-r600 --disable-gallium-svga --with-state-trackers=glx,dri
make -j 2
then I copied various libs from the ./mesa/lib/gallium overwriting the system lib. Restart the computer and run xbmc again. Only a very marginal improvement, 16-18fps over r300g 5 months ago. Maybe, r300g llvm usage for vertex shader is not included in the main mesa tree?
Comment
Comment