VulkanDevice: Fix incomplete swap chain clear with dynamic rendering

This commit is contained in:
Stenzek 2023-12-09 01:32:59 +10:00
parent f1604db4a3
commit d068799515
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -3050,9 +3050,9 @@ void VulkanDevice::BeginSwapChainRenderPass()
VK_RESOLVE_MODE_NONE_KHR,
VK_NULL_HANDLE,
VK_IMAGE_LAYOUT_UNDEFINED,
VK_ATTACHMENT_LOAD_OP_LOAD,
VK_ATTACHMENT_LOAD_OP_CLEAR,
VK_ATTACHMENT_STORE_OP_STORE,
{}};
s_present_clear_color};
const VkRenderingInfoKHR ri = {VK_STRUCTURE_TYPE_RENDERING_INFO_KHR,
nullptr,