summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/xlib
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-08-16 11:50:17 +0100
committerJosé Fonseca <jfonseca@vmware.com>2009-08-29 09:21:32 +0100
commit818d444e12bb57568fbf3bf5f06ee24c6c73a61a (patch)
tree4abd55212b63a898e8e5d56d77f0a9959ce2ff84 /src/gallium/winsys/xlib
parenta7f9b915aeade96d8ca58d70a1f1d42cd6a16e3d (diff)
llvmpipe: Disassemble generated x86 code.
Diffstat (limited to 'src/gallium/winsys/xlib')
-rw-r--r--src/gallium/winsys/xlib/SConscript8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/winsys/xlib/SConscript b/src/gallium/winsys/xlib/SConscript
index f67a94466a..d2be07b384 100644
--- a/src/gallium/winsys/xlib/SConscript
+++ b/src/gallium/winsys/xlib/SConscript
@@ -29,6 +29,14 @@ if env['platform'] == 'linux' \
sources += ['xlib_softpipe.c']
drivers += [softpipe]
+ if 'llvmpipe' in env['drivers']:
+ env.Append(CPPDEFINES = 'GALLIUM_LLVMPIPE')
+ env.Prepend(LIBS = 'udis86')
+ env.ParseConfig('llvm-config --libs jit interpreter nativecodegen')
+ env['LINK'] = env['CXX']
+ sources += ['xlib_llvmpipe.c']
+ drivers += [llvmpipe]
+
if 'i965simple' in env['drivers']:
env.Append(CPPDEFINES = 'GALLIUM_I965SIMPLE')
sources += [