diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-12-09 02:08:19 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-12-09 02:08:19 +0100 |
commit | 7ea362e134dec271ea09c34956710a028314e205 (patch) | |
tree | e728de74265864cd7e13cd8de3a098360574c71b /src/video_core/renderer_vulkan/declarations.h | |
parent | Merge pull request #3199 from ReinUsesLisp/vk-swapchain (diff) | |
download | yuzu-7ea362e134dec271ea09c34956710a028314e205.tar yuzu-7ea362e134dec271ea09c34956710a028314e205.tar.gz yuzu-7ea362e134dec271ea09c34956710a028314e205.tar.bz2 yuzu-7ea362e134dec271ea09c34956710a028314e205.tar.lz yuzu-7ea362e134dec271ea09c34956710a028314e205.tar.xz yuzu-7ea362e134dec271ea09c34956710a028314e205.tar.zst yuzu-7ea362e134dec271ea09c34956710a028314e205.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan/declarations.h')
-rw-r--r-- | src/video_core/renderer_vulkan/declarations.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/declarations.h b/src/video_core/renderer_vulkan/declarations.h index ba25b5bc7..323bf6b39 100644 --- a/src/video_core/renderer_vulkan/declarations.h +++ b/src/video_core/renderer_vulkan/declarations.h @@ -4,6 +4,17 @@ #pragma once +namespace vk { +class DispatchLoaderDynamic; +} + +namespace Vulkan { +constexpr vk::DispatchLoaderDynamic* dont_use_me_dld = nullptr; +} + +#define VULKAN_HPP_DEFAULT_DISPATCHER (*::Vulkan::dont_use_me_dld) +#define VULKAN_HPP_ENABLE_DYNAMIC_LOADER_TOOL 0 +#define VULKAN_HPP_DISPATCH_LOADER_DYNAMIC 1 #include <vulkan/vulkan.hpp> namespace Vulkan { @@ -41,5 +52,7 @@ using UniqueSemaphore = UniqueHandle<vk::Semaphore>; using UniqueShaderModule = UniqueHandle<vk::ShaderModule>; using UniqueSwapchainKHR = UniqueHandle<vk::SwapchainKHR>; using UniqueValidationCacheEXT = UniqueHandle<vk::ValidationCacheEXT>; +using UniqueDebugReportCallbackEXT = UniqueHandle<vk::DebugReportCallbackEXT>; +using UniqueDebugUtilsMessengerEXT = UniqueHandle<vk::DebugUtilsMessengerEXT>; } // namespace Vulkan |