Lines Matching refs:pVersionStruct
230 …sult VKAPI_CALL vkNegotiateLoaderLayerInterfaceVersion(VkNegotiateLayerInterface *pVersionStruct) { in vkNegotiateLoaderLayerInterfaceVersion() argument
231 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()
244 pVersionStruct->loaderLayerInterfaceVersion = CURRENT_LOADER_LAYER_INTERFACE_VERSION; in vkNegotiateLoaderLayerInterfaceVersion()