mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-10 05:38:49 +00:00
video_core: disable warnings on vulkan
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user