Lines Matching refs:physicalDevice
45 static void checkDeviceRegisterExtensions(VkPhysicalDevice physicalDevice, const VkDeviceCreateInfo… in checkDeviceRegisterExtensions() argument
48 … layer_data *my_instance_data = get_my_data_ptr(get_dispatch_key(physicalDevice), layer_data_map); in checkDeviceRegisterExtensions()
52 auto it = my_instance_data->physicalDeviceMap.find(physicalDevice); in checkDeviceRegisterExtensions()
62 … reinterpret_cast<uint64_t>(physicalDevice), __LINE__, SWAPCHAIN_INVALID_HANDLE, "Swapchain", in checkDeviceRegisterExtensions()
284 my_data->physicalDeviceMap.erase(it->second->physicalDevice); in DestroyInstance()
321 VKAPI_ATTR void VKAPI_CALL GetPhysicalDeviceQueueFamilyProperties(VkPhysicalDevice physicalDevice, in GetPhysicalDeviceQueueFamilyProperties() argument
324 layer_data *my_data = get_my_data_ptr(get_dispatch_key(physicalDevice), layer_data_map); in GetPhysicalDeviceQueueFamilyProperties()
327 …my_data->instance_dispatch_table->GetPhysicalDeviceQueueFamilyProperties(physicalDevice, pQueueFam… in GetPhysicalDeviceQueueFamilyProperties()
334 auto it = my_data->physicalDeviceMap.find(physicalDevice); in GetPhysicalDeviceQueueFamilyProperties()
447 …TTR VkBool32 VKAPI_CALL GetPhysicalDeviceMirPresentationSupportKHR(VkPhysicalDevice physicalDevice, in GetPhysicalDeviceMirPresentationSupportKHR() argument
451 layer_data *my_data = get_my_data_ptr(get_dispatch_key(physicalDevice), layer_data_map); in GetPhysicalDeviceMirPresentationSupportKHR()
455 auto it = my_data->physicalDeviceMap.find(physicalDevice); in GetPhysicalDeviceMirPresentationSupportKHR()
470 … pPhysicalDevice->physicalDevice, "vkGetPhysicalDeviceMirPresentationSupportKHR"); in GetPhysicalDeviceMirPresentationSupportKHR()
476 …>instance_dispatch_table->GetPhysicalDeviceMirPresentationSupportKHR(physicalDevice, queueFamilyIn… in GetPhysicalDeviceMirPresentationSupportKHR()
532 …VkBool32 VKAPI_CALL GetPhysicalDeviceWaylandPresentationSupportKHR(VkPhysicalDevice physicalDevice, in GetPhysicalDeviceWaylandPresentationSupportKHR() argument
537 layer_data *my_data = get_my_data_ptr(get_dispatch_key(physicalDevice), layer_data_map); in GetPhysicalDeviceWaylandPresentationSupportKHR()
541 auto it = my_data->physicalDeviceMap.find(physicalDevice); in GetPhysicalDeviceWaylandPresentationSupportKHR()
556 … pPhysicalDevice->physicalDevice, "vkGetPhysicalDeviceWaylandPresentationSupportKHR"); in GetPhysicalDeviceWaylandPresentationSupportKHR()
562 …tance_dispatch_table->GetPhysicalDeviceWaylandPresentationSupportKHR(physicalDevice, queueFamilyIn… in GetPhysicalDeviceWaylandPresentationSupportKHR()
618 …R VkBool32 VKAPI_CALL GetPhysicalDeviceWin32PresentationSupportKHR(VkPhysicalDevice physicalDevice, in GetPhysicalDeviceWin32PresentationSupportKHR() argument
622 layer_data *my_data = get_my_data_ptr(get_dispatch_key(physicalDevice), layer_data_map); in GetPhysicalDeviceWin32PresentationSupportKHR()
626 auto it = my_data->physicalDeviceMap.find(physicalDevice); in GetPhysicalDeviceWin32PresentationSupportKHR()
641 … pPhysicalDevice->physicalDevice, "vkGetPhysicalDeviceWin32PresentationSupportKHR"); in GetPhysicalDeviceWin32PresentationSupportKHR()
647 …nstance_dispatch_table->GetPhysicalDeviceWin32PresentationSupportKHR(physicalDevice, queueFamilyIn… in GetPhysicalDeviceWin32PresentationSupportKHR()
702 …TTR VkBool32 VKAPI_CALL GetPhysicalDeviceXcbPresentationSupportKHR(VkPhysicalDevice physicalDevice, in GetPhysicalDeviceXcbPresentationSupportKHR() argument
707 layer_data *my_data = get_my_data_ptr(get_dispatch_key(physicalDevice), layer_data_map); in GetPhysicalDeviceXcbPresentationSupportKHR()
711 auto it = my_data->physicalDeviceMap.find(physicalDevice); in GetPhysicalDeviceXcbPresentationSupportKHR()
726 … pPhysicalDevice->physicalDevice, "vkGetPhysicalDeviceXcbPresentationSupportKHR"); in GetPhysicalDeviceXcbPresentationSupportKHR()
732 …>instance_dispatch_table->GetPhysicalDeviceXcbPresentationSupportKHR(physicalDevice, queueFamilyIn… in GetPhysicalDeviceXcbPresentationSupportKHR()
788 …TR VkBool32 VKAPI_CALL GetPhysicalDeviceXlibPresentationSupportKHR(VkPhysicalDevice physicalDevice, in GetPhysicalDeviceXlibPresentationSupportKHR() argument
793 layer_data *my_data = get_my_data_ptr(get_dispatch_key(physicalDevice), layer_data_map); in GetPhysicalDeviceXlibPresentationSupportKHR()
797 auto it = my_data->physicalDeviceMap.find(physicalDevice); in GetPhysicalDeviceXlibPresentationSupportKHR()
812 … pPhysicalDevice->physicalDevice, "vkGetPhysicalDeviceXlibPresentationSupportKHR"); in GetPhysicalDeviceXlibPresentationSupportKHR()
818 …instance_dispatch_table->GetPhysicalDeviceXlibPresentationSupportKHR(physicalDevice, queueFamilyIn… in GetPhysicalDeviceXlibPresentationSupportKHR()
825 …lt VKAPI_CALL GetPhysicalDeviceDisplayPropertiesKHR(VkPhysicalDevice physicalDevice, uint32_t *pPr… in GetPhysicalDeviceDisplayPropertiesKHR() argument
829 layer_data *my_data = get_my_data_ptr(get_dispatch_key(physicalDevice), layer_data_map); in GetPhysicalDeviceDisplayPropertiesKHR()
833 auto it = my_data->physicalDeviceMap.find(physicalDevice); in GetPhysicalDeviceDisplayPropertiesKHR()
849 …my_data->instance_dispatch_table->GetPhysicalDeviceDisplayPropertiesKHR(physicalDevice, pPropertyC… in GetPhysicalDeviceDisplayPropertiesKHR()
855 …API_CALL GetPhysicalDeviceDisplayPlanePropertiesKHR(VkPhysicalDevice physicalDevice, uint32_t *pPr… in GetPhysicalDeviceDisplayPlanePropertiesKHR() argument
859 layer_data *my_data = get_my_data_ptr(get_dispatch_key(physicalDevice), layer_data_map); in GetPhysicalDeviceDisplayPlanePropertiesKHR()
863 auto it = my_data->physicalDeviceMap.find(physicalDevice); in GetPhysicalDeviceDisplayPlanePropertiesKHR()
878 …>instance_dispatch_table->GetPhysicalDeviceDisplayPlanePropertiesKHR(physicalDevice, pPropertyCoun… in GetPhysicalDeviceDisplayPlanePropertiesKHR()
894 VKAPI_ATTR VkResult VKAPI_CALL GetDisplayPlaneSupportedDisplaysKHR(VkPhysicalDevice physicalDevice,… in GetDisplayPlaneSupportedDisplaysKHR() argument
898 layer_data *my_data = get_my_data_ptr(get_dispatch_key(physicalDevice), layer_data_map); in GetDisplayPlaneSupportedDisplaysKHR()
902 auto it = my_data->physicalDeviceMap.find(physicalDevice); in GetDisplayPlaneSupportedDisplaysKHR()
935 …y_data->instance_dispatch_table->GetDisplayPlaneSupportedDisplaysKHR(physicalDevice, planeIndex, p… in GetDisplayPlaneSupportedDisplaysKHR()
944 VKAPI_ATTR VkResult VKAPI_CALL GetDisplayModePropertiesKHR(VkPhysicalDevice physicalDevice, VkDispl… in GetDisplayModePropertiesKHR() argument
948 layer_data *my_data = get_my_data_ptr(get_dispatch_key(physicalDevice), layer_data_map); in GetDisplayModePropertiesKHR()
952 auto it = my_data->physicalDeviceMap.find(physicalDevice); in GetDisplayModePropertiesKHR()
969 …my_data->instance_dispatch_table->GetDisplayModePropertiesKHR(physicalDevice, display, pPropertyCo… in GetDisplayModePropertiesKHR()
976 VKAPI_ATTR VkResult VKAPI_CALL CreateDisplayModeKHR(VkPhysicalDevice physicalDevice, VkDisplayKHR d… in CreateDisplayModeKHR() argument
981 layer_data *my_data = get_my_data_ptr(get_dispatch_key(physicalDevice), layer_data_map); in CreateDisplayModeKHR()
985 auto it = my_data->physicalDeviceMap.find(physicalDevice); in CreateDisplayModeKHR()
1001 …result = my_data->instance_dispatch_table->CreateDisplayModeKHR(physicalDevice, display, pCreateIn… in CreateDisplayModeKHR()
1008 VKAPI_ATTR VkResult VKAPI_CALL GetDisplayPlaneCapabilitiesKHR(VkPhysicalDevice physicalDevice, VkDi… in GetDisplayPlaneCapabilitiesKHR() argument
1012 layer_data *my_data = get_my_data_ptr(get_dispatch_key(physicalDevice), layer_data_map); in GetDisplayPlaneCapabilitiesKHR()
1016 auto it = my_data->physicalDeviceMap.find(physicalDevice); in GetDisplayPlaneCapabilitiesKHR()
1049 …result = my_data->instance_dispatch_table->GetDisplayPlaneCapabilitiesKHR(physicalDevice, mode, pl… in GetDisplayPlaneCapabilitiesKHR()
1174 my_data->physicalDeviceMap[pPhysicalDevices[i]].physicalDevice = pPhysicalDevices[i]; in EnumeratePhysicalDevices()
1192 VKAPI_ATTR VkResult VKAPI_CALL CreateDevice(VkPhysicalDevice physicalDevice, const VkDeviceCreateIn… in CreateDevice() argument
1194 … layer_data *my_instance_data = get_my_data_ptr(get_dispatch_key(physicalDevice), layer_data_map); in CreateDevice()
1208 VkResult result = fpCreateDevice(physicalDevice, pCreateInfo, pAllocator, pDevice); in CreateDevice()
1221 checkDeviceRegisterExtensions(physicalDevice, pCreateInfo, *pDevice); in CreateDevice()
1270 VKAPI_ATTR VkResult VKAPI_CALL GetPhysicalDeviceSurfaceSupportKHR(VkPhysicalDevice physicalDevice, … in GetPhysicalDeviceSurfaceSupportKHR() argument
1274 layer_data *my_data = get_my_data_ptr(get_dispatch_key(physicalDevice), layer_data_map); in GetPhysicalDeviceSurfaceSupportKHR()
1278 auto it = my_data->physicalDeviceMap.find(physicalDevice); in GetPhysicalDeviceSurfaceSupportKHR()
1294 …reinterpret_cast<uint64_t>(pPhysicalDevice->physicalDevice), __LINE__, SWAPCHAIN_DID_NOT_QUERY_QUE… in GetPhysicalDeviceSurfaceSupportKHR()
1299 … pPhysicalDevice->physicalDevice, "vkGetPhysicalDeviceSurfaceSupportKHR"); in GetPhysicalDeviceSurfaceSupportKHR()
1306 …my_data->instance_dispatch_table->GetPhysicalDeviceSurfaceSupportKHR(physicalDevice, queueFamilyIn… in GetPhysicalDeviceSurfaceSupportKHR()
1312 auto it = my_data->physicalDeviceMap.find(physicalDevice); in GetPhysicalDeviceSurfaceSupportKHR()
1342 … VKAPI_CALL GetPhysicalDeviceSurfaceCapabilitiesKHR(VkPhysicalDevice physicalDevice, VkSurfaceKHR … in GetPhysicalDeviceSurfaceCapabilitiesKHR() argument
1346 layer_data *my_data = get_my_data_ptr(get_dispatch_key(physicalDevice), layer_data_map); in GetPhysicalDeviceSurfaceCapabilitiesKHR()
1350 auto it = my_data->physicalDeviceMap.find(physicalDevice); in GetPhysicalDeviceSurfaceCapabilitiesKHR()
1367 … my_data->instance_dispatch_table->GetPhysicalDeviceSurfaceCapabilitiesKHR(physicalDevice, surface, in GetPhysicalDeviceSurfaceCapabilitiesKHR()
1373 auto it = my_data->physicalDeviceMap.find(physicalDevice); in GetPhysicalDeviceSurfaceCapabilitiesKHR()
1388 VKAPI_ATTR VkResult VKAPI_CALL GetPhysicalDeviceSurfaceFormatsKHR(VkPhysicalDevice physicalDevice, … in GetPhysicalDeviceSurfaceFormatsKHR() argument
1393 layer_data *my_data = get_my_data_ptr(get_dispatch_key(physicalDevice), layer_data_map); in GetPhysicalDeviceSurfaceFormatsKHR()
1397 auto it = my_data->physicalDeviceMap.find(physicalDevice); in GetPhysicalDeviceSurfaceFormatsKHR()
1417 …reinterpret_cast<uint64_t>(pPhysicalDevice->physicalDevice), __LINE__, SWAPCHAIN_PRIOR_COUNT, swap… in GetPhysicalDeviceSurfaceFormatsKHR()
1423 … reinterpret_cast<uint64_t>(pPhysicalDevice->physicalDevice), __LINE__, SWAPCHAIN_INVALID_COUNT, in GetPhysicalDeviceSurfaceFormatsKHR()
1434 …my_data->instance_dispatch_table->GetPhysicalDeviceSurfaceFormatsKHR(physicalDevice, surface, pSur… in GetPhysicalDeviceSurfaceFormatsKHR()
1440 auto it = my_data->physicalDeviceMap.find(physicalDevice); in GetPhysicalDeviceSurfaceFormatsKHR()
1471 … VKAPI_CALL GetPhysicalDeviceSurfacePresentModesKHR(VkPhysicalDevice physicalDevice, VkSurfaceKHR … in GetPhysicalDeviceSurfacePresentModesKHR() argument
1476 layer_data *my_data = get_my_data_ptr(get_dispatch_key(physicalDevice), layer_data_map); in GetPhysicalDeviceSurfacePresentModesKHR()
1480 auto it = my_data->physicalDeviceMap.find(physicalDevice); in GetPhysicalDeviceSurfacePresentModesKHR()
1500 …reinterpret_cast<uint64_t>(pPhysicalDevice->physicalDevice), __LINE__, SWAPCHAIN_PRIOR_COUNT, swap… in GetPhysicalDeviceSurfacePresentModesKHR()
1506 … reinterpret_cast<uint64_t>(pPhysicalDevice->physicalDevice), __LINE__, SWAPCHAIN_INVALID_COUNT, in GetPhysicalDeviceSurfacePresentModesKHR()
1517 … my_data->instance_dispatch_table->GetPhysicalDeviceSurfacePresentModesKHR(physicalDevice, surface, in GetPhysicalDeviceSurfacePresentModesKHR()
1523 auto it = my_data->physicalDeviceMap.find(physicalDevice); in GetPhysicalDeviceSurfacePresentModesKHR()
1585 … pPhysicalDevice->physicalDevice, "vkCreateSwapchainKHR"); in validateCreateSwapchainKHR()
2294 VKAPI_ATTR VkResult VKAPI_CALL EnumerateDeviceLayerProperties(VkPhysicalDevice physicalDevice, uint… in EnumerateDeviceLayerProperties() argument
2307 VKAPI_ATTR VkResult VKAPI_CALL EnumerateDeviceExtensionProperties(VkPhysicalDevice physicalDevice, … in EnumerateDeviceExtensionProperties() argument
2312 assert(physicalDevice); in EnumerateDeviceExtensionProperties()
2314 dispatch_key key = get_dispatch_key(physicalDevice); in EnumerateDeviceExtensionProperties()
2316 …return my_data->instance_dispatch_table->EnumerateDeviceExtensionProperties(physicalDevice, NULL, … in EnumerateDeviceExtensionProperties()
2533 …kResult VKAPI_CALL vkEnumerateDeviceLayerProperties(VkPhysicalDevice physicalDevice, uint32_t *pCo… in vkEnumerateDeviceLayerProperties() argument
2536 assert(physicalDevice == VK_NULL_HANDLE); in vkEnumerateDeviceLayerProperties()
2540 …KAPI_ATTR VkResult VKAPI_CALL vkEnumerateDeviceExtensionProperties(VkPhysicalDevice physicalDevice, in vkEnumerateDeviceExtensionProperties() argument
2544 assert(physicalDevice == VK_NULL_HANDLE); in vkEnumerateDeviceExtensionProperties()