svga: flush drawing before clearing
authorBrian Paul <brianp@vmware.com>
Wed, 18 Apr 2012 14:31:45 +0000 (08:31 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 18 Apr 2012 14:34:48 +0000 (08:34 -0600)
commit8ec18dfc1af43ef1f74c3f28c87e11da815f1958
tree80a17c342506770a963bc33afc53836ba1c43283
parent168a3b8627861fbb2786839f7e276de82f883e42
svga: flush drawing before clearing

We don't normally clear immediately after drawing something.  But as it
was, the drawing would incorrectly appear after the clear.

Fixes piglit clear-varray-2.0 failure.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/gallium/drivers/svga/svga_pipe_clear.c