diff options
author | Michal Krol <[email protected]> | 2008-03-30 22:48:49 +0200 |
---|---|---|
committer | Michal Krol <[email protected]> | 2008-03-30 22:48:49 +0200 |
commit | fc9888014470286d8d651c569aaadf9cd69d8282 (patch) | |
tree | 966a49e227c49946afce58c2bd5bdd9a75d287a1 /src/gallium/auxiliary/draw | |
parent | a52c0416d1f2105960b4646e2e268aed26814689 (diff) |
draw: Fix bypass_vs semantic misuse.
Diffstat (limited to 'src/gallium/auxiliary/draw')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_prim.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |