Skip to content

virgl: fix readback with pending transfers

Chia-I Wu requested to merge olv/mesa:virgl-fix-readback into master

When readback is true, and there are pending writes in the transfer queue, we should flush to avoid reading back outdated data. This fixes piglit arb_copy_buffer/dlist and a subtest of arb_copy_buffer/data-sync.

Signed-off-by: Chia-I Wu olvaffe@gmail.com

CC: @gurchetansingh @afrantzis

Merge request reports