summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Vulkan
diff options
context:
space:
mode:
authorLuis Condes Diaz <luis.condesdiaz@gmail.com>2024-06-19 08:18:29 +0200
committerLuis Condes Diaz <luis.condesdiaz@gmail.com>2024-06-22 08:03:20 +0200
commit3f64031cbb2d8d0dad474acfc89faa54cf8678ea (patch)
treeb9d0fa80fd585f3fbbe3aa81f5d6d61c0da11a03 /Source/Core/VideoBackends/Vulkan
parentb6bd882258356704b6268951a154db822ee09f9f (diff)
Migrate Vulkan-Headers to submodule and update to v1.3.288
Diffstat (limited to 'Source/Core/VideoBackends/Vulkan')
-rw-r--r--Source/Core/VideoBackends/Vulkan/CMakeLists.txt2
-rw-r--r--Source/Core/VideoBackends/Vulkan/VulkanLoader.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/Source/Core/VideoBackends/Vulkan/CMakeLists.txt b/Source/Core/VideoBackends/Vulkan/CMakeLists.txt
index ec9e1b51cb..a41c5af172 100644
--- a/Source/Core/VideoBackends/Vulkan/CMakeLists.txt
+++ b/Source/Core/VideoBackends/Vulkan/CMakeLists.txt
@@ -58,7 +58,7 @@ endif()
# Only include the Vulkan headers when building the Vulkan backend
target_include_directories(videovulkan
PRIVATE
- ${CMAKE_SOURCE_DIR}/Externals/Vulkan/Include
+ ${CMAKE_SOURCE_DIR}/Externals/Vulkan-Headers/include
${CMAKE_SOURCE_DIR}/Externals/VulkanMemoryAllocator/include
${CMAKE_SOURCE_DIR}/Externals/libadrenotools/include
)
diff --git a/Source/Core/VideoBackends/Vulkan/VulkanLoader.h b/Source/Core/VideoBackends/Vulkan/VulkanLoader.h
index d1a426d952..e4c8f9e8a6 100644
--- a/Source/Core/VideoBackends/Vulkan/VulkanLoader.h
+++ b/Source/Core/VideoBackends/Vulkan/VulkanLoader.h
@@ -46,18 +46,21 @@
#ifdef _MSVC_LANG
#pragma warning(push, 4)
#pragma warning(disable : 4189) // local variable is initialized but not referenced
+#pragma warning(disable : 4505) // function with internal linkage is not referenced
#endif // #ifdef _MSVC_LANG
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-variable"
+#pragma clang diagnostic ignored "-Wunused-function"
#pragma clang diagnostic ignored "-Wnullability-completeness"
#endif // #ifdef __clang__
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-variable"
+#pragma GCC diagnostic ignored "-Wunused-function"
#endif // #ifdef __GNUC__
#define VMA_VULKAN_VERSION 1001000