From 89765d033dacac2c3e9cb3fa1641305f4347f899 Mon Sep 17 00:00:00 2001 From: Courtney Goeltzenleuchter Date: Mon, 6 Jul 2015 14:59:20 -0600 Subject: TODO: Add reminder for new code --- loader/loader.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'loader') 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) -- cgit v1.2.3