From: Brian Paul Date: Wed, 7 Apr 2010 02:20:13 +0000 (-0600) Subject: gallium/draw: add additional DRAW_LLVM check X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=45c89091487a9cd3999362cdb486299c4a0f24c6;p=mesa.git gallium/draw: add additional DRAW_LLVM check Fixes build breakage. --- 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)