Merge pull request #63221 from BastiaanOlij/fix_createinfo_struct

Add missing fields to VkRenderPassCreateInfo2KHR struct
This commit is contained in:
Rémi Verschelde 2022-07-20 09:07:59 +02:00 committed by GitHub
commit 7378dc6c90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4016,6 +4016,8 @@ RenderingDevice::FramebufferFormatID RenderingDeviceVulkan::framebuffer_format_c
render_pass_create_info.pSubpasses = &subpass;
render_pass_create_info.dependencyCount = 0;
render_pass_create_info.pDependencies = nullptr;
render_pass_create_info.correlatedViewMaskCount = 0;
render_pass_create_info.pCorrelatedViewMasks = nullptr;
VkRenderPass render_pass;
VkResult res = context->vkCreateRenderPass2KHR(device, &render_pass_create_info, nullptr, &render_pass);