video_core: disable warnings on vulkan

This commit is contained in:
Daniel R. 2024-10-03 16:57:33 +02:00
parent ed24632ceb
commit 5e26294e27
No known key found for this signature in database
GPG Key ID: B8ADC8F57BA18DBA

View File

@ -17,7 +17,11 @@
#define VULKAN_HPP_NO_EXCEPTIONS #define VULKAN_HPP_NO_EXCEPTIONS
// Define assert-on-result to nothing to instead return the result for our handling. // Define assert-on-result to nothing to instead return the result for our handling.
#define VULKAN_HPP_ASSERT_ON_RESULT #define VULKAN_HPP_ASSERT_ON_RESULT
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-value"
#include <vulkan/vulkan.hpp> #include <vulkan/vulkan.hpp>
#pragma clang diagnostic pop
#define VMA_STATIC_VULKAN_FUNCTIONS 0 #define VMA_STATIC_VULKAN_FUNCTIONS 0
#define VMA_DYNAMIC_VULKAN_FUNCTIONS 1 #define VMA_DYNAMIC_VULKAN_FUNCTIONS 1