Revert "r600g: Flush upload buffers before draws instead of before flushes."
authorHenri Verbeet <hverbeet@gmail.com>
Sun, 19 Sep 2010 20:59:14 +0000 (22:59 +0200)
committerHenri Verbeet <hverbeet@gmail.com>
Sun, 19 Sep 2010 21:03:03 +0000 (23:03 +0200)
commit1934ade18309d44f6e98f571674404ecb19d6364
treec4bf122e1b6d44686f6b135b609112d0d83eb42c
parent0f9181811fc0e2943b156acc4d43f2da8a4846d1
Revert "r600g: Flush upload buffers before draws instead of before flushes."

This reverts commit a1d9a58b825825723f1c5f7705f2ed3ef834038a.
Flushing the upload buffers on draw is wrong, uploads aren't supposed to
cause flushes in the first place. The real issue was
radeon_bo_pb_map_internal() not respecting PB_USAGE_UNSYNCHRONIZED.
src/gallium/drivers/r600/r600_context.c
src/gallium/drivers/r600/r600_draw.c