summaryrefslogtreecommitdiffstats
path: root/src/video_core/vulkan_common
diff options
context:
space:
mode:
authorFernando S <fsahmkow27@gmail.com>2023-11-26 18:33:05 +0100
committerGitHub <noreply@github.com>2023-11-26 18:33:05 +0100
commitf21340f7aa60296c7b56e293b5f870b7efd3807d (patch)
tree9e2a8f9ba77be42bf7695b051f515e52481dd490 /src/video_core/vulkan_common
parentMerge pull request #12180 from german77/cabinetmii (diff)
parentVulkan: Add a final barrier to the upload command buffer (diff)
downloadyuzu-f21340f7aa60296c7b56e293b5f870b7efd3807d.tar
yuzu-f21340f7aa60296c7b56e293b5f870b7efd3807d.tar.gz
yuzu-f21340f7aa60296c7b56e293b5f870b7efd3807d.tar.bz2
yuzu-f21340f7aa60296c7b56e293b5f870b7efd3807d.tar.lz
yuzu-f21340f7aa60296c7b56e293b5f870b7efd3807d.tar.xz
yuzu-f21340f7aa60296c7b56e293b5f870b7efd3807d.tar.zst
yuzu-f21340f7aa60296c7b56e293b5f870b7efd3807d.zip
Diffstat (limited to 'src/video_core/vulkan_common')
-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));
}