From 11bd65c2b5f9652ce81a685a56ed0dee47ed86b4 Mon Sep 17 00:00:00 2001 From: kd-11 Date: Thu, 26 Oct 2017 13:04:00 +0300 Subject: [PATCH] vulkan: Flush queue before attempting to copy texture memory! --- rpcs3/Emu/RSX/VK/VKGSRender.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rpcs3/Emu/RSX/VK/VKGSRender.cpp b/rpcs3/Emu/RSX/VK/VKGSRender.cpp index 3fa8878c9c..c1c80707e1 100644 --- a/rpcs3/Emu/RSX/VK/VKGSRender.cpp +++ b/rpcs3/Emu/RSX/VK/VKGSRender.cpp @@ -761,6 +761,11 @@ bool VKGSRender::on_access_violation(u32 address, bool is_writing) { vm::temporary_unlock(); } + else + { + //Flush primary cb queue to sync pending changes (e.g image transitions!) + flush_command_queue(); + } if (sync_timestamp > 0) {