summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-08-10 12:35:16 +0100
committerJosé Fonseca <jfonseca@vmware.com>2009-08-29 09:21:28 +0100
commit9285f159e0136da0e4e2381ea5340faee2a043e0 (patch)
tree5063c2f42dbc7d5b2ca341153647b0cd9d64e606
parent8edcc8abe3feab88c5370e96bf6403ca9ff16a53 (diff)
llvmpipe: Simple description/instructions.
-rw-r--r--src/gallium/drivers/llvmpipe/README48
1 files changed, 48 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/README b/src/gallium/drivers/llvmpipe/README
new file mode 100644
index 0000000000..55707fe333
--- /dev/null
+++ b/src/gallium/drivers/llvmpipe/README
@@ -0,0 +1,48 @@
+LLVMPIPE -- a fork of softpipe that employs LLVM for code generation.
+
+
+Requirements
+============
+
+ - Linux
+
+ - LLVM. On Debian based distributions do:
+
+ aptitude install llvm-dev
+
+ - A x86 or amd64 processor with support for sse2, sse3, and sse4.1 SIMD
+ instructions. This is necessary because we emit several SSE intrinsics for
+ convenience. See /proc/cpuinfo to know what your CPU supports.
+
+ - scons (although it should be straightforward to fix the Makefiles as well)
+
+
+Building
+========
+
+To build everything invoke scons as:
+
+ scons debug=yes statetrackers=mesa drivers=llvmpipe winsys=xlib dri=false -k
+
+
+Using
+=====
+
+Building will create a drop-in alternative for libGL.so. To use it set the
+environment variables:
+
+ export LD_LIRBARY_PATH=$PWD/build/linux-x86-debug/lib:$LD_LIRBARY_PATH
+ export LD_LIRBARY_PATH=$PWD/build/linux-x86_64-debug/lib:$LD_LIRBARY_PATH
+
+
+Unit testing
+============
+
+Building will also create several unit tests in
+build/linux-???-debug/gallium/drivers/llvmpipe:
+
+ - lp_test_blend: blending
+ - lp_test_conv: SIMD vector conversion
+ - lp_test_format: pixel unpacking/packing
+
+