diff options
| author | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-07-06 14:59:20 -0600 |
|---|---|---|
| committer | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-07-07 17:57:48 -0600 |
| commit | 89765d033dacac2c3e9cb3fa1641305f4347f899 (patch) | |
| tree | 0862801bf4c0263febd43f5ea313b3351eb7ba13 | |
| parent | c1196ffa0987596f5dd6bdc56052314eb9ac5464 (diff) | |
| download | usermoji-89765d033dacac2c3e9cb3fa1641305f4347f899.tar.xz | |
TODO: Add reminder for new code
| -rw-r--r-- | loader/loader.c | 7 |
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) |
