diff options
author | Keith Whitwell <[email protected]> | 2010-06-07 19:35:31 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2010-06-07 19:38:30 +0100 |
commit | 045174b6853608f1f17194115da570067b4ce121 (patch) | |
tree | 9c53300f832648980a2b8d23d41c9328db3a20d6 | |
parent | c9c6b56e48d5712e24dab7cdc00d48e1cfc518d9 (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.c | 2 |
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 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) |