r600g: need to reference upload buffer as the might still live accross flush
authorJerome Glisse <jglisse@redhat.com>
Wed, 15 Dec 2010 17:07:09 +0000 (12:07 -0500)
committerJerome Glisse <jglisse@redhat.com>
Wed, 15 Dec 2010 17:07:09 +0000 (12:07 -0500)
commit3861a1001c5ad0dd0de3b0befabf3ed69da9dc5e
tree605feb3f156b7b6b729c552b027bdf3d93050221
parenta8ca30bc58b73203a83799149ca9d21bcdce74b5
r600g: need to reference upload buffer as the might still live accross flush

Can't get away from referencing upload buffer as after flush a vertex buffer
using the upload buffer might still be active. Likely need to simplify the
pipe_refence a bit so we don't waste so much cpu time in it.

candidates for 7.10 branch

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
src/gallium/drivers/r600/r600_buffer.c
src/gallium/drivers/r600/r600_upload.c