From ee1014fd16d1c59d489657f68d8bd8113925a0dd Mon Sep 17 00:00:00 2001 From: Courtney Goeltzenleuchter Date: Tue, 9 Jun 2015 09:08:54 -0600 Subject: [PATCH] loader: remove now unused hosted field --- loader/debug_report.c | 1 - loader/loader.c | 3 --- loader/loader.h | 1 - loader/wsi_lunarg.c | 1 - 4 files changed, 6 deletions(-) diff --git a/loader/debug_report.c b/loader/debug_report.c index a7fdb5d6..8be7472b 100644 --- a/loader/debug_report.c +++ b/loader/debug_report.c @@ -39,7 +39,6 @@ static const struct loader_extension_property debug_report_extension_info = { .description = "loader: debug report extension", }, .origin = VK_EXTENSION_ORIGIN_LOADER, - .hosted = true, }; void debug_report_add_instance_extensions( diff --git a/loader/loader.c b/loader/loader.c index 8000e309..2c5e663e 100644 --- a/loader/loader.c +++ b/loader/loader.c @@ -285,7 +285,6 @@ static void get_global_extensions( memset(&ext_props, 0, sizeof(ext_props)); res = fp_get(VK_EXTENSION_INFO_TYPE_PROPERTIES, i, &siz, &ext_props.info); if (res == VK_SUCCESS) { - ext_props.hosted = false; ext_props.origin = origin; ext_props.lib_name = lib_name; strncpy(ext_props.get_extension_info_name, get_extension_info_name, MAX_EXTENSION_NAME_SIZE); @@ -334,7 +333,6 @@ static void get_physical_device_layer_extensions( memset(&ext_props, 0, sizeof(ext_props)); res = fp_get(physical_device, VK_EXTENSION_INFO_TYPE_PROPERTIES, i, &siz, &ext_props.info); if (res == VK_SUCCESS && (ext_props.info.sType == VK_STRUCTURE_TYPE_EXTENSION_PROPERTIES)) { - ext_props.hosted = false; ext_props.origin = VK_EXTENSION_ORIGIN_LAYER; strcpy(ext_props.get_extension_info_name, funcStr); ext_props.lib_name = loader.scanned_layers[layer_index].lib_name; @@ -1549,7 +1547,6 @@ VkResult loader_init_physical_device_info( res = icd->GetPhysicalDeviceExtensionInfo(icd->gpus[i], VK_EXTENSION_INFO_TYPE_PROPERTIES, extension_id, &data_size, &ext_props.info); if (data_size == sizeof(VkExtensionProperties) && res == VK_SUCCESS) { - ext_props.hosted = false; ext_props.origin = VK_EXTENSION_ORIGIN_ICD; ext_props.lib_name = icd->scanned_icds->lib_name; // For ICDs, this is the only option diff --git a/loader/loader.h b/loader/loader.h index 8602704b..7f648860 100644 --- a/loader/loader.h +++ b/loader/loader.h @@ -69,7 +69,6 @@ struct loader_extension_property { // internally to ensure we reject duplicates char get_extension_info_name[MAX_EXTENSION_NAME_SIZE+1]; struct loader_extension_property *alias; - bool hosted; // does the extension reside in one driver/layer }; struct loader_extension_list { diff --git a/loader/wsi_lunarg.c b/loader/wsi_lunarg.c index e5d1513e..f4b62da7 100644 --- a/loader/wsi_lunarg.c +++ b/loader/wsi_lunarg.c @@ -137,7 +137,6 @@ static const struct loader_extension_property wsi_lunarg_extension_info = { .description = "loader: LunarG WSI extension", }, .origin = VK_EXTENSION_ORIGIN_LOADER, - .hosted = true, }; void wsi_lunarg_add_instance_extensions( -- 2.34.1