Lines Matching refs:pCapabilities
1319 VkSurfaceCapabilitiesKHR *pCapabilities = &pPhysicalDevice->surfaceCapabilities; in validateCreateSwapchainKHR() local
1320 if ((pCreateInfo->minImageCount < pCapabilities->minImageCount) || in validateCreateSwapchainKHR()
1321 …((pCapabilities->maxImageCount > 0) && (pCreateInfo->minImageCount > pCapabilities->maxImageCount)… in validateCreateSwapchainKHR()
1327 … fn, pCreateInfo->minImageCount, pCapabilities->minImageCount, pCapabilities->maxImageCount); in validateCreateSwapchainKHR()
1331 if ((pCapabilities->currentExtent.width == -1) && in validateCreateSwapchainKHR()
1332 ((pCreateInfo->imageExtent.width < pCapabilities->minImageExtent.width) || in validateCreateSwapchainKHR()
1333 (pCreateInfo->imageExtent.width > pCapabilities->maxImageExtent.width) || in validateCreateSwapchainKHR()
1334 (pCreateInfo->imageExtent.height < pCapabilities->minImageExtent.height) || in validateCreateSwapchainKHR()
1335 (pCreateInfo->imageExtent.height > pCapabilities->maxImageExtent.height))) { in validateCreateSwapchainKHR()
1343 …fn, pCreateInfo->imageExtent.width, pCreateInfo->imageExtent.height, pCapabilities->currentExtent.… in validateCreateSwapchainKHR()
1344 …pCapabilities->currentExtent.height, pCapabilities->minImageExtent.width, pCapabilities->minImageE… in validateCreateSwapchainKHR()
1345 pCapabilities->maxImageExtent.width, pCapabilities->maxImageExtent.height); in validateCreateSwapchainKHR()
1347 if ((pCapabilities->currentExtent.width != -1) && in validateCreateSwapchainKHR()
1348 ((pCreateInfo->imageExtent.width != pCapabilities->currentExtent.width) || in validateCreateSwapchainKHR()
1349 (pCreateInfo->imageExtent.height != pCapabilities->currentExtent.height))) { in validateCreateSwapchainKHR()
1356 … pCapabilities->currentExtent.width, pCapabilities->currentExtent.height); in validateCreateSwapchainKHR()
1362 !(pCreateInfo->preTransform & pCapabilities->supportedTransforms)) { in validateCreateSwapchainKHR()
1376 if ((1 << i) & pCapabilities->supportedTransforms) { in validateCreateSwapchainKHR()
1391 !((pCreateInfo->compositeAlpha) & pCapabilities->supportedCompositeAlpha)) { in validateCreateSwapchainKHR()
1405 if ((1 << i) & pCapabilities->supportedCompositeAlpha) { in validateCreateSwapchainKHR()
1418 …if ((pCreateInfo->imageArrayLayers < 1) || (pCreateInfo->imageArrayLayers > pCapabilities->maxImag… in validateCreateSwapchainKHR()
1423 … fn, pCreateInfo->imageArrayLayers, pCapabilities->maxImageArrayLayers); in validateCreateSwapchainKHR()
1427 … if (pCreateInfo->imageUsage != (pCreateInfo->imageUsage & pCapabilities->supportedUsageFlags)) { in validateCreateSwapchainKHR()
1432 fn, pCreateInfo->imageUsage, pCapabilities->supportedUsageFlags); in validateCreateSwapchainKHR()