We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff39385 commit c578a4fCopy full SHA for c578a4f
src/VulkanSample.cpp
@@ -401,7 +401,9 @@ static VkExtent2D ChooseSwapExtent()
401
402
static constexpr uint32_t GetVulkanApiVersion()
403
{
404
-#if VMA_VULKAN_VERSION == 1003000
+#if VMA_VULKAN_VERSION == 1004000
405
+ return VK_API_VERSION_1_4;
406
+#elif VMA_VULKAN_VERSION == 1003000
407
return VK_API_VERSION_1_3;
408
#elif VMA_VULKAN_VERSION == 1002000
409
return VK_API_VERSION_1_2;
@@ -502,6 +504,9 @@ void VulkanUsage::Init()
502
504
#endif
503
505
#ifdef VK_VERSION_1_3
506
case VK_API_VERSION_1_3: wprintf(L"1.3\n"); break;
507
+#endif
508
+#ifdef VK_VERSION_1_4
509
+ case VK_API_VERSION_1_4: wprintf(L"1.4\n"); break;
510
511
default: assert(0);
512
}
0 commit comments