Lines Matching refs:in_struct
27 static void ConvertVkAttachmentReferenceToV2KHR(const VkAttachmentReference* in_struct, in ConvertVkAttachmentReferenceToV2KHR() argument
31 out_struct->attachment = in_struct->attachment; in ConvertVkAttachmentReferenceToV2KHR()
32 out_struct->layout = in_struct->layout; in ConvertVkAttachmentReferenceToV2KHR()
37 static void ConvertVkSubpassDependencyToV2KHR(const VkSubpassDependency* in_struct, safe_VkSubpassD… in ConvertVkSubpassDependencyToV2KHR() argument
40 out_struct->srcSubpass = in_struct->srcSubpass; in ConvertVkSubpassDependencyToV2KHR()
41 out_struct->dstSubpass = in_struct->dstSubpass; in ConvertVkSubpassDependencyToV2KHR()
42 out_struct->srcStageMask = in_struct->srcStageMask; in ConvertVkSubpassDependencyToV2KHR()
43 out_struct->dstStageMask = in_struct->dstStageMask; in ConvertVkSubpassDependencyToV2KHR()
44 out_struct->srcAccessMask = in_struct->srcAccessMask; in ConvertVkSubpassDependencyToV2KHR()
45 out_struct->dstAccessMask = in_struct->dstAccessMask; in ConvertVkSubpassDependencyToV2KHR()
46 out_struct->dependencyFlags = in_struct->dependencyFlags; in ConvertVkSubpassDependencyToV2KHR()
50 static void ConvertVkSubpassDescriptionToV2KHR(const VkSubpassDescription* in_struct, safe_VkSubpas… in ConvertVkSubpassDescriptionToV2KHR() argument
53 out_struct->flags = in_struct->flags; in ConvertVkSubpassDescriptionToV2KHR()
54 out_struct->pipelineBindPoint = in_struct->pipelineBindPoint; in ConvertVkSubpassDescriptionToV2KHR()
56 out_struct->inputAttachmentCount = in_struct->inputAttachmentCount; in ConvertVkSubpassDescriptionToV2KHR()
58 out_struct->colorAttachmentCount = in_struct->colorAttachmentCount; in ConvertVkSubpassDescriptionToV2KHR()
61 out_struct->preserveAttachmentCount = in_struct->preserveAttachmentCount; in ConvertVkSubpassDescriptionToV2KHR()
64 if (out_struct->inputAttachmentCount && in_struct->pInputAttachments) { in ConvertVkSubpassDescriptionToV2KHR()
67 …ConvertVkAttachmentReferenceToV2KHR(&in_struct->pInputAttachments[i], &out_struct->pInputAttachmen… in ConvertVkSubpassDescriptionToV2KHR()
70 if (out_struct->colorAttachmentCount && in_struct->pColorAttachments) { in ConvertVkSubpassDescriptionToV2KHR()
73 …ConvertVkAttachmentReferenceToV2KHR(&in_struct->pColorAttachments[i], &out_struct->pColorAttachmen… in ConvertVkSubpassDescriptionToV2KHR()
76 if (out_struct->colorAttachmentCount && in_struct->pResolveAttachments) { in ConvertVkSubpassDescriptionToV2KHR()
79 …ConvertVkAttachmentReferenceToV2KHR(&in_struct->pResolveAttachments[i], &out_struct->pResolveAttac… in ConvertVkSubpassDescriptionToV2KHR()
82 if (in_struct->pDepthStencilAttachment) { in ConvertVkSubpassDescriptionToV2KHR()
84 …ConvertVkAttachmentReferenceToV2KHR(in_struct->pDepthStencilAttachment, out_struct->pDepthStencilA… in ConvertVkSubpassDescriptionToV2KHR()
88 if (in_struct->pPreserveAttachments) { in ConvertVkSubpassDescriptionToV2KHR()
89 out_struct->pPreserveAttachments = new uint32_t[in_struct->preserveAttachmentCount]; in ConvertVkSubpassDescriptionToV2KHR()
90 memcpy((void*)out_struct->pPreserveAttachments, (void*)in_struct->pPreserveAttachments, in ConvertVkSubpassDescriptionToV2KHR()
91 sizeof(uint32_t) * in_struct->preserveAttachmentCount); in ConvertVkSubpassDescriptionToV2KHR()
95 static void ConvertVkAttachmentDescriptionToV2KHR(const VkAttachmentDescription* in_struct, in ConvertVkAttachmentDescriptionToV2KHR() argument
99 out_struct->flags = in_struct->flags; in ConvertVkAttachmentDescriptionToV2KHR()
100 out_struct->format = in_struct->format; in ConvertVkAttachmentDescriptionToV2KHR()
101 out_struct->samples = in_struct->samples; in ConvertVkAttachmentDescriptionToV2KHR()
102 out_struct->loadOp = in_struct->loadOp; in ConvertVkAttachmentDescriptionToV2KHR()
103 out_struct->storeOp = in_struct->storeOp; in ConvertVkAttachmentDescriptionToV2KHR()
104 out_struct->stencilLoadOp = in_struct->stencilLoadOp; in ConvertVkAttachmentDescriptionToV2KHR()
105 out_struct->stencilStoreOp = in_struct->stencilStoreOp; in ConvertVkAttachmentDescriptionToV2KHR()
106 out_struct->initialLayout = in_struct->initialLayout; in ConvertVkAttachmentDescriptionToV2KHR()
107 out_struct->finalLayout = in_struct->finalLayout; in ConvertVkAttachmentDescriptionToV2KHR()
110 void ConvertVkRenderPassCreateInfoToV2KHR(const VkRenderPassCreateInfo* in_struct, safe_VkRenderPas… in ConvertVkRenderPassCreateInfoToV2KHR() argument
113 out_struct->flags = in_struct->flags; in ConvertVkRenderPassCreateInfoToV2KHR()
114 out_struct->attachmentCount = in_struct->attachmentCount; in ConvertVkRenderPassCreateInfoToV2KHR()
116 out_struct->subpassCount = in_struct->subpassCount; in ConvertVkRenderPassCreateInfoToV2KHR()
118 out_struct->dependencyCount = in_struct->dependencyCount; in ConvertVkRenderPassCreateInfoToV2KHR()
122 if (out_struct->attachmentCount && in_struct->pAttachments) { in ConvertVkRenderPassCreateInfoToV2KHR()
125 … ConvertVkAttachmentDescriptionToV2KHR(&in_struct->pAttachments[i], &out_struct->pAttachments[i]); in ConvertVkRenderPassCreateInfoToV2KHR()
128 if (out_struct->subpassCount && in_struct->pSubpasses) { in ConvertVkRenderPassCreateInfoToV2KHR()
131 … ConvertVkSubpassDescriptionToV2KHR(&in_struct->pSubpasses[i], &out_struct->pSubpasses[i]); in ConvertVkRenderPassCreateInfoToV2KHR()
134 if (out_struct->dependencyCount && in_struct->pDependencies) { in ConvertVkRenderPassCreateInfoToV2KHR()
137 … ConvertVkSubpassDependencyToV2KHR(&in_struct->pDependencies[i], &out_struct->pDependencies[i]); in ConvertVkRenderPassCreateInfoToV2KHR()
142 if (in_struct->pNext) { in ConvertVkRenderPassCreateInfoToV2KHR()
144 lvl_find_in_chain<VkRenderPassMultiviewCreateInfo>(in_struct->pNext); in ConvertVkRenderPassCreateInfoToV2KHR()
147 if (subpass < in_struct->subpassCount) { in ConvertVkRenderPassCreateInfoToV2KHR()
152 if (dependency < in_struct->dependencyCount) { in ConvertVkRenderPassCreateInfoToV2KHR()
166 lvl_find_in_chain<VkRenderPassInputAttachmentAspectCreateInfo>(in_struct->pNext); in ConvertVkRenderPassCreateInfoToV2KHR()
172 …if (subpass < in_struct->subpassCount && attachment < in_struct->pSubpasses[subpass].inputAttachme… in ConvertVkRenderPassCreateInfoToV2KHR()