From: José Fonseca Date: Wed, 21 Apr 2010 16:30:39 +0000 (+0100) Subject: draw: Make LLVM integration work without llvmpipe too (e.g. sofptipe). X-Git-Tag: mesa-7.9-rc1~2790^2~185 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5c364b3ef78cd36a41c43a771efe5b631ea9559b;p=platform%2Fupstream%2Fmesa.git draw: Make LLVM integration work without llvmpipe too (e.g. sofptipe). Prevents the assertion failure. --- diff --git a/src/gallium/auxiliary/draw/draw_context.c b/src/gallium/auxiliary/draw/draw_context.c index 710bf79..02abddf 100644 --- a/src/gallium/auxiliary/draw/draw_context.c +++ b/src/gallium/auxiliary/draw/draw_context.c @@ -49,6 +49,7 @@ struct draw_context *draw_create( struct pipe_context *pipe ) goto fail; #if HAVE_LLVM + lp_build_init(); assert(lp_build_engine); draw->engine = lp_build_engine; #endif