diff options
author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-06-18 10:59:12 +0200 |
---|---|---|
committer | GPUCode <geoster3d@gmail.com> | 2023-06-18 11:45:12 +0200 |
commit | 6448eade2ef126a88068cde66b77e7788c3fab08 (patch) | |
tree | ac7ff6d8d31defedca403be72068dcdfb07e48ff /src/video_core/vulkan_common/vulkan_device.h | |
parent | Merge pull request #10797 from lat9nq/tzdb-patch (diff) | |
download | yuzu-6448eade2ef126a88068cde66b77e7788c3fab08.tar yuzu-6448eade2ef126a88068cde66b77e7788c3fab08.tar.gz yuzu-6448eade2ef126a88068cde66b77e7788c3fab08.tar.bz2 yuzu-6448eade2ef126a88068cde66b77e7788c3fab08.tar.lz yuzu-6448eade2ef126a88068cde66b77e7788c3fab08.tar.xz yuzu-6448eade2ef126a88068cde66b77e7788c3fab08.tar.zst yuzu-6448eade2ef126a88068cde66b77e7788c3fab08.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/vulkan_common/vulkan_device.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.h b/src/video_core/vulkan_common/vulkan_device.h index f314d0ffe..123d3b1c4 100644 --- a/src/video_core/vulkan_common/vulkan_device.h +++ b/src/video_core/vulkan_common/vulkan_device.h @@ -13,6 +13,8 @@ #include "common/settings.h" #include "video_core/vulkan_common/vulkan_wrapper.h" +VK_DEFINE_HANDLE(VmaAllocator) + // Define all features which may be used by the implementation here. // Vulkan version in the macro describes the minimum version required for feature availability. // If the Vulkan version is lower than the required version, the named extension is required. @@ -618,6 +620,7 @@ private: private: VkInstance instance; ///< Vulkan instance. + VmaAllocator allocator; ///< VMA allocator. vk::DeviceDispatch dld; ///< Device function pointers. vk::PhysicalDevice physical; ///< Physical device. vk::Device logical; ///< Logical device. |