Mesa (master): gallium/draw: add additional DRAW_LLVM check
Brian Paul
brianp at kemper.freedesktop.org
Wed Apr 7 02:20:39 UTC 2010
Module: Mesa
Branch: master
Commit: 45c89091487a9cd3999362cdb486299c4a0f24c6
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=45c89091487a9cd3999362cdb486299c4a0f24c6
Author: Brian Paul <brianp at vmware.com>
Date: Tue Apr 6 20:20:13 2010 -0600
gallium/draw: add additional DRAW_LLVM check
Fixes build breakage.
---
src/gallium/auxiliary/draw/draw_pt.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/gallium/auxiliary/draw/draw_pt.c b/src/gallium/auxiliary/draw/draw_pt.c
index 43126c6..b7a9982 100644
--- a/src/gallium/auxiliary/draw/draw_pt.c
+++ b/src/gallium/auxiliary/draw/draw_pt.c
@@ -140,7 +140,10 @@ boolean draw_pt_init( struct draw_context *draw )
if (!draw->pt.middle.fetch_shade_emit)
return FALSE;
+#if DRAW_LLVM
draw->pt.middle.general = draw_pt_fetch_pipeline_or_emit_llvm( draw );
+#endif
+
if (!draw->pt.middle.general)
draw->pt.middle.general = draw_pt_fetch_pipeline_or_emit( draw );
if (!draw->pt.middle.general)
More information about the mesa-commit
mailing list