vk/gl: Synchronization improvements

- Properly wait for the buffer transfer operation to finish before map/readback!
- Change vkFence to vkEvent which works more like a GL fence which is what is needed.
- Implement supporting methods and functions
- Do not destroy fence by immediately waiting after copying to dma buffer
This commit is contained in:
kd-11 2019-03-14 15:27:50 +03:00 committed by kd-11
parent 85cb703633
commit a49a0f2a86
7 changed files with 99 additions and 87 deletions

View file

@ -2670,6 +2670,7 @@ namespace rsx
else
{
verify(HERE), dst_is_render_target;
dst_subres.surface->on_write();
}
if (rsx::get_resolution_scale_percent() != 100)