Lines Matching defs:functions
224 loader_instance_heap_free(inst, layer_properties->functions.str_gipa);
225 loader_instance_heap_free(inst, layer_properties->functions.str_gdpa);
226 loader_instance_heap_free(inst, layer_properties->functions.str_negotiate_interface);
1138 // There is no generic mechanism for including these functions, the references
2446 // functions
2452 // Layer interface functions
2456 cJSON *functions = loader_cJSON_GetObjectItem(layer_node, "functions");
2457 if (functions != NULL) {
2459 result = loader_parse_json_string(functions, "vkNegotiateLoaderLayerInterfaceVersion",
2460 &props.functions.str_negotiate_interface);
2463 result = loader_parse_json_string(functions, "vkGetInstanceProcAddr", &props.functions.str_gipa);
2466 if (props.functions.str_gipa && loader_check_version_meets_required(loader_combine_version(1, 1, 0), version)) {
2474 result = loader_parse_json_string(functions, "vkGetDeviceProcAddr", &props.functions.str_gdpa);
2477 if (props.functions.str_gdpa && loader_check_version_meets_required(loader_combine_version(1, 1, 0), version)) {
4001 // Global functions - Do not need a valid instance handle to query
4031 // The VK_EXT_debug_utils functions need a special case here so the terminators can still be found from
4032 // vkGetInstanceProcAddr This is because VK_EXT_debug_utils is an instance level extension with device level functions, and
4034 // These functions need a terminator to handle the case of a driver not supporting VK_EXT_debug_utils when there are layers
4107 // Overrides for device functions needing a trampoline and
4563 if (NULL == layer_prop->functions.negotiate_layer_interface) {
4566 if (!layer_prop->functions.str_negotiate_interface || strlen(layer_prop->functions.str_negotiate_interface) == 0) {
4571 lib_handle, layer_prop->functions.str_negotiate_interface);
4579 layer_prop->functions.negotiate_layer_interface = negotiate_interface;
4590 // and the other necessary functions, from the
4597 // We've set the functions, so make sure we
4606 if ((cur_gipa = layer_prop->functions.get_instance_proc_addr) == NULL) {
4607 if (layer_prop->functions.str_gipa == NULL || strlen(layer_prop->functions.str_gipa) == 0) {
4610 layer_prop->functions.get_instance_proc_addr = cur_gipa;
4620 layer_prop->functions.str_gipa);
4625 layer_prop->functions.str_gipa, layer_prop->lib_name);
4638 layer_prop->functions.get_physical_device_proc_addr = cur_gpdpa;
4642 layer_prop->functions.get_instance_proc_addr = cur_gipa;
4645 layer_prop->functions.get_device_proc_addr = cur_gdpa;
4942 if ((fpGIPA = layer_prop->functions.get_instance_proc_addr) == NULL) {
4943 if (layer_prop->functions.str_gipa == NULL || strlen(layer_prop->functions.str_gipa) == 0) {
4945 layer_prop->functions.get_instance_proc_addr = fpGIPA;
4948 (PFN_vkGetInstanceProcAddr)loader_platform_get_proc_address(lib_handle, layer_prop->functions.str_gipa);
4967 if ((fpGDPA = layer_prop->functions.get_device_proc_addr) == NULL) {
4968 if (layer_prop->functions.str_gdpa == NULL || strlen(layer_prop->functions.str_gdpa) == 0) {
4970 layer_prop->functions.get_device_proc_addr = fpGDPA;
4972 fpGDPA = (PFN_vkGetDeviceProcAddr)loader_platform_get_proc_address(lib_handle, layer_prop->functions.str_gdpa);
5068 // Initialize the dispatch table to functions which need terminators
5069 // These functions point directly to the driver, not the terminator functions
5283 // Terminator functions for the Instance chain