On 01/09/2012 11:28 AM, Jakob Bornecrantz wrote:
So it turns out that softpipe uses LLVM in the draw module
since it has no way of telling draw not to use it. This patch
series fixes that. Also makes the draw initialization fail
if draw can't initialize LLVM in the normal case.

Cheers, Jakob.

Jakob Bornecrantz (3):
   draw: Make it possible to create a llvm free context
   draw: Fail if we fail to enable llvm when asked for it
   softpipe: Don't use llvm in draw

  src/gallium/auxiliary/draw/draw_context.c |   64 ++++++++++++++++++++---------
  src/gallium/auxiliary/draw/draw_context.h |    2 +
  src/gallium/drivers/softpipe/sp_context.c |    2 +-
  3 files changed, 47 insertions(+), 21 deletions(-)


I guess I'd like a way to keep using LLVM with softpipe in some circumstances (with a config/env var option). I sometimes debug things using softpipe and losing LLVM vertex processing would be a slow-down in some cases.

-Brian
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to