diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-03-17 05:39:38 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-04-07 07:23:23 +0200 |
commit | bc1b4b85b01aee30a14c234143e72ef3435f9660 (patch) | |
tree | 2ed6568512ce8c93114ada1a3c9e32178f1e5dd2 /src/video_core/renderer_vulkan/renderer_vulkan.h | |
parent | common/dynamic_library: Import and adapt helper from Dolphin (diff) | |
download | yuzu-bc1b4b85b01aee30a14c234143e72ef3435f9660.tar yuzu-bc1b4b85b01aee30a14c234143e72ef3435f9660.tar.gz yuzu-bc1b4b85b01aee30a14c234143e72ef3435f9660.tar.bz2 yuzu-bc1b4b85b01aee30a14c234143e72ef3435f9660.tar.lz yuzu-bc1b4b85b01aee30a14c234143e72ef3435f9660.tar.xz yuzu-bc1b4b85b01aee30a14c234143e72ef3435f9660.tar.zst yuzu-bc1b4b85b01aee30a14c234143e72ef3435f9660.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_vulkan/renderer_vulkan.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/renderer_vulkan.h b/src/video_core/renderer_vulkan/renderer_vulkan.h index d14384e79..7a17c546d 100644 --- a/src/video_core/renderer_vulkan/renderer_vulkan.h +++ b/src/video_core/renderer_vulkan/renderer_vulkan.h @@ -6,6 +6,7 @@ #include <memory> #include <optional> +#include <string> #include <vector> #include "video_core/renderer_base.h" @@ -44,6 +45,8 @@ public: void SwapBuffers(const Tegra::FramebufferConfig* framebuffer) override; bool TryPresent(int timeout_ms) override; + static std::vector<std::string> EnumerateDevices(); + private: std::optional<vk::DebugUtilsMessengerEXT> CreateDebugCallback( const vk::DispatchLoaderDynamic& dldi); |