draw: don't apply flatshading to clipped tris with <3 verts
authorKeith Whitwell <keithw@vmware.com>
Thu, 23 Sep 2010 15:11:17 +0000 (16:11 +0100)
committerKeith Whitwell <keithw@vmware.com>
Thu, 23 Sep 2010 15:11:17 +0000 (16:11 +0100)
commit8b597b4ea4290301bd97587db5389f151cb5f25f
tree8eae8889844b5ea3b23787a9a459c4fa7abd58d1
parent1b15a3cafdc699c63466059d56f36b295475ee9e
draw: don't apply flatshading to clipped tris with <3 verts

If a triangle was completely culled by clipping, we would still try to
fix up its provoking vertex.
src/gallium/auxiliary/draw/draw_pipe_clip.c