r600g,radeonsi: attempt to fix racy multi-context apps calling BufferData
authorMarek Olšák <marek.olsak@amd.com>
Sat, 8 Mar 2014 22:34:36 +0000 (23:34 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 11 Mar 2014 18:18:02 +0000 (19:18 +0100)
commite1a9a54464c31f7b3b69d686d82f425dffb65f40
tree3b3376288ce8d98b8e3e7a79688a21e721830efd
parent74d95adea08b3f94ed7d8f7f9cee693a6cd49a44
r600g,radeonsi: attempt to fix racy multi-context apps calling BufferData

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=75061

v2: minimize the window where cs_buf != new_buf
src/gallium/drivers/r600/r600_state_common.c
src/gallium/drivers/radeon/r600_buffer_common.c
src/gallium/drivers/radeonsi/si_descriptors.c