diff options
author | Fernando S <fsahmkow27@gmail.com> | 2023-11-26 18:33:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-26 18:33:05 +0100 |
commit | f21340f7aa60296c7b56e293b5f870b7efd3807d (patch) | |
tree | 9e2a8f9ba77be42bf7695b051f515e52481dd490 /src/video_core/vulkan_common | |
parent | Merge pull request #12180 from german77/cabinetmii (diff) | |
parent | Vulkan: Add a final barrier to the upload command buffer (diff) | |
download | yuzu-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.h | 4 |
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)); } |