summaryrefslogtreecommitdiffstats
path: root/src/video_core/vulkan_common/vulkan_wrapper.h
diff options
context:
space:
mode:
authorGPUCode <geoster3d@gmail.com>2023-09-09 16:28:06 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2023-11-12 20:27:39 +0100
commitefc50485b80e4fde656897b7c9c32f2dbb78977b (patch)
tree0020d6913b7e8f123feacac8f0dbff87e0ac0c36 /src/video_core/vulkan_common/vulkan_wrapper.h
parentMerge pull request #11980 from german77/moment (diff)
downloadyuzu-efc50485b80e4fde656897b7c9c32f2dbb78977b.tar
yuzu-efc50485b80e4fde656897b7c9c32f2dbb78977b.tar.gz
yuzu-efc50485b80e4fde656897b7c9c32f2dbb78977b.tar.bz2
yuzu-efc50485b80e4fde656897b7c9c32f2dbb78977b.tar.lz
yuzu-efc50485b80e4fde656897b7c9c32f2dbb78977b.tar.xz
yuzu-efc50485b80e4fde656897b7c9c32f2dbb78977b.tar.zst
yuzu-efc50485b80e4fde656897b7c9c32f2dbb78977b.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/vulkan_common/vulkan_wrapper.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/vulkan_common/vulkan_wrapper.h b/src/video_core/vulkan_common/vulkan_wrapper.h
index 0487cd3b6..a0c70797f 100644
--- a/src/video_core/vulkan_common/vulkan_wrapper.h
+++ b/src/video_core/vulkan_common/vulkan_wrapper.h
@@ -1101,6 +1101,10 @@ public:
return &handle;
}
+ VkCommandBuffer operator*() const noexcept {
+ return handle;
+ }
+
void Begin(const VkCommandBufferBeginInfo& begin_info) const {
Check(dld->vkBeginCommandBuffer(handle, &begin_info));
}