diff --git a/src/xenia/gpu/vulkan/render_cache.cc b/src/xenia/gpu/vulkan/render_cache.cc index 43db3c47c..659aadb1a 100644 --- a/src/xenia/gpu/vulkan/render_cache.cc +++ b/src/xenia/gpu/vulkan/render_cache.cc @@ -436,8 +436,10 @@ CachedRenderPass::CachedRenderPass(VkDevice device, // Create the render pass. VkRenderPassCreateInfo render_pass_info; + std::memset(&render_pass_info, 0, sizeof(render_pass_info)); render_pass_info.sType = VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO; render_pass_info.pNext = nullptr; + render_pass_info.flags = 0; render_pass_info.attachmentCount = 5; render_pass_info.pAttachments = attachments; render_pass_info.subpassCount = 1;