Home | History | Annotate | Download | only in layers

Lines Matching full:pset

2338 static bool verify_set_layout_compatibility(layer_data *my_data, const SET_NODE *pSet, const VkPipelineLayout layout,
2356 if (pLayoutNode->layout == pSet->pLayout->layout) { // trivial pass case
2360 if (descriptorCount != pSet->pLayout->descriptorTypes.size()) {
2362 << " descriptors, but corresponding set being bound has " << pSet->pLayout->descriptorTypes.size()
2372 if (pLayoutNode->descriptorTypes[i] != pSet->pLayout->descriptorTypes[i]) {
2374 << string_VkDescriptorType(pSet->pLayout->descriptorTypes[i])
2380 if (pLayoutNode->stageFlags[i] != pSet->pLayout->stageFlags[i]) {
2381 errorStr << "stageFlags " << i << " for descriptorSet being bound is " << pSet->pLayout->stageFlags[i]
2927 SET_NODE *pSet = my_data->setMap[state.boundDescriptorSets[setIndex]];
2929 activeSetNodes.push_back(pSet);
2931 if (!pSet->pUpdateStructs) {
2933 VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_SET_EXT, (uint64_t)pSet->set, __LINE__,
2937 (uint64_t)pSet->set);
3943 static void invalidateBoundCmdBuffers(layer_data *dev_data, const SET_NODE *pSet) {
3945 for (auto cb : pSet->boundCmdBuffers) {
3963 SET_NODE *pSet = my_data->setMap[ds];
3968 invalidateBoundCmdBuffers(my_data, pSet);
3970 pLayout = pSet->pLayout;
4018 pNewNode->pNext = pSet->pUpdateStructs;
4019 pSet->pUpdateStructs = pNewNode;
4022 assert(j < pSet->descriptorCount);
4023 pSet->ppDescriptors[j] = pNewNode;
4161 static void freeShadowUpdateTree(SET_NODE *pSet) {
4162 GENERIC_HEADER *pShadowUpdate = pSet->pUpdateStructs;
4163 pSet->pUpdateStructs = NULL;
4166 memset(pSet->ppDescriptors, 0, pSet->descriptorCount * sizeof(GENERIC_HEADER *));
4211 SET_NODE *pSet = (*ii).second->pSets;
4212 SET_NODE *pFreeSet = pSet;
4213 while (pSet) {
4214 pFreeSet = pSet;
4215 pSet = pSet->pNext;
4248 SET_NODE *pSet = getSetNode(my_data, set);
4249 if (!pSet) {
4252 freeShadowUpdateTree(pSet);
4266 SET_NODE *pSet = pPool->pSets;
4267 while (pSet) {
4268 clearDescriptorSet(my_data, pSet->set);
4269 pSet = pSet->pNext;
6829 SET_NODE *pSet = dev_data->setMap[pDescriptorSets[i]]; // getSetNode() without locking
6830 invalidateBoundCmdBuffers(dev_data, pSet);
6831 LAYOUT_NODE *pLayout = pSet->pLayout;
7337 SET_NODE *pSet = getSetNode(dev_data, pDescriptorSets[i]);
7338 if (pSet) {
7340 pSet->boundCmdBuffers.insert(commandBuffer);
7347 if (!pSet->pUpdateStructs && (pSet->descriptorCount != 0)) {
7356 if (!verify_set_layout_compatibility(dev_data, pSet, layout, i + firstSet, errorString)) {
7364 if (pSet->pLayout->dynamicDescriptorCount) {
7366 if ((totalDynamicDescriptors + pSet->pLayout->dynamicDescriptorCount) > dynamicOffsetCount) {
7374 i, (uint64_t)pDescriptorSets[i], pSet->pLayout->dynamicDescriptorCount,
7379 for (uint32_t d = 0; d < pSet->descriptorCount; d++) {
7380 if (pSet->pLayout->descriptorTypes[d] == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC) {
7395 } else if (pSet->pLayout->descriptorTypes[d] == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC) {
7413 totalDynamicDescriptors += pSet->pLayout->dynamicDescriptorCount;