aboutsummaryrefslogtreecommitdiff
path: root/loader/loader.h
diff options
context:
space:
mode:
authorJon Ashburn <jon@lunarg.com>2015-08-14 14:49:22 -0600
committerJon Ashburn <jon@lunarg.com>2015-08-24 09:17:44 -0600
commit52d43f9d92c6ea1ca601fa923d20d777b56cd9f3 (patch)
tree761cec880574dea996d9b9fdf04f5c3ce97537f1 /loader/loader.h
parentfa6801657f1f2c9e01699d16b3a6e6e64fb42a42 (diff)
downloadusermoji-52d43f9d92c6ea1ca601fa923d20d777b56cd9f3.tar.xz
loader: Remove the global extension list from scanned_icds struct
This list is regenerated as needed and stored in the instance object.
Diffstat (limited to 'loader/loader.h')
-rw-r--r--loader/loader.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/loader/loader.h b/loader/loader.h
index 5b662666..6b3503c9 100644
--- a/loader/loader.h
+++ b/loader/loader.h
@@ -161,7 +161,7 @@ struct loader_instance {
uint32_t total_icd_count;
struct loader_icd *icds;
struct loader_instance *next;
- struct loader_extension_list ext_list;
+ struct loader_extension_list ext_list; // icds and loaders extensions
/* TODO: Should keep track of application provided allocation functions */
struct loader_msg_callback_map_entry *icd_msg_callback_map;
@@ -195,12 +195,8 @@ struct loader_scanned_icds {
PFN_vkGetInstanceProcAddr GetInstanceProcAddr;
PFN_vkCreateInstance CreateInstance;
PFN_vkGetGlobalExtensionProperties GetGlobalExtensionProperties;
- VkInstance instance;
struct loader_scanned_icds *next;
- /* cache of global extensions for specific ICD */
- struct loader_extension_list global_extension_list;
-
/*
* cache of device extensions for specific ICD,
* filled in at CreateInstance time