aboutsummaryrefslogtreecommitdiff
path: root/loader/loader.c
diff options
context:
space:
mode:
authorCourtney Goeltzenleuchter <courtney@LunarG.com>2015-06-01 14:10:21 -0600
committerCourtney Goeltzenleuchter <courtney@LunarG.com>2015-06-18 10:18:19 -0600
commit8dce54d3626aabca81ddef5e8e8f8684743c2b41 (patch)
treebc702ccca61e18d0e4e419752f2f696c20569cea /loader/loader.c
parentbabea180f81aa997d804528fb38cbad9c54cfd7e (diff)
downloadusermoji-8dce54d3626aabca81ddef5e8e8f8684743c2b41.tar.xz
loader: Remove unused functions
Now that we are using the full VkExtensionProperties structure to designate extensions needed new query functions
Diffstat (limited to 'loader/loader.c')
-rw-r--r--loader/loader.c32
1 files changed, 0 insertions, 32 deletions
diff --git a/loader/loader.c b/loader/loader.c
index 680f2932..12701d75 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -218,38 +218,6 @@ bool compare_vk_extension_properties(const VkExtensionProperties *op1, const VkE
}
/*
- * Used to look for an extension with a specific name.
- * Ignores all other extension info (i.e. version, origin & dependencies)
- */
-static bool has_extension_name(
- uint32_t count,
- struct loader_extension_property *exts,
- const char *target_ext_name,
- bool must_be_hosted)
-{
- uint32_t i;
- for (i = 0; i < count; i++) {
- if (!strcmp(exts[i].info.name, target_ext_name) && (!must_be_hosted || exts[i].hosted))
- return true;
- }
- return false;
-}
-
-static bool has_extension(
- uint32_t count,
- struct loader_extension_property *exts,
- const VkExtensionProperties *target_ext,
- bool must_be_hosted)
-{
- uint32_t i;
- for (i = 0; i < count; i++) {
- if (compare_vk_extension_properties(&exts[i].info, target_ext) && (!must_be_hosted || exts[i].hosted))
- return true;
- }
- return false;
-}
-
-/*
* Search the given ext_list for an extension
* matching the given vk_ext_prop
*/