Lines Matching refs:pCreateInfo
31 const VkRenderPassCreateInfo* pCreateInfo,
40 assert(pCreateInfo->sType == VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO);
43 size += pCreateInfo->subpassCount * sizeof(pass->subpasses[0]);
45 size += pCreateInfo->attachmentCount * sizeof(pass->attachments[0]);
53 pass->attachment_count = pCreateInfo->attachmentCount;
54 pass->subpass_count = pCreateInfo->subpassCount;
57 for (uint32_t i = 0; i < pCreateInfo->attachmentCount; i++) {
60 att->format = pCreateInfo->pAttachments[i].format;
61 att->samples = pCreateInfo->pAttachments[i].samples;
62 att->load_op = pCreateInfo->pAttachments[i].loadOp;
63 att->stencil_load_op = pCreateInfo->pAttachments[i].stencilLoadOp;
64 att->initial_layout = pCreateInfo->pAttachments[i].initialLayout;
65 att->final_layout = pCreateInfo->pAttachments[i].finalLayout;
66 // att->store_op = pCreateInfo->pAttachments[i].storeOp;
67 // att->stencil_store_op = pCreateInfo->pAttachments[i].stencilStoreOp;
71 for (uint32_t i = 0; i < pCreateInfo->subpassCount; i++) {
72 const VkSubpassDescription *desc = &pCreateInfo->pSubpasses[i];
94 for (uint32_t i = 0; i < pCreateInfo->subpassCount; i++) {
95 const VkSubpassDescription *desc = &pCreateInfo->pSubpasses[i];
143 for (unsigned i = 0; i < pCreateInfo->dependencyCount; ++i) {
144 uint32_t dst = pCreateInfo->pDependencies[i].dstSubpass;
146 pass->end_barrier.src_stage_mask = pCreateInfo->pDependencies[i].srcStageMask;
147 pass->end_barrier.src_access_mask = pCreateInfo->pDependencies[i].srcAccessMask;
148 pass->end_barrier.dst_access_mask = pCreateInfo->pDependencies[i].dstAccessMask;
150 pass->subpasses[dst].start_barrier.src_stage_mask = pCreateInfo->pDependencies[i].srcStageMask;
151 pass->subpasses[dst].start_barrier.src_access_mask = pCreateInfo->pDependencies[i].srcAccessMask;
152 pass->subpasses[dst].start_barrier.dst_access_mask = pCreateInfo->pDependencies[i].dstAccessMask;