pantry/projects/github.com/KhronosGroup/Vulkan-Loader/test.c

6 lines
162 B
C
Raw Normal View History

#include <vulkan/vulkan_core.h>
int main() {
uint32_t version;
vkEnumerateInstanceVersion(&version);
return (version >= VK_API_VERSION_1_1) ? 0 : 1;
}