summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan/wrapper.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-04-01 01:59:28 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-04-01 02:32:07 +0200
commit11774308d305537677454c5acddd7a5928a1275d (patch)
treef5b6f81632e24bc9382cf01534e88b3fc8c1c179 /src/video_core/renderer_vulkan/wrapper.h
parentrenderer_vulkan/wrapper: Add fence handle (diff)
downloadyuzu-11774308d305537677454c5acddd7a5928a1275d.tar
yuzu-11774308d305537677454c5acddd7a5928a1275d.tar.gz
yuzu-11774308d305537677454c5acddd7a5928a1275d.tar.bz2
yuzu-11774308d305537677454c5acddd7a5928a1275d.tar.lz
yuzu-11774308d305537677454c5acddd7a5928a1275d.tar.xz
yuzu-11774308d305537677454c5acddd7a5928a1275d.tar.zst
yuzu-11774308d305537677454c5acddd7a5928a1275d.zip
Diffstat (limited to 'src/video_core/renderer_vulkan/wrapper.h')
-rw-r--r--src/video_core/renderer_vulkan/wrapper.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/wrapper.h b/src/video_core/renderer_vulkan/wrapper.h
index 96f498c13..d8976f3b0 100644
--- a/src/video_core/renderer_vulkan/wrapper.h
+++ b/src/video_core/renderer_vulkan/wrapper.h
@@ -647,4 +647,11 @@ public:
VkCommandBufferLevel level = VK_COMMAND_BUFFER_LEVEL_PRIMARY) const;
};
+class SwapchainKHR : public Handle<VkSwapchainKHR, VkDevice, DeviceDispatch> {
+ using Handle<VkSwapchainKHR, VkDevice, DeviceDispatch>::Handle;
+
+public:
+ std::vector<VkImage> GetImages() const;
+};
+
} // namespace Vulkan::vk