From 1becd2f788b7c014ff2cdc2e6efaf5fdfb2f3caf Mon Sep 17 00:00:00 2001 From: kd-11 Date: Wed, 3 Mar 2021 00:49:11 +0300 Subject: [PATCH] vk: Remove redundant double barrier - Luckily it was not too harmful in single queue submissions --- rpcs3/Emu/RSX/VK/vkutils/image.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rpcs3/Emu/RSX/VK/vkutils/image.cpp b/rpcs3/Emu/RSX/VK/vkutils/image.cpp index 06d901cd20..0cd9c8c9c8 100644 --- a/rpcs3/Emu/RSX/VK/vkutils/image.cpp +++ b/rpcs3/Emu/RSX/VK/vkutils/image.cpp @@ -200,9 +200,8 @@ namespace vk } ensure(m_layout_stack.empty()); - change_image_layout(cmd, this, new_layout); - u32 dst_queue = new_queue_family; + if (current_queue_family == VK_QUEUE_FAMILY_IGNORED) { // Implicit acquisition