aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCourtney Goeltzenleuchter <courtney@LunarG.com>2015-06-09 09:08:54 -0600
committerCourtney Goeltzenleuchter <courtney@LunarG.com>2015-06-18 10:22:55 -0600
commitee1014fd16d1c59d489657f68d8bd8113925a0dd (patch)
tree327e61fd909c0679837bf238fafad7e8d676cf4c
parent91023d4c8332bd2c0c85ce416adcfe5541706185 (diff)
downloadusermoji-ee1014fd16d1c59d489657f68d8bd8113925a0dd.tar.xz
loader: remove now unused hosted field
-rw-r--r--loader/debug_report.c1
-rw-r--r--loader/loader.c3
-rw-r--r--loader/loader.h1
-rw-r--r--loader/wsi_lunarg.c1
4 files changed, 0 insertions, 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(