summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/draw/draw_prim.c
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2008-03-30 23:21:20 +0200
committerMichal Krol <[email protected]>2008-03-30 23:21:20 +0200
commit63950b11b6060e4e0d06e0d14548ff132a295067 (patch)
tree53848ae0dff0734a18f5c094aa892491f9429bd7 /src/gallium/auxiliary/draw/draw_prim.c
parentfc9888014470286d8d651c569aaadf9cd69d8282 (diff)
draw: Do not run full pipeline when flatshade_first for point primitives.
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_prim.c')
-rw-r--r--src/gallium/auxiliary/draw/draw_prim.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_prim.c b/src/gallium/auxiliary/draw/draw_prim.c
index 404c28d76a1..ddcde01d9a2 100644
--- a/src/gallium/auxiliary/draw/draw_prim.c
+++ b/src/gallium/auxiliary/draw/draw_prim.c
@@ -594,7 +594,6 @@ draw_arrays(struct draw_context *draw, unsigned prim,
/* drawing done here: */
if (!draw->rasterizer->bypass_vs ||
- (draw->rasterizer->flatshade && draw->rasterizer->flatshade_first) ||
!draw_pt_arrays(draw, prim, start, count)) {
/* we have to run the whole pipeline */
draw_prim(draw, prim, start, count);