loader: remove now unused hosted field
authorCourtney Goeltzenleuchter <courtney@LunarG.com>
Tue, 9 Jun 2015 15:08:54 +0000 (09:08 -0600)
committerCourtney Goeltzenleuchter <courtney@LunarG.com>
Thu, 18 Jun 2015 16:22:55 +0000 (10:22 -0600)
loader/debug_report.c
loader/loader.c
loader/loader.h
loader/wsi_lunarg.c

index a7fdb5d6b5c08c92c0aa180b8c4b07cc35fadb4b..8be7472b78302f6b8163586e5dd1146239326e81 100644 (file)
@@ -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(
index 8000e3098a832ac758daa785a33c86f648e578a3..2c5e663ed25e7dd1f84d4b57705c3b8944f6a387 100644 (file)
@@ -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
index 8602704b07bcb1b0823d6dde539cf05716b8a4e7..7f6488600801a8a0337a507e97e17ca5c7a7dd1f 100644 (file)
@@ -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 {
index e5d1513ee8e249319a0c4cb242016ca8124deaf7..f4b62da7c70f40168dc0e1181c204979be3d2fd7 100644 (file)
@@ -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(