#include "convert_utils.h"
#include <vector>
#include <vulkan/utility/vk_format_utils.h>
#include <vulkan/utility/vk_struct_helper.hpp>
static vku::safe_VkAttachmentDescription2 ToV2KHR(const VkAttachmentDescription& in_struct) { … }
static vku::safe_VkAttachmentReference2 ToV2KHR(const VkAttachmentReference& in_struct, const VkImageAspectFlags aspectMask = 0) { … }
static vku::safe_VkSubpassDescription2 ToV2KHR(const VkSubpassDescription& in_struct, const uint32_t viewMask,
const VkImageAspectFlags* color_attachment_aspect_masks,
const VkImageAspectFlags ds_attachment_aspect_mask,
const VkImageAspectFlags* input_attachment_aspect_masks) { … }
static vku::safe_VkSubpassDependency2 ToV2KHR(const VkSubpassDependency& in_struct, int32_t viewOffset = 0) { … }
vku::safe_VkRenderPassCreateInfo2 ConvertVkRenderPassCreateInfoToV2KHR(const VkRenderPassCreateInfo& create_info) { … }
vku::safe_VkImageMemoryBarrier2 ConvertVkImageMemoryBarrierToV2(const VkImageMemoryBarrier& barrier,
VkPipelineStageFlags2 srcStageMask,
VkPipelineStageFlags2 dstStageMask) { … }
SubmitInfoConverter::SubmitInfoConverter(const VkSubmitInfo* submit_infos, uint32_t count) { … }