st/dri: flush drawable textures before unreferencing
authorMarek Olšák <marek.olsak@amd.com>
Fri, 7 Mar 2014 16:25:05 +0000 (17:25 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 11 Mar 2014 17:51:20 +0000 (18:51 +0100)
commit8bd7a6f48c03b8bec2740cae392b6b1b00cbe1fc
tree51ec5e91fd44a55c07d0693bc464d6a6c56cab94
parenta38e1fd78ba406abe6c6dfd665804ec0d8f98172
st/dri: flush drawable textures before unreferencing

This fixes piglit/fbo-sys-blit with fast clear on radeonsi.

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/state_trackers/dri/drm/dri2.c