aboutsummaryrefslogtreecommitdiff
path: root/loader/loader.c
diff options
context:
space:
mode:
authorCourtney Goeltzenleuchter <courtney@LunarG.com>2015-07-06 14:59:20 -0600
committerCourtney Goeltzenleuchter <courtney@LunarG.com>2015-07-07 17:57:48 -0600
commit89765d033dacac2c3e9cb3fa1641305f4347f899 (patch)
tree0862801bf4c0263febd43f5ea313b3351eb7ba13 /loader/loader.c
parentc1196ffa0987596f5dd6bdc56052314eb9ac5464 (diff)
downloadusermoji-89765d033dacac2c3e9cb3fa1641305f4347f899.tar.xz
TODO: Add reminder for new code
Diffstat (limited to 'loader/loader.c')
-rw-r--r--loader/loader.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/loader/loader.c b/loader/loader.c
index 0527738b..11657b81 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -2239,6 +2239,13 @@ VkResult loader_CreateInstance(
while (scanned_icds) {
icd = loader_icd_add(ptr_instance, scanned_icds);
if (icd) {
+ /*
+ * NOTE: Need to filter the extensions to only those
+ * supported by the ICD are in the pCreateInfo structure.
+ * No ICD will advertise support for layers. An ICD
+ * library could support a layer, but it would be
+ * indenpendent of the actual ICD, just in the same library.
+ */
res = scanned_icds->CreateInstance(pCreateInfo,
&(icd->instance));
if (res != VK_SUCCESS)