llvmpipe: reset so buffers when not appending
authorZack Rusin <zackr@vmware.com>
Sat, 30 Mar 2013 07:21:03 +0000 (00:21 -0700)
committerZack Rusin <zackr@vmware.com>
Wed, 3 Apr 2013 17:16:25 +0000 (10:16 -0700)
commit246e68735fe22b4d9f510f8fb1bb8b7bb448b068
treee3c43babfe3385c84c062a0dcf364581c538f72b
parent7ca65a68e1bb9b53737facb9e787944cfeaec0aa
llvmpipe: reset so buffers when not appending

We need to reset the internal state of the so buffers or we'll
keep appending even though we're not supposed to.

Signed-off-by: Zack Rusin <zackr@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/gallium/drivers/llvmpipe/lp_state_so.c