Also add GetGlobalExtensionInfo to layer .def file
}
va_end(ap);
+#if defined(WIN32)
+ OutputDebugString(msg);
+#else
fputs(msg, stderr);
fputc('\n', stderr);
+#endif
}
static bool has_extension(struct extension_property *exts, uint32_t count,
#define VK_DRIVER_LIBRARY_PREFIX_LEN 3
// TODO/TBD: Is this an appropriate suffix for Windows?
#define VK_LAYER_LIBRARY_PREFIX "VKLayer"
-#define VK_LAYER_LIBRARY_PREFIX_LEN 8
+#define VK_LAYER_LIBRARY_PREFIX_LEN 7
#define VK_LIBRARY_SUFFIX ".dll"
#define VK_LIBRARY_SUFFIX_LEN 4
#endif // DEFAULT_VK_DRIVERS_PATH
"layer": [
"GetProcAddr",
"EnumerateLayers",
+ "GetGlobalExtensionInfo",
],
}