From 52d43f9d92c6ea1ca601fa923d20d777b56cd9f3 Mon Sep 17 00:00:00 2001 From: Jon Ashburn Date: Fri, 14 Aug 2015 14:49:22 -0600 Subject: loader: Remove the global extension list from scanned_icds struct This list is regenerated as needed and stored in the instance object. --- loader/loader.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'loader/loader.h') 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 -- cgit v1.2.3