diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-07-20 09:07:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-20 09:07:59 +0200 |
commit | 7378dc6c902496dd18d18a519009e45521d8269a (patch) | |
tree | c18cac159b0f4a14734fefbdc08137e04af9b003 /drivers/vulkan/rendering_device_vulkan.cpp | |
parent | e44a2f16805b09a9a858ba5e8ebec7e598feb4d8 (diff) | |
parent | b9c94f67803cffac3079d15aff3b2c415e291679 (diff) |
Merge pull request #63221 from BastiaanOlij/fix_createinfo_struct
Add missing fields to VkRenderPassCreateInfo2KHR struct
Diffstat (limited to 'drivers/vulkan/rendering_device_vulkan.cpp')
-rw-r--r-- | drivers/vulkan/rendering_device_vulkan.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/vulkan/rendering_device_vulkan.cpp b/drivers/vulkan/rendering_device_vulkan.cpp index e8b443cceb..7843bbe91a 100644 --- a/drivers/vulkan/rendering_device_vulkan.cpp +++ b/drivers/vulkan/rendering_device_vulkan.cpp @@ -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); |