Lines Matching refs:pDescriptorWrites
1912 … const VkWriteDescriptorSet *pDescriptorWrites, in manual_PreCallValidateUpdateDescriptorSets() argument
1917 if (pDescriptorWrites != NULL) { in manual_PreCallValidateUpdateDescriptorSets()
1920 if (pDescriptorWrites[i].descriptorCount == 0) { in manual_PreCallValidateUpdateDescriptorSets()
1930 pDescriptorWrites[i].dstSet); in manual_PreCallValidateUpdateDescriptorSets()
1932 if ((pDescriptorWrites[i].descriptorType == VK_DESCRIPTOR_TYPE_SAMPLER) || in manual_PreCallValidateUpdateDescriptorSets()
1933 … (pDescriptorWrites[i].descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER) || in manual_PreCallValidateUpdateDescriptorSets()
1934 (pDescriptorWrites[i].descriptorType == VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE) || in manual_PreCallValidateUpdateDescriptorSets()
1935 (pDescriptorWrites[i].descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_IMAGE) || in manual_PreCallValidateUpdateDescriptorSets()
1936 (pDescriptorWrites[i].descriptorType == VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT)) { in manual_PreCallValidateUpdateDescriptorSets()
1940 if (pDescriptorWrites[i].pImageInfo == nullptr) { in manual_PreCallValidateUpdateDescriptorSets()
1948 } else if (pDescriptorWrites[i].descriptorType != VK_DESCRIPTOR_TYPE_SAMPLER) { in manual_PreCallValidateUpdateDescriptorSets()
1952 … for (uint32_t descriptor_index = 0; descriptor_index < pDescriptorWrites[i].descriptorCount; in manual_PreCallValidateUpdateDescriptorSets()
1957 … pDescriptorWrites[i].pImageInfo[descriptor_index].imageView); in manual_PreCallValidateUpdateDescriptorSets()
1962 … pDescriptorWrites[i].pImageInfo[descriptor_index].imageLayout, kVUIDUndefined); in manual_PreCallValidateUpdateDescriptorSets()
1965 } else if ((pDescriptorWrites[i].descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER) || in manual_PreCallValidateUpdateDescriptorSets()
1966 (pDescriptorWrites[i].descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER) || in manual_PreCallValidateUpdateDescriptorSets()
1967 … (pDescriptorWrites[i].descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC) || in manual_PreCallValidateUpdateDescriptorSets()
1968 … (pDescriptorWrites[i].descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC)) { in manual_PreCallValidateUpdateDescriptorSets()
1972 if (pDescriptorWrites[i].pBufferInfo == nullptr) { in manual_PreCallValidateUpdateDescriptorSets()
1981 …for (uint32_t descriptorIndex = 0; descriptorIndex < pDescriptorWrites[i].descriptorCount; ++descr… in manual_PreCallValidateUpdateDescriptorSets()
1985 … pDescriptorWrites[i].pBufferInfo[descriptorIndex].buffer); in manual_PreCallValidateUpdateDescriptorSets()
1988 … } else if ((pDescriptorWrites[i].descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER) || in manual_PreCallValidateUpdateDescriptorSets()
1989 … (pDescriptorWrites[i].descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER)) { in manual_PreCallValidateUpdateDescriptorSets()
1992 if (pDescriptorWrites[i].pTexelBufferView == nullptr) { in manual_PreCallValidateUpdateDescriptorSets()
2000 … for (uint32_t descriptor_index = 0; descriptor_index < pDescriptorWrites[i].descriptorCount; in manual_PreCallValidateUpdateDescriptorSets()
2005 … pDescriptorWrites[i].pTexelBufferView[descriptor_index]); in manual_PreCallValidateUpdateDescriptorSets()
2010 if ((pDescriptorWrites[i].descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER) || in manual_PreCallValidateUpdateDescriptorSets()
2011 … (pDescriptorWrites[i].descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC)) { in manual_PreCallValidateUpdateDescriptorSets()
2013 for (uint32_t j = 0; j < pDescriptorWrites[i].descriptorCount; j++) { in manual_PreCallValidateUpdateDescriptorSets()
2014 if (pDescriptorWrites[i].pBufferInfo != NULL) { in manual_PreCallValidateUpdateDescriptorSets()
2015 … if (SafeModulo(pDescriptorWrites[i].pBufferInfo[j].offset, uniformAlignment) != 0) { in manual_PreCallValidateUpdateDescriptorSets()
2021 … i, j, pDescriptorWrites[i].pBufferInfo[j].offset, uniformAlignment); in manual_PreCallValidateUpdateDescriptorSets()
2025 } else if ((pDescriptorWrites[i].descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER) || in manual_PreCallValidateUpdateDescriptorSets()
2026 … (pDescriptorWrites[i].descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC)) { in manual_PreCallValidateUpdateDescriptorSets()
2028 for (uint32_t j = 0; j < pDescriptorWrites[i].descriptorCount; j++) { in manual_PreCallValidateUpdateDescriptorSets()
2029 if (pDescriptorWrites[i].pBufferInfo != NULL) { in manual_PreCallValidateUpdateDescriptorSets()
2030 … if (SafeModulo(pDescriptorWrites[i].pBufferInfo[j].offset, storageAlignment) != 0) { in manual_PreCallValidateUpdateDescriptorSets()
2036 … i, j, pDescriptorWrites[i].pBufferInfo[j].offset, storageAlignment); in manual_PreCallValidateUpdateDescriptorSets()