Lines Matching defs:version

108 loader_api_version loader_make_version(uint32_t version) {
110 out_version.major = VK_API_VERSION_MAJOR(version);
111 out_version.minor = VK_API_VERSION_MINOR(version);
117 loader_api_version loader_make_full_version(uint32_t version) {
119 out_version.major = VK_API_VERSION_MAJOR(version);
120 out_version.minor = VK_API_VERSION_MINOR(version);
121 out_version.patch = VK_API_VERSION_PATCH(version);
133 // Helper macros for determining if a version is valid or not
134 bool loader_check_version_meets_required(loader_api_version required, loader_api_version version) {
135 // major version is satisfied
136 return (version.major > required.major) ||
137 // major version is equal, minor version is patch version is greater to minimum minor
138 (version.major == required.major && version.minor > required.minor) ||
139 // major and minor version are equal, patch version is greater or equal to minimum patch
140 (version.major == required.major && version.minor == required.minor && version.patch >= required.patch);
334 // Given string of three part form "maj.min.pat" convert to a vulkan version number.
354 // check that we are using a 4 part version string
1062 "Meta-layer \"%s\" API version %u.%u, component layer \"%s\" version %u.%u, may have "
1343 // Determine the ICD interface version to use.
1345 // @param pVersion Output parameter indicating which version to use or 0 if
1347 // @return bool indicating true if the selected interface version is supported
1348 // by the loader, false indicates the version is not supported
1351 // ICD does not support the negotiation API, it supports version 0 or 1
1352 // calling code must determine if it is version 0 or 1
1356 // latest version supported
1361 // ICD no longer supports the loader's latest interface version so
1369 // Loader no longer supports the ICD's latest interface version so fail
1428 // Try to get the negotiate ICD interface version function
1444 "loader_add_direct_driver: VkDirectDriverLoadingInfoLUNARG structure at index %d supports interface version %d, "
1445 "which is incompatible with the Loader Driver Interface version that supports the VK_LUNARG_direct_driver_loading "
1454 "loader_add_direct_driver: VkDirectDriverLoadingInfoLUNARG structure at index %d supports interface version %d, "
1455 "which is incompatible with the Loader Driver Interface version that supports the VK_LUNARG_direct_driver_loading "
1482 // Query "vk_icdEnumerateAdapterPhysicalDevices" with vk_icdGetInstanceProcAddr if the library reports interface version
1503 // Driver must be 1.1 to support version 7
1678 // If it *is* NULL, that means this driver uses interface version 0 or 1
1681 "loader_scanned_icd_add: ICD %s doesn't support interface version compatible with loader, skip this ICD.",
1691 // If vk_icdGetInstanceProcAddr is NULL, this ICD is using version 0 and so we should respond accordingly.
1697 "loader_scanned_icd_add: ICD %s reports an interface version of %d but doesn't export "
1702 // Use deprecated interface from version 0
1731 // vk_icdGetInstanceProcAddr was successfully found, we can assume the version is at least one
1754 // Query "vk_icdGetPhysicalDeviceProcAddr" with vk_icdGetInstanceProcAddr if the library reports interface version 7 or
1764 // Query "vk_icdEnumerateAdapterPhysicalDevices" with vk_icdGetInstanceProcAddr if the library reports interface version
1795 "loader_scanned_icd_add: Driver %s supports Vulkan %u.%u, but only supports loader interface version %u."
1796 " Interface version 5 or newer required to support this version of Vulkan (Policy #LDP_DRIVER_7)",
1837 loader_api_version version = loader_make_full_version(VK_HEADER_VERSION_COMPLETE);
1838 loader_log(NULL, VULKAN_LOADER_INFO_BIT, 0, "Vulkan Loader Version %d.%d.%d", version.major, version.minor, version.patch);
2034 // Check the version of each layer, they need to be at least MAJOR and MINOR
2038 "verify_meta_layer_component_layers: Meta-layer uses API version %d.%d, but component "
2039 "layer %d has API version %d.%d that is lower. Skipping this layer.",
2239 cJSON *layer_node, loader_api_version version, bool is_implicit, char *filename) {
2380 if (!loader_check_version_meets_required(LOADER_VERSION_1_1_0, version)) {
2382 "Indicating meta-layer-specific component_layers, but using older JSON file version.");
2416 if (NULL != props.override_paths.list && !loader_check_version_meets_required(loader_combine_version(1, 1, 0), version)) {
2418 "Indicating meta-layer-specific override paths, but using older JSON file version.");
2458 if (loader_check_version_meets_required(loader_combine_version(1, 1, 0), version)) {
2466 if (props.functions.str_gipa && loader_check_version_meets_required(loader_combine_version(1, 1, 0), version)) {
2469 "file version 1.1.0. The new vkNegotiateLoaderLayerInterfaceVersion function is preferred, though for "
2477 if (props.functions.str_gdpa && loader_check_version_meets_required(loader_combine_version(1, 1, 0), version)) {
2480 "file version 1.1.0. The new vkNegotiateLoaderLayerInterfaceVersion function is preferred, though for "
2572 if (!loader_check_version_meets_required(loader_combine_version(1, 1, 2), version)) {
2574 "Found pre_instance_functions section in layer from \"%s\". This section is only valid in manifest version "
2683 loader_log(inst, VULKAN_LOADER_INFO_BIT, 0, "Found manifest file %s (file version %s)", filename, file_vers);
2689 "loader_add_layer_properties: %s has unknown layer manifest file version %d.%d.%d. May cause errors.", filename,
2700 "loader_add_layer_properties: \'layers\' tag not supported until file version 1.0.1, but %s is reporting "
2701 "version %s",
2738 "loader_add_layer_properties: Multiple 'layer' nodes are deprecated starting in file version \"1.0.1\". "
3422 uint32_t version;
3466 loader_log(inst, VULKAN_LOADER_DRIVER_BIT, 0, "Found ICD manifest file %s, version %s", file_str, file_vers_str);
3468 // Get the version of the driver manifest
3474 "loader_parse_icd_manifest: %s has unknown icd manifest file version %d.%d.%d. May cause errors.", file_str,
3533 icd->version = loader_parse_version_string(version_str);
3535 if (VK_API_VERSION_VARIANT(icd->version) != 0) {
3539 file_str, VK_API_VERSION_VARIANT(icd->version));
3686 loader_scanned_icd_add(inst, icd_tramp_list, icd_details[i].full_library_path, icd_details[i].version, &lib_status);
3707 "Shouldn't reach this. A valid version of requested ICD %s was loaded but something bad "
4237 // Verify that the layer api version is at least that of the application's request, if not, throw a warning since
4243 "Layer %s uses API version %u.%u which is older than the application specified "
4244 "API version of %u.%u. May cause issues.",
4260 "loader_enable_instance_layers: Failed to initialize application version of the layer list");
4267 "loader_enable_instance_layers: Failed to initialize expanded version of the layer list");
4304 // Determine the layer interface version to use.
4314 // latest version supported
4319 // Layer no longer supports the loader's latest interface version so
4326 // Loader no longer supports the layer's latest interface version so
4574 // If we can negotiate an interface version, then we can also
4584 // Go ahead and set the properties version to the
4711 "Shouldn't reach this. A valid version of requested layer %s was loaded but was not found in the "
4863 // with the layer/ICD version.
4941 // version negotiation
5306 // Save the application version if it has been modified - layers sometimes needs features in newer API versions than
5307 // what the application requested, and thus will increase the instance version to a level that suites their needs.
5406 // should be done if the API version of either the application or the driver does not natively support
5407 // the core version of vkGetPhysicalDeviceProperties2 entrypoint.
5437 // Get the driver version from vkEnumerateInstanceVersion
5453 "terminator_CreateInstance: Manifest ICD for \"%s\" contained a 1.1 or greater API version, but "
5459 "terminator_CreateInstance: Manifest ICD for \"%s\" contained a 1.1 or greater API version, but does "
5480 // Create an instance, substituting the version to 1.0 if necessary
5547 "terminator_CreateInstance: Driver %s supports interface version %u but still exposes VkSurfaceKHR"
5962 // Update the trampoline physical devices with the wrapped version.
6903 // Get the function pointer to use to call into the ICD. This could be the core or KHR version
6974 // Get the function pointer to use to call into the ICD. This could be the core or KHR version
7043 // sure that at least the ones we do query utilize any pNext data in the callee's version.