Add missing fields to VkRenderPassCreateInfo2KHR struct

This commit is contained in:
Bastiaan Olij 2022-07-20 12:52:37 +10:00
parent e44a2f1680
commit b9c94f6780
1 changed files with 2 additions and 0 deletions

View File

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