draw: Fix bypass_vs semantic misuse.
authorMichal Krol <michal@tungstengraphics.com>
Sun, 30 Mar 2008 20:48:49 +0000 (22:48 +0200)
committerMichal Krol <michal@tungstengraphics.com>
Sun, 30 Mar 2008 20:48:49 +0000 (22:48 +0200)
src/gallium/auxiliary/draw/draw_prim.c

index ddcde01d9a2e41cc5298822680bd2ddf0213538b..404c28d76a1098509ebfaf0dd6c8360e3be263a2 100644 (file)
@@ -594,6 +594,7 @@ 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);