Lines Matching refs:pNewNode
3502 …e(layer_data *my_data, const VkDevice device, GENERIC_HEADER *pUpdate, GENERIC_HEADER **pNewNode) { in shadowUpdateNode() argument
3509 *pNewNode = (GENERIC_HEADER *)pWDS; in shadowUpdateNode()
3542 *pNewNode = (GENERIC_HEADER *)pCDS; in shadowUpdateNode()
3553 (*pNewNode)->pNext = NULL; in shadowUpdateNode()
4009 GENERIC_HEADER *pNewNode = NULL; in dsUpdate() local
4010 skipCall |= shadowUpdateNode(my_data, device, pUpdate, &pNewNode); in dsUpdate()
4011 if (NULL == pNewNode) { in dsUpdate()
4018 pNewNode->pNext = pSet->pUpdateStructs; in dsUpdate()
4019 pSet->pUpdateStructs = pNewNode; in dsUpdate()
4023 pSet->ppDescriptors[j] = pNewNode; in dsUpdate()
6571 LAYOUT_NODE *pNewNode = new LAYOUT_NODE; in vkCreateDescriptorSetLayout() local
6572 if (NULL == pNewNode) { in vkCreateDescriptorSetLayout()
6578 memcpy((void *)&pNewNode->createInfo, pCreateInfo, sizeof(VkDescriptorSetLayoutCreateInfo)); in vkCreateDescriptorSetLayout()
6579 … pNewNode->createInfo.pBindings = new VkDescriptorSetLayoutBinding[pCreateInfo->bindingCount]; in vkCreateDescriptorSetLayout()
6580 memcpy((void *)pNewNode->createInfo.pBindings, pCreateInfo->pBindings, in vkCreateDescriptorSetLayout()
6584 pNewNode->bindingToIndexMap.reserve(pCreateInfo->bindingCount); in vkCreateDescriptorSetLayout()
6587 if (!pNewNode->bindingToIndexMap.emplace(pCreateInfo->pBindings[i].binding, i).second) { in vkCreateDescriptorSetLayout()
6594 pNewNode->bindingToIndexMap[pCreateInfo->pBindings[i].binding] = i; in vkCreateDescriptorSetLayout()
6598 … VkSampler **ppIS = (VkSampler **)&pNewNode->createInfo.pBindings[i].pImmutableSamplers; in vkCreateDescriptorSetLayout()
6604 pNewNode->layout = *pSetLayout; in vkCreateDescriptorSetLayout()
6605 pNewNode->startIndex = 0; in vkCreateDescriptorSetLayout()
6607 pNewNode->descriptorTypes.resize(totalCount); in vkCreateDescriptorSetLayout()
6608 pNewNode->stageFlags.resize(totalCount); in vkCreateDescriptorSetLayout()
6615 pNewNode->descriptorTypes[offset + j] = dType; in vkCreateDescriptorSetLayout()
6616 pNewNode->stageFlags[offset + j] = pCreateInfo->pBindings[i].stageFlags; in vkCreateDescriptorSetLayout()
6619 pNewNode->dynamicDescriptorCount++; in vkCreateDescriptorSetLayout()
6624 pNewNode->endIndex = pNewNode->startIndex + totalCount - 1; in vkCreateDescriptorSetLayout()
6626 pNewNode->endIndex = 0; in vkCreateDescriptorSetLayout()
6630 dev_data->descriptorSetLayoutMap[*pSetLayout] = pNewNode; in vkCreateDescriptorSetLayout()
6694 DESCRIPTOR_POOL_NODE *pNewNode = new DESCRIPTOR_POOL_NODE(*pDescriptorPool, pCreateInfo); in vkCreateDescriptorPool() local
6695 if (NULL == pNewNode) { in vkCreateDescriptorPool()
6702 dev_data->descriptorPoolMap[*pDescriptorPool] = pNewNode; in vkCreateDescriptorPool()
6758 SET_NODE *pNewNode = new SET_NODE; in vkAllocateDescriptorSets() local
6759 if (NULL == pNewNode) { in vkAllocateDescriptorSets()
6770 pNewNode->pNext = pPoolNode->pSets; in vkAllocateDescriptorSets()
6771 pNewNode->in_use.store(0); in vkAllocateDescriptorSets()
6772 pPoolNode->pSets = pNewNode; in vkAllocateDescriptorSets()
6783 pNewNode->pLayout = pLayout; in vkAllocateDescriptorSets()
6784 pNewNode->pool = pAllocateInfo->descriptorPool; in vkAllocateDescriptorSets()
6785 pNewNode->set = pDescriptorSets[i]; in vkAllocateDescriptorSets()
6786 … pNewNode->descriptorCount = (pLayout->createInfo.bindingCount != 0) ? pLayout->endIndex + 1 : 0; in vkAllocateDescriptorSets()
6787 if (pNewNode->descriptorCount) { in vkAllocateDescriptorSets()
6788 … size_t descriptorArraySize = sizeof(GENERIC_HEADER *) * pNewNode->descriptorCount; in vkAllocateDescriptorSets()
6789 pNewNode->ppDescriptors = new GENERIC_HEADER *[descriptorArraySize]; in vkAllocateDescriptorSets()
6790 memset(pNewNode->ppDescriptors, 0, descriptorArraySize); in vkAllocateDescriptorSets()
6792 dev_data->setMap[pDescriptorSets[i]] = pNewNode; in vkAllocateDescriptorSets()