vulkan: Flush queue before attempting to copy texture memory!

This commit is contained in:
kd-11 2017-10-26 13:04:00 +03:00
parent e0d1ac676e
commit 11bd65c2b5

View file

@ -761,6 +761,11 @@ bool VKGSRender::on_access_violation(u32 address, bool is_writing)
{ {
vm::temporary_unlock(); vm::temporary_unlock();
} }
else
{
//Flush primary cb queue to sync pending changes (e.g image transitions!)
flush_command_queue();
}
if (sync_timestamp > 0) if (sync_timestamp > 0)
{ {