Mesa (master): draw: Make LLVM integration work without llvmpipe too (e.g. sofptipe).
Jose Fonseca
jrfonseca at kemper.freedesktop.org
Wed Apr 21 22:04:21 UTC 2010
Module: Mesa
Branch: master
Commit: 5c364b3ef78cd36a41c43a771efe5b631ea9559b
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5c364b3ef78cd36a41c43a771efe5b631ea9559b
Author: José Fonseca <jfonseca at vmware.com>
Date: Wed Apr 21 17:30:39 2010 +0100
draw: Make LLVM integration work without llvmpipe too (e.g. sofptipe).
Prevents the assertion failure.
---
src/gallium/auxiliary/draw/draw_context.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
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
More information about the mesa-commit
mailing list