diff options
| author | JMC47 <JMC4789@gmail.com> | 2023-06-11 14:17:39 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-11 14:17:39 -0400 |
| commit | 5c0581e99057bca1d298861593c1d62333d95ace (patch) | |
| tree | c62215519df9f67bc50c7526b8a929e925dd5981 /Source/Core/VideoBackends/Vulkan/VulkanContext.cpp | |
| parent | bcd6e2e6dcf7c8171056b8c4c5e643d00e5a0bc9 (diff) | |
| parent | 2da7d16b7cf9a3844a4aa6005ede7926b31acf2d (diff) | |
Merge pull request #11867 from K0bin/adrenotools
Implement loading custom drivers on Android
Diffstat (limited to 'Source/Core/VideoBackends/Vulkan/VulkanContext.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Vulkan/VulkanContext.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Source/Core/VideoBackends/Vulkan/VulkanContext.cpp b/Source/Core/VideoBackends/Vulkan/VulkanContext.cpp index 5b5f2ffaee..ed4d749878 100644 --- a/Source/Core/VideoBackends/Vulkan/VulkanContext.cpp +++ b/Source/Core/VideoBackends/Vulkan/VulkanContext.cpp @@ -143,7 +143,18 @@ VkInstance VulkanContext::CreateVulkanInstance(WindowSystemType wstype, bool ena { // The device itself may not support 1.1, so we check that before using any 1.1 functionality. app_info.apiVersion = VK_MAKE_VERSION(1, 1, 0); + WARN_LOG_FMT(HOST_GPU, "Using Vulkan 1.1, supported: {}.{}", + VK_VERSION_MAJOR(supported_api_version), + VK_VERSION_MINOR(supported_api_version)); } + else + { + WARN_LOG_FMT(HOST_GPU, "Using Vulkan 1.0"); + } + } + else + { + WARN_LOG_FMT(HOST_GPU, "Using Vulkan 1.0"); } *out_vk_api_version = app_info.apiVersion; |
