diff options
| author | Jon Ashburn <jon@lunarg.com> | 2015-07-02 12:59:25 -0600 |
|---|---|---|
| committer | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-07-07 15:57:59 -0600 |
| commit | 290f5e2838beab4d3fec99dcb70eb042ecdbdfb2 (patch) | |
| tree | e43fc80993f18658823c672c7229d9b9c20bfe27 /loader/loader.h | |
| parent | 18dff0ac49ca64000573b44aeee8fed015f92d52 (diff) | |
| download | usermoji-290f5e2838beab4d3fec99dcb70eb042ecdbdfb2.tar.xz | |
loader: Remove the merged enabled_extension list in device and instance structs
Instead layer stuff can just directly use the activate_layers_list rather
than having an intermediate list.
This simplifies the code and prepares for adding implicit layers directly.
Diffstat (limited to 'loader/loader.h')
| -rw-r--r-- | loader/loader.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/loader/loader.h b/loader/loader.h index f54f44f9..0161d049 100644 --- a/loader/loader.h +++ b/loader/loader.h @@ -129,7 +129,6 @@ struct loader_device { uint32_t app_extension_count; VkExtensionProperties *app_extension_props; - struct loader_extension_list enabled_device_extensions; struct loader_extension_list activated_layer_list; struct loader_device *next; @@ -172,7 +171,6 @@ struct loader_icd { struct loader_instance { VkLayerInstanceDispatchTable *disp; // must be first entry in structure - uint32_t layer_count; uint32_t total_gpu_count; uint32_t total_icd_count; struct loader_icd *icds; @@ -242,7 +240,6 @@ struct loader_instance { */ struct loader_msg_callback_map_entry *icd_msg_callback_map; - struct loader_extension_list enabled_instance_extensions; struct loader_extension_list activated_layer_list; uint32_t app_extension_count; @@ -400,6 +397,10 @@ VkResult loader_CreateDevice( VkDevice* pDevice); /* helper function definitions */ +bool has_vk_extension_property_array( + const VkExtensionProperties *vk_ext_prop, + const uint32_t count, + const VkExtensionProperties *ext_array); bool has_vk_extension_property( const VkExtensionProperties *vk_ext_prop, const struct loader_extension_list *ext_list); |
