• Home
  • Raw
  • Download

Lines Matching refs:pCreateInfo

79 …ateDeviceRegisterExtensions(VkPhysicalDevice physicalDevice, const VkDeviceCreateInfo *pCreateInfo,  in createDeviceRegisterExtensions()  argument
112 for (i = 0; i < pCreateInfo->enabledExtensionCount; i++) { in createDeviceRegisterExtensions()
113 if (strcmp(pCreateInfo->ppEnabledExtensionNames[i], VK_KHR_SWAPCHAIN_EXTENSION_NAME) == 0) { in createDeviceRegisterExtensions()
120 static void createInstanceRegisterExtensions(const VkInstanceCreateInfo *pCreateInfo, VkInstance in… in createInstanceRegisterExtensions() argument
189 for (i = 0; i < pCreateInfo->enabledExtensionCount; i++) { in createInstanceRegisterExtensions()
190 if (strcmp(pCreateInfo->ppEnabledExtensionNames[i], VK_KHR_SURFACE_EXTENSION_NAME) == 0) { in createInstanceRegisterExtensions()
195 … if (strcmp(pCreateInfo->ppEnabledExtensionNames[i], VK_KHR_ANDROID_SURFACE_EXTENSION_NAME) == 0) { in createInstanceRegisterExtensions()
201 … if (strcmp(pCreateInfo->ppEnabledExtensionNames[i], VK_KHR_MIR_SURFACE_EXTENSION_NAME) == 0) { in createInstanceRegisterExtensions()
207 … if (strcmp(pCreateInfo->ppEnabledExtensionNames[i], VK_KHR_WAYLAND_SURFACE_EXTENSION_NAME) == 0) { in createInstanceRegisterExtensions()
213 … if (strcmp(pCreateInfo->ppEnabledExtensionNames[i], VK_KHR_WIN32_SURFACE_EXTENSION_NAME) == 0) { in createInstanceRegisterExtensions()
219 … if (strcmp(pCreateInfo->ppEnabledExtensionNames[i], VK_KHR_XCB_SURFACE_EXTENSION_NAME) == 0) { in createInstanceRegisterExtensions()
225 … if (strcmp(pCreateInfo->ppEnabledExtensionNames[i], VK_KHR_XLIB_SURFACE_EXTENSION_NAME) == 0) { in createInstanceRegisterExtensions()
265 vkCreateInstance(const VkInstanceCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, … in vkCreateInstance() argument
266 VkLayerInstanceCreateInfo *chain_info = get_chain_info(pCreateInfo, VK_LAYER_LINK_INFO); in vkCreateInstance()
278 VkResult result = fpCreateInstance(pCreateInfo, pAllocator, pInstance); in vkCreateInstance()
288pCreateInfo->enabledExtensionCount, pCreateInfo->ppEnabledExtensionNames); in vkCreateInstance()
291 createInstanceRegisterExtensions(pCreateInfo, *pInstance); in vkCreateInstance()
385 vkCreateAndroidSurfaceKHR(VkInstance instance, const VkAndroidSurfaceCreateInfoKHR *pCreateInfo, in vkCreateAndroidSurfaceKHR() argument
400 if (!pCreateInfo) { in vkCreateAndroidSurfaceKHR()
403 if (pCreateInfo->sType != VK_STRUCTURE_TYPE_ANDROID_SURFACE_CREATE_INFO_KHR) { in vkCreateAndroidSurfaceKHR()
407 if (pCreateInfo->pNext != NULL) { in vkCreateAndroidSurfaceKHR()
415 …result = my_data->instance_dispatch_table->CreateAndroidSurfaceKHR(instance, pCreateInfo, pAllocat… in vkCreateAndroidSurfaceKHR()
440 vkCreateMirSurfaceKHR(VkInstance instance, const VkMirSurfaceCreateInfoKHR *pCreateInfo, const VkAl… in vkCreateMirSurfaceKHR() argument
455 if (!pCreateInfo) { in vkCreateMirSurfaceKHR()
458 if (pCreateInfo->sType != VK_STRUCTURE_TYPE_MIR_SURFACE_CREATE_INFO_KHR) { in vkCreateMirSurfaceKHR()
462 if (pCreateInfo->pNext != NULL) { in vkCreateMirSurfaceKHR()
470 …result = my_data->instance_dispatch_table->CreateMirSurfaceKHR(instance, pCreateInfo, pAllocator, … in vkCreateMirSurfaceKHR()
526 vkCreateWaylandSurfaceKHR(VkInstance instance, const VkWaylandSurfaceCreateInfoKHR *pCreateInfo, in vkCreateWaylandSurfaceKHR() argument
541 if (!pCreateInfo) { in vkCreateWaylandSurfaceKHR()
544 if (pCreateInfo->sType != VK_STRUCTURE_TYPE_WAYLAND_SURFACE_CREATE_INFO_KHR) { in vkCreateWaylandSurfaceKHR()
548 if (pCreateInfo->pNext != NULL) { in vkCreateWaylandSurfaceKHR()
556 …result = my_data->instance_dispatch_table->CreateWaylandSurfaceKHR(instance, pCreateInfo, pAllocat… in vkCreateWaylandSurfaceKHR()
612 vkCreateWin32SurfaceKHR(VkInstance instance, const VkWin32SurfaceCreateInfoKHR *pCreateInfo, in vkCreateWin32SurfaceKHR() argument
627 if (!pCreateInfo) { in vkCreateWin32SurfaceKHR()
630 if (pCreateInfo->sType != VK_STRUCTURE_TYPE_WIN32_SURFACE_CREATE_INFO_KHR) { in vkCreateWin32SurfaceKHR()
634 if (pCreateInfo->pNext != NULL) { in vkCreateWin32SurfaceKHR()
642 …result = my_data->instance_dispatch_table->CreateWin32SurfaceKHR(instance, pCreateInfo, pAllocator… in vkCreateWin32SurfaceKHR()
696 vkCreateXcbSurfaceKHR(VkInstance instance, const VkXcbSurfaceCreateInfoKHR *pCreateInfo, const VkAl… in vkCreateXcbSurfaceKHR() argument
711 if (!pCreateInfo) { in vkCreateXcbSurfaceKHR()
714 if (pCreateInfo->sType != VK_STRUCTURE_TYPE_XCB_SURFACE_CREATE_INFO_KHR) { in vkCreateXcbSurfaceKHR()
718 if (pCreateInfo->pNext != NULL) { in vkCreateXcbSurfaceKHR()
726 …result = my_data->instance_dispatch_table->CreateXcbSurfaceKHR(instance, pCreateInfo, pAllocator, … in vkCreateXcbSurfaceKHR()
782 vkCreateXlibSurfaceKHR(VkInstance instance, const VkXlibSurfaceCreateInfoKHR *pCreateInfo, const Vk… in vkCreateXlibSurfaceKHR() argument
797 if (!pCreateInfo) { in vkCreateXlibSurfaceKHR()
800 if (pCreateInfo->sType != VK_STRUCTURE_TYPE_XLIB_SURFACE_CREATE_INFO_KHR) { in vkCreateXlibSurfaceKHR()
804 if (pCreateInfo->pNext != NULL) { in vkCreateXlibSurfaceKHR()
812 …result = my_data->instance_dispatch_table->CreateXlibSurfaceKHR(instance, pCreateInfo, pAllocator,… in vkCreateXlibSurfaceKHR()
947 const VkDeviceCreateInfo *pCreateInfo, in vkCreateDevice() argument
949 VkLayerDeviceCreateInfo *chain_info = get_chain_info(pCreateInfo, VK_LAYER_LINK_INFO); in vkCreateDevice()
962 VkResult result = fpCreateDevice(physicalDevice, pCreateInfo, pAllocator, pDevice); in vkCreateDevice()
976 createDeviceRegisterExtensions(physicalDevice, pCreateInfo, *pDevice); in vkCreateDevice()
1251 …c VkBool32 validateCreateSwapchainKHR(VkDevice device, const VkSwapchainCreateInfoKHR *pCreateInfo, in validateCreateSwapchainKHR() argument
1266 if (!pCreateInfo) { in validateCreateSwapchainKHR()
1269 if (pCreateInfo->sType != VK_STRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHR) { in validateCreateSwapchainKHR()
1273 if (pCreateInfo->pNext != NULL) { in validateCreateSwapchainKHR()
1287 for (auto i = 0; i < pCreateInfo->queueFamilyIndexCount; i++) { in validateCreateSwapchainKHR()
1288 if (pCreateInfo->pQueueFamilyIndices[i] >= pPhysicalDevice->numOfQueueFamilies) { in validateCreateSwapchainKHR()
1290 … "VkPhysicalDevice", pCreateInfo->pQueueFamilyIndices[i], in validateCreateSwapchainKHR()
1303 } else if (pCreateInfo) { in validateCreateSwapchainKHR()
1307 …SwpSurface *pSurface = ((pPhysicalDevice) ? pPhysicalDevice->supportedSurfaces[pCreateInfo->surfac… in validateCreateSwapchainKHR()
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()
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()
1348 ((pCreateInfo->imageExtent.width != pCapabilities->currentExtent.width) || in validateCreateSwapchainKHR()
1349 (pCreateInfo->imageExtent.height != pCapabilities->currentExtent.height))) { in validateCreateSwapchainKHR()
1355 … fn, pCreateInfo->imageExtent.width, pCreateInfo->imageExtent.height, in validateCreateSwapchainKHR()
1361 … if (!pCreateInfo->preTransform || (pCreateInfo->preTransform & (pCreateInfo->preTransform - 1)) || in validateCreateSwapchainKHR()
1362 !(pCreateInfo->preTransform & pCapabilities->supportedTransforms)) { in validateCreateSwapchainKHR()
1372 fn, surfaceTransformStr(pCreateInfo->preTransform)); in validateCreateSwapchainKHR()
1390 …if (!pCreateInfo->compositeAlpha || (pCreateInfo->compositeAlpha & (pCreateInfo->compositeAlpha - … in validateCreateSwapchainKHR()
1391 !((pCreateInfo->compositeAlpha) & pCapabilities->supportedCompositeAlpha)) { in validateCreateSwapchainKHR()
1401 fn, surfaceCompositeAlphaStr(pCreateInfo->compositeAlpha)); 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()
1443 } else if (pCreateInfo) { in validateCreateSwapchainKHR()
1450 if (pCreateInfo->imageFormat == pPhysicalDevice->pSurfaceFormats[i].format) { in validateCreateSwapchainKHR()
1454 … if (pCreateInfo->imageColorSpace == pPhysicalDevice->pSurfaceFormats[i].colorSpace) { in validateCreateSwapchainKHR()
1459 … if (pCreateInfo->imageColorSpace == pPhysicalDevice->pSurfaceFormats[i].colorSpace) { in validateCreateSwapchainKHR()
1473 … fn, pCreateInfo->imageFormat, pCreateInfo->imageColorSpace); in validateCreateSwapchainKHR()
1478 fn, pCreateInfo->imageFormat); in validateCreateSwapchainKHR()
1484 fn, pCreateInfo->imageColorSpace); in validateCreateSwapchainKHR()
1492 if (!pCreateInfo || (pCreateInfo->presentMode != VK_PRESENT_MODE_FIFO_KHR)) { in validateCreateSwapchainKHR()
1498 } else if (pCreateInfo) { in validateCreateSwapchainKHR()
1503 if (pPhysicalDevice->pPresentModes[i] == pCreateInfo->presentMode) { in validateCreateSwapchainKHR()
1512 fn, presentModeStr(pCreateInfo->presentMode)); in validateCreateSwapchainKHR()
1517 if (pCreateInfo->imageSharingMode == VK_SHARING_MODE_CONCURRENT) { in validateCreateSwapchainKHR()
1518 if ((pCreateInfo->queueFamilyIndexCount <= 1) || !pCreateInfo->pQueueFamilyIndices) { in validateCreateSwapchainKHR()
1525 fn, sharingModeStr(pCreateInfo->imageSharingMode)); in validateCreateSwapchainKHR()
1527 } else if (pCreateInfo->imageSharingMode != VK_SHARING_MODE_EXCLUSIVE) { in validateCreateSwapchainKHR()
1531 fn, sharingModeStr(pCreateInfo->imageSharingMode)); in validateCreateSwapchainKHR()
1535 if (pCreateInfo && (pCreateInfo->clipped != VK_FALSE) && (pCreateInfo->clipped != VK_TRUE)) { in validateCreateSwapchainKHR()
1540 fn, pCreateInfo->clipped); in validateCreateSwapchainKHR()
1544 if (pCreateInfo && pCreateInfo->oldSwapchain) { in validateCreateSwapchainKHR()
1545 SwpSwapchain *pOldSwapchain = &my_data->swapchainMap[pCreateInfo->oldSwapchain]; in validateCreateSwapchainKHR()
1553 if (pCreateInfo->surface != pOldSwapchain->pSurface->surface) { in validateCreateSwapchainKHR()
1563 …LOG_ERROR_NON_VALID_OBJ(VK_DEBUG_REPORT_OBJECT_TYPE_SWAPCHAIN_KHR_EXT, pCreateInfo->oldSwapchain, … in validateCreateSwapchainKHR()
1570 …esult VKAPI_CALL vkCreateSwapchainKHR(VkDevice device, const VkSwapchainCreateInfoKHR *pCreateInfo, in vkCreateSwapchainKHR() argument
1576 VkBool32 skipCall = validateCreateSwapchainKHR(device, pCreateInfo, pSwapchain); in vkCreateSwapchainKHR()
1581 …result = my_data->device_dispatch_table->CreateSwapchainKHR(device, pCreateInfo, pAllocator, pSwap… in vkCreateSwapchainKHR()
1600 …SwpSurface *pSurface = ((my_data && pCreateInfo) ? &my_instance_data->surfaceMap[pCreateInfo->surf… in vkCreateSwapchainKHR()
1928 …eDebugReportCallbackEXT(VkInstance instance, const VkDebugReportCallbackCreateInfoEXT *pCreateInfo, in vkCreateDebugReportCallbackEXT() argument
1932 …my_data->instance_dispatch_table->CreateDebugReportCallbackEXT(instance, pCreateInfo, pAllocator, … in vkCreateDebugReportCallbackEXT()
1935 … result = layer_create_msg_callback(my_data->report_data, pCreateInfo, pAllocator, pMsgCallback); in vkCreateDebugReportCallbackEXT()