summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2010-06-07 19:35:31 +0100
committerKeith Whitwell <keithw@vmware.com>2010-06-07 19:38:30 +0100
commit045174b6853608f1f17194115da570067b4ce121 (patch)
tree9c53300f832648980a2b8d23d41c9328db3a20d6
parentc9c6b56e48d5712e24dab7cdc00d48e1cfc518d9 (diff)
draw: don't use llvm engine when geometry shaders active
They aren't implemented for llvm.
-rw-r--r--src/gallium/auxiliary/draw/draw_pt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pt.c b/src/gallium/auxiliary/draw/draw_pt.c
index b853f3a89f..c7eb156783 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)