From 045174b6853608f1f17194115da570067b4ce121 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Mon, 7 Jun 2010 19:35:31 +0100 Subject: draw: don't use llvm engine when geometry shaders active They aren't implemented for llvm. --- src/gallium/auxiliary/draw/draw_pt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/gallium/auxiliary/draw/draw_pt.c b/src/gallium/auxiliary/draw/draw_pt.c index b853f3a89f8..c7eb1567837 100644 --- a/src/gallium/auxiliary/draw/draw_pt.c +++ b/src/gallium/auxiliary/draw/draw_pt.c @@ -97,7 +97,7 @@ draw_pt_arrays(struct draw_context *draw, opt |= PT_SHADE; } - if (draw->pt.middle.llvm) { + if (draw->pt.middle.llvm && !draw->gs.geometry_shader) { middle = draw->pt.middle.llvm; } else { if (opt == 0) -- cgit v1.2.3