From 5e26294e27715415884e4b64f98ffd9817621c0a Mon Sep 17 00:00:00 2001 From: "Daniel R." <47796739+polybiusproxy@users.noreply.github.com> Date: Thu, 3 Oct 2024 16:57:33 +0200 Subject: [PATCH] video_core: disable warnings on vulkan --- src/video_core/renderer_vulkan/vk_common.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/video_core/renderer_vulkan/vk_common.h b/src/video_core/renderer_vulkan/vk_common.h index e59eb47e..9178aeb6 100644 --- a/src/video_core/renderer_vulkan/vk_common.h +++ b/src/video_core/renderer_vulkan/vk_common.h @@ -17,7 +17,11 @@ #define VULKAN_HPP_NO_EXCEPTIONS // Define assert-on-result to nothing to instead return the result for our handling. #define VULKAN_HPP_ASSERT_ON_RESULT + +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wunused-value" #include +#pragma clang diagnostic pop #define VMA_STATIC_VULKAN_FUNCTIONS 0 #define VMA_DYNAMIC_VULKAN_FUNCTIONS 1