• Home
  • Raw
  • Download

Lines Matching refs:subpasses

157 	subpasses = reinterpret_cast<VkSubpassDescription *>(hostMemory);  in init()
158 CopySubpasses(subpasses, pCreateInfo->pSubpasses, pCreateInfo->subpassCount); in init()
232 subpasses[i].pInputAttachments = reinterpret_cast<VkAttachmentReference *>(hostMemory); in init()
233 CopyAttachmentReferences(const_cast<VkAttachmentReference *>(subpasses[i].pInputAttachments), in init()
237 for(auto j = 0u; j < subpasses[i].inputAttachmentCount; j++) in init()
247 subpasses[i].pColorAttachments = reinterpret_cast<VkAttachmentReference *>(hostMemory); in init()
248 CopyAttachmentReferences(const_cast<VkAttachmentReference *>(subpasses[i].pColorAttachments), in init()
254 subpasses[i].pResolveAttachments = reinterpret_cast<VkAttachmentReference *>(hostMemory); in init()
255 CopyAttachmentReferences(const_cast<VkAttachmentReference *>(subpasses[i].pResolveAttachments), in init()
260 for(auto j = 0u; j < subpasses[i].colorAttachmentCount; j++) in init()
272 subpasses[i].pDepthStencilAttachment = reinterpret_cast<VkAttachmentReference *>(hostMemory); in init()
273 …CopyAttachmentReferences(const_cast<VkAttachmentReference *>(subpasses[i].pDepthStencilAttachment), in init()
284 subpasses[i].pPreserveAttachments = reinterpret_cast<uint32_t *>(hostMemory); in init()
287 …const_cast<uint32_t *>(subpasses[i].pPreserveAttachments)[j] = pCreateInfo->pSubpasses[i].pPreserv… in init()
291 for(auto j = 0u; j < subpasses[i].preserveAttachmentCount; j++) in init()
308 vk::deallocate(subpasses, pAllocator); // attachments and dependencies are in the same allocation in destroy()