GPU/HW: Clear host display texture on interlace switch

This commit is contained in:
Connor McLaughlin
2021-07-11 14:09:11 +10:00
parent 928b5694ed
commit c0352eb19f
3 changed files with 6 additions and 0 deletions

View File

@ -1298,6 +1298,8 @@ void GPU_HW_Vulkan::ClearDisplay()
GPU_HW::ClearDisplay();
EndRenderPass();
m_host_display->ClearDisplayTexture();
VkCommandBuffer cmdbuf = g_vulkan_context->GetCurrentCommandBuffer();
m_display_texture.TransitionToLayout(cmdbuf, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL);