diff options
| author | GPUCode <geoster3d@gmail.com> | 2023-09-08 22:47:39 +0300 |
|---|---|---|
| committer | GPUCode <geoster3d@gmail.com> | 2023-09-08 23:28:46 +0300 |
| commit | 75213f8c49c9ae01b444040c87d57417d1efd9aa (patch) | |
| tree | 471e7e01f7c85097bff2b72eb2d3c7c94aa0d069 /src/video_core/vulkan_common/vulkan_instance.cpp | |
| parent | e371511e3d5bb5a5eedac4a30f7779f84c9233ab (diff) | |
renderer_vulkan: Remove debug report
* VVL has implemented the more modern alternative, thus we don't need to support it anymore
Diffstat (limited to 'src/video_core/vulkan_common/vulkan_instance.cpp')
| -rw-r--r-- | src/video_core/vulkan_common/vulkan_instance.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/video_core/vulkan_common/vulkan_instance.cpp b/src/video_core/vulkan_common/vulkan_instance.cpp index bc16145be5..180657a75a 100644 --- a/src/video_core/vulkan_common/vulkan_instance.cpp +++ b/src/video_core/vulkan_common/vulkan_instance.cpp @@ -76,11 +76,9 @@ namespace { extensions.push_back(VK_KHR_PORTABILITY_ENUMERATION_EXTENSION_NAME); } #endif - if (enable_validation) { - const bool debug_utils = - AreExtensionsSupported(dld, std::array{VK_EXT_DEBUG_UTILS_EXTENSION_NAME}); - extensions.push_back(debug_utils ? VK_EXT_DEBUG_UTILS_EXTENSION_NAME - : VK_EXT_DEBUG_REPORT_EXTENSION_NAME); + if (enable_validation && + AreExtensionsSupported(dld, std::array{VK_EXT_DEBUG_UTILS_EXTENSION_NAME})) { + extensions.push_back(VK_EXT_DEBUG_UTILS_EXTENSION_NAME); } return extensions; } |
