diff options
author | José Fonseca <[email protected]> | 2009-07-27 01:23:15 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2009-08-29 09:21:16 +0100 |
commit | 8783732c4d2b9162d996f678eb41e3eae3ac86c7 (patch) | |
tree | 331d43c48d525e55a2f5e859a3a59771fb0fe3c0 /src/gallium/drivers/llvmpipe/SConscript | |
parent | 15422b2d99be074e1d6ac064b6f791245975da83 (diff) |
llvmpipe: Pixel packing/unpacking and loop code generators.
Just a small proof of concept plus a standalone test app. Not integrated
with the rest of the driver yet.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/SConscript')
-rw-r--r-- | src/gallium/drivers/llvmpipe/SConscript | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/SConscript b/src/gallium/drivers/llvmpipe/SConscript index f021549c448..fa3047f1651 100644 --- a/src/gallium/drivers/llvmpipe/SConscript +++ b/src/gallium/drivers/llvmpipe/SConscript @@ -2,12 +2,17 @@ Import('*') env = env.Clone() +env.ParseConfig('llvm-config --cflags --libs jit interpreter nativecodegen') + llvmpipe = env.ConvenienceLibrary( target = 'llvmpipe', source = [ 'lp_fs_exec.c', 'lp_fs_sse.c', 'lp_fs_llvm.c', + 'lp_bld_pack.c', + 'lp_bld_unpack.c', + 'lp_bld_loop.c', 'lp_clear.c', 'lp_context.c', 'lp_draw_arrays.c', @@ -43,4 +48,12 @@ llvmpipe = env.ConvenienceLibrary( 'lp_tile_cache.c', ]) -Export('softpipe')
\ No newline at end of file +env['LINK'] = env['CXX'] + +env.Program( + target = 'lp_bld_test', + source = ['lp_bld_test.c'], + LIBS = [llvmpipe] + auxiliaries + env['LIBS'], +) + +Export('llvmpipe') |