Searched refs:pVersionStruct (Results 1 – 7 of 7) sorted by relevance
230 …sult VKAPI_CALL vkNegotiateLoaderLayerInterfaceVersion(VkNegotiateLayerInterface *pVersionStruct) { in vkNegotiateLoaderLayerInterfaceVersion() argument231 assert(pVersionStruct != NULL); in vkNegotiateLoaderLayerInterfaceVersion()232 assert(pVersionStruct->sType == LAYER_NEGOTIATE_INTERFACE_STRUCT); in vkNegotiateLoaderLayerInterfaceVersion()235 if (pVersionStruct->loaderLayerInterfaceVersion >= 2) { in vkNegotiateLoaderLayerInterfaceVersion()236 pVersionStruct->pfnGetInstanceProcAddr = vkGetInstanceProcAddr; in vkNegotiateLoaderLayerInterfaceVersion()237 pVersionStruct->pfnGetDeviceProcAddr = nullptr; in vkNegotiateLoaderLayerInterfaceVersion()238 pVersionStruct->pfnGetPhysicalDeviceProcAddr = vk_layerGetPhysicalDeviceProcAddr; in vkNegotiateLoaderLayerInterfaceVersion()241 if (pVersionStruct->loaderLayerInterfaceVersion < CURRENT_LOADER_LAYER_INTERFACE_VERSION) { in vkNegotiateLoaderLayerInterfaceVersion()242 device_profile_api::loader_layer_if_version = pVersionStruct->loaderLayerInterfaceVersion; in vkNegotiateLoaderLayerInterfaceVersion()243 … } else if (pVersionStruct->loaderLayerInterfaceVersion > CURRENT_LOADER_LAYER_INTERFACE_VERSION) { in vkNegotiateLoaderLayerInterfaceVersion()[all …]
508 …R_EXPORT VkResult vkNegotiateLoaderLayerInterfaceVersion(VkNegotiateLayerInterface *pVersionStruct) in vkNegotiateLoaderLayerInterfaceVersion() argument510 if (pVersionStruct->loaderLayerInterfaceVersion < 2) in vkNegotiateLoaderLayerInterfaceVersion()512 pVersionStruct->loaderLayerInterfaceVersion = 2; in vkNegotiateLoaderLayerInterfaceVersion()514 pVersionStruct->pfnGetInstanceProcAddr = get_instance_proc_addr; in vkNegotiateLoaderLayerInterfaceVersion()515 pVersionStruct->pfnGetPhysicalDeviceProcAddr = get_pdevice_proc_addr; in vkNegotiateLoaderLayerInterfaceVersion()
70 …(VKAPI_PTR *PFN_vkNegotiateLoaderLayerInterfaceVersion)(VkNegotiateLayerInterface *pVersionStruct);156 …esult VKAPI_CALL vkNegotiateLoaderLayerInterfaceVersion(VkNegotiateLayerInterface *pVersionStruct);
9740 …sult VKAPI_CALL vkNegotiateLoaderLayerInterfaceVersion(VkNegotiateLayerInterface *pVersionStruct) { in vkNegotiateLoaderLayerInterfaceVersion() argument9741 assert(pVersionStruct != NULL); in vkNegotiateLoaderLayerInterfaceVersion()9742 assert(pVersionStruct->sType == LAYER_NEGOTIATE_INTERFACE_STRUCT); in vkNegotiateLoaderLayerInterfaceVersion()9745 if (pVersionStruct->loaderLayerInterfaceVersion >= 2) { in vkNegotiateLoaderLayerInterfaceVersion()9746 pVersionStruct->pfnGetInstanceProcAddr = vkGetInstanceProcAddr; in vkNegotiateLoaderLayerInterfaceVersion()9747 pVersionStruct->pfnGetDeviceProcAddr = vkGetDeviceProcAddr; in vkNegotiateLoaderLayerInterfaceVersion()9748 pVersionStruct->pfnGetPhysicalDeviceProcAddr = nullptr; in vkNegotiateLoaderLayerInterfaceVersion()