mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2024-11-26 16:34:35 +00:00
Fixed VulkanUsage::Init for Vulkan SDK not supporting new Vulkan 1.3, to fix CI builds
This commit is contained in:
parent
c168e42de4
commit
e0fcd7344e
@ -486,9 +486,15 @@ void VulkanUsage::Init()
|
|||||||
switch(appInfo.apiVersion)
|
switch(appInfo.apiVersion)
|
||||||
{
|
{
|
||||||
case VK_API_VERSION_1_0: wprintf(L"1.0\n"); break;
|
case VK_API_VERSION_1_0: wprintf(L"1.0\n"); break;
|
||||||
|
#ifdef VK_VERSION_1_1
|
||||||
case VK_API_VERSION_1_1: wprintf(L"1.1\n"); break;
|
case VK_API_VERSION_1_1: wprintf(L"1.1\n"); break;
|
||||||
|
#endif
|
||||||
|
#ifdef VK_VERSION_1_2
|
||||||
case VK_API_VERSION_1_2: wprintf(L"1.2\n"); break;
|
case VK_API_VERSION_1_2: wprintf(L"1.2\n"); break;
|
||||||
|
#endif
|
||||||
|
#ifdef VK_VERSION_1_3
|
||||||
case VK_API_VERSION_1_3: wprintf(L"1.3\n"); break;
|
case VK_API_VERSION_1_3: wprintf(L"1.3\n"); break;
|
||||||
|
#endif
|
||||||
default: assert(0);
|
default: assert(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user