diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-04-01 01:28:33 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-04-01 02:32:07 +0200 |
commit | affee77b7054cbc9cdd38806e12138dab0ce3d06 (patch) | |
tree | f9de3be35cf8a4b489af92e41458fd6631e28652 /src/video_core/renderer_vulkan/wrapper.cpp | |
parent | renderer_vulkan/wrapper: Add queue handle (diff) | |
download | yuzu-affee77b7054cbc9cdd38806e12138dab0ce3d06.tar yuzu-affee77b7054cbc9cdd38806e12138dab0ce3d06.tar.gz yuzu-affee77b7054cbc9cdd38806e12138dab0ce3d06.tar.bz2 yuzu-affee77b7054cbc9cdd38806e12138dab0ce3d06.tar.lz yuzu-affee77b7054cbc9cdd38806e12138dab0ce3d06.tar.xz yuzu-affee77b7054cbc9cdd38806e12138dab0ce3d06.tar.zst yuzu-affee77b7054cbc9cdd38806e12138dab0ce3d06.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan/wrapper.cpp')
-rw-r--r-- | src/video_core/renderer_vulkan/wrapper.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/wrapper.cpp b/src/video_core/renderer_vulkan/wrapper.cpp index 1ec7a542d..84a4c354f 100644 --- a/src/video_core/renderer_vulkan/wrapper.cpp +++ b/src/video_core/renderer_vulkan/wrapper.cpp @@ -420,4 +420,12 @@ std::vector<VkCheckpointDataNV> Queue::GetCheckpointDataNV(const DeviceDispatch& return checkpoints; } +void Buffer::BindMemory(VkDeviceMemory memory, VkDeviceSize offset) const { + Check(dld->vkBindBufferMemory(owner, handle, memory, offset)); +} + +void Image::BindMemory(VkDeviceMemory memory, VkDeviceSize offset) const { + Check(dld->vkBindImageMemory(owner, handle, memory, offset)); +} + } // namespace Vulkan::vk |