summaryrefslogtreecommitdiffstats
path: root/Tests/FindVulkan/Test/main-MoltenVK.cxx
blob: 3156979b3f08c704f640f8611f112543b20bcded (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <iostream>

#include <MoltenVK/vk_mvk_moltenvk.h>

int main()
{
  char mvk_version[256];
  char vk_version[256];
  vkGetVersionStringsMVK(mvk_version, sizeof(mvk_version), vk_version,
                         sizeof(vk_version));

  std::cout << "MoltenVK version: " << mvk_version << std::endl;
  std::cout << "Vulkan version: " << vk_version << std::endl;

  return 0;
}