summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-04-06 20:20:13 -0600
committerBrian Paul <[email protected]>2010-04-06 20:20:17 -0600
commit45c89091487a9cd3999362cdb486299c4a0f24c6 (patch)
treefa6e16a86f47af932440ea49a41229c70f61efe3 /src/gallium
parentae69f9fbf0a1aab7186e5b644085a5fe5aea99af (diff)
gallium/draw: add additional DRAW_LLVM check
Fixes build breakage.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/auxiliary/draw/draw_pt.c3
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 43126c6c881..b7a998248dc 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)