diff options
author | Jakob Bornecrantz <[email protected]> | 2012-01-09 00:00:56 +0100 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2012-01-09 21:39:06 +0100 |
commit | 8783d4227ff1d1b2bf816180f8d95466a25c786f (patch) | |
tree | c5add60c01f1628140f5808d5b92d1fec444a1d2 /src/gallium/drivers/softpipe/sp_context.c | |
parent | f4863f3923152448e27ea68d0cd04411bbe3f4c7 (diff) |
softpipe: Don't use llvm in draw
But add a option to force it on for testing.
Signed-off-by: Jakob Bornecrantz <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_context.c')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_context.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/drivers/softpipe/sp_context.c b/src/gallium/drivers/softpipe/sp_context.c index a7206000ddc..324d9fd67c6 100644 --- a/src/gallium/drivers/softpipe/sp_context.c +++ b/src/gallium/drivers/softpipe/sp_context.c @@ -305,7 +305,10 @@ softpipe_create_context( struct pipe_screen *screen, /* * Create drawing context and plug our rendering stage into it. */ - softpipe->draw = draw_create(&softpipe->pipe); + if (debug_get_bool_option("SOFTPIPE_USE_LLVM", FALSE)) + softpipe->draw = draw_create(&softpipe->pipe); + else + softpipe->draw = draw_create_no_llvm(&softpipe->pipe); if (!softpipe->draw) goto fail; |