draw: set precalc_flat flag for AA lines too
authorBrian Paul <brianp@vmware.com>
Tue, 4 Dec 2012 23:32:01 +0000 (16:32 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 5 Dec 2012 15:05:00 +0000 (08:05 -0700)
commitd2c7fe5389e40871a7e339dc0ecaa7f570f851ed
tree6d982d4c85cde763291169ed1391929b08024a5e
parent484a8dcfa8c8b91b8e99174b5e4953264f32789e
draw: set precalc_flat flag for AA lines too

Fixes flat shading for AA lines.  demos/src/trivial/line-smooth is a
test case which hits this.

Note: This is a candidate for the stable branches.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/draw/draw_pipe_validate.c