From: Michal Krol Date: Sun, 30 Mar 2008 20:48:49 +0000 (+0200) Subject: draw: Fix bypass_vs semantic misuse. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fc9888014470286d8d651c569aaadf9cd69d8282;p=mesa.git draw: Fix bypass_vs semantic misuse. --- diff --git a/src/gallium/auxiliary/draw/draw_prim.c b/src/gallium/auxiliary/draw/draw_prim.c index ddcde01d9a2..404c28d76a1 100644 --- a/src/gallium/auxiliary/draw/draw_prim.c +++ b/src/gallium/auxiliary/draw/draw_prim.c @@ -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);