mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-24 21:01:59 +00:00
15 lines
404 B
C++
15 lines
404 B
C++
|
#include <vulkan/vulkan_core.h>
|
||
|
|
||
|
int main()
|
||
|
{
|
||
|
uint32_t version;
|
||
|
AEDI_EXPECT(vkEnumerateInstanceVersion(&version) == VK_SUCCESS);
|
||
|
AEDI_EXPECT(version >= VK_API_VERSION_1_1);
|
||
|
|
||
|
uint32_t count;
|
||
|
AEDI_EXPECT(vkEnumerateInstanceLayerProperties(&count, nullptr) == VK_SUCCESS);
|
||
|
AEDI_EXPECT(vkEnumerateInstanceExtensionProperties(nullptr, &count, nullptr) == VK_SUCCESS);
|
||
|
|
||
|
return 0;
|
||
|
}
|