• Home
  • Raw
  • Download

Lines Matching refs:pDescriptorWrites

2215 …                                                     const VkWriteDescriptorSet *pDescriptorWrites,  in manual_PreCallValidateUpdateDescriptorSets()  argument
2220 if (pDescriptorWrites != NULL) { in manual_PreCallValidateUpdateDescriptorSets()
2223 if (pDescriptorWrites[i].descriptorCount == 0) { in manual_PreCallValidateUpdateDescriptorSets()
2233 pDescriptorWrites[i].dstSet); in manual_PreCallValidateUpdateDescriptorSets()
2235 if ((pDescriptorWrites[i].descriptorType == VK_DESCRIPTOR_TYPE_SAMPLER) || in manual_PreCallValidateUpdateDescriptorSets()
2236 … (pDescriptorWrites[i].descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER) || in manual_PreCallValidateUpdateDescriptorSets()
2237 (pDescriptorWrites[i].descriptorType == VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE) || in manual_PreCallValidateUpdateDescriptorSets()
2238 (pDescriptorWrites[i].descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_IMAGE) || in manual_PreCallValidateUpdateDescriptorSets()
2239 (pDescriptorWrites[i].descriptorType == VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT)) { in manual_PreCallValidateUpdateDescriptorSets()
2243 if (pDescriptorWrites[i].pImageInfo == nullptr) { in manual_PreCallValidateUpdateDescriptorSets()
2251 } else if (pDescriptorWrites[i].descriptorType != VK_DESCRIPTOR_TYPE_SAMPLER) { in manual_PreCallValidateUpdateDescriptorSets()
2255 … for (uint32_t descriptor_index = 0; descriptor_index < pDescriptorWrites[i].descriptorCount; in manual_PreCallValidateUpdateDescriptorSets()
2260pDescriptorWrites[i].pImageInfo[descriptor_index].imageView); in manual_PreCallValidateUpdateDescriptorSets()
2265pDescriptorWrites[i].pImageInfo[descriptor_index].imageLayout, kVUIDUndefined); in manual_PreCallValidateUpdateDescriptorSets()
2268 } else if ((pDescriptorWrites[i].descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER) || in manual_PreCallValidateUpdateDescriptorSets()
2269 (pDescriptorWrites[i].descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER) || in manual_PreCallValidateUpdateDescriptorSets()
2270 … (pDescriptorWrites[i].descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC) || in manual_PreCallValidateUpdateDescriptorSets()
2271 … (pDescriptorWrites[i].descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC)) { in manual_PreCallValidateUpdateDescriptorSets()
2275 if (pDescriptorWrites[i].pBufferInfo == nullptr) { in manual_PreCallValidateUpdateDescriptorSets()
2284 …for (uint32_t descriptorIndex = 0; descriptorIndex < pDescriptorWrites[i].descriptorCount; ++descr… in manual_PreCallValidateUpdateDescriptorSets()
2288pDescriptorWrites[i].pBufferInfo[descriptorIndex].buffer); in manual_PreCallValidateUpdateDescriptorSets()
2291 … } else if ((pDescriptorWrites[i].descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER) || in manual_PreCallValidateUpdateDescriptorSets()
2292 … (pDescriptorWrites[i].descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER)) { in manual_PreCallValidateUpdateDescriptorSets()
2295 if (pDescriptorWrites[i].pTexelBufferView == nullptr) { in manual_PreCallValidateUpdateDescriptorSets()
2303 … for (uint32_t descriptor_index = 0; descriptor_index < pDescriptorWrites[i].descriptorCount; in manual_PreCallValidateUpdateDescriptorSets()
2308pDescriptorWrites[i].pTexelBufferView[descriptor_index]); in manual_PreCallValidateUpdateDescriptorSets()
2313 if ((pDescriptorWrites[i].descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER) || in manual_PreCallValidateUpdateDescriptorSets()
2314 … (pDescriptorWrites[i].descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC)) { in manual_PreCallValidateUpdateDescriptorSets()
2316 for (uint32_t j = 0; j < pDescriptorWrites[i].descriptorCount; j++) { in manual_PreCallValidateUpdateDescriptorSets()
2317 if (pDescriptorWrites[i].pBufferInfo != NULL) { in manual_PreCallValidateUpdateDescriptorSets()
2318 … if (SafeModulo(pDescriptorWrites[i].pBufferInfo[j].offset, uniformAlignment) != 0) { in manual_PreCallValidateUpdateDescriptorSets()
2324 … i, j, pDescriptorWrites[i].pBufferInfo[j].offset, uniformAlignment); in manual_PreCallValidateUpdateDescriptorSets()
2328 } else if ((pDescriptorWrites[i].descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER) || in manual_PreCallValidateUpdateDescriptorSets()
2329 … (pDescriptorWrites[i].descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC)) { in manual_PreCallValidateUpdateDescriptorSets()
2331 for (uint32_t j = 0; j < pDescriptorWrites[i].descriptorCount; j++) { in manual_PreCallValidateUpdateDescriptorSets()
2332 if (pDescriptorWrites[i].pBufferInfo != NULL) { in manual_PreCallValidateUpdateDescriptorSets()
2333 … if (SafeModulo(pDescriptorWrites[i].pBufferInfo[j].offset, storageAlignment) != 0) { in manual_PreCallValidateUpdateDescriptorSets()
2339 … i, j, pDescriptorWrites[i].pBufferInfo[j].offset, storageAlignment); in manual_PreCallValidateUpdateDescriptorSets()