diff options
author | Robin Kertels <robin.kertels@gmail.com> | 2021-08-07 15:15:01 +0200 |
---|---|---|
committer | Robin Kertels <robin.kertels@gmail.com> | 2021-08-07 15:28:05 +0200 |
commit | bb29dcb7f2dad1e0ed67b32387912d56e40a5e5d (patch) | |
tree | d9acd207c966c23cc35af721a3e53f8ae4a0d049 /src/video_core/vulkan_common/vulkan_memory_allocator.h | |
parent | Merge pull request #6795 from sankasan/cmd-remove-cursor-fullscreen (diff) | |
download | yuzu-bb29dcb7f2dad1e0ed67b32387912d56e40a5e5d.tar yuzu-bb29dcb7f2dad1e0ed67b32387912d56e40a5e5d.tar.gz yuzu-bb29dcb7f2dad1e0ed67b32387912d56e40a5e5d.tar.bz2 yuzu-bb29dcb7f2dad1e0ed67b32387912d56e40a5e5d.tar.lz yuzu-bb29dcb7f2dad1e0ed67b32387912d56e40a5e5d.tar.xz yuzu-bb29dcb7f2dad1e0ed67b32387912d56e40a5e5d.tar.zst yuzu-bb29dcb7f2dad1e0ed67b32387912d56e40a5e5d.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/vulkan_common/vulkan_memory_allocator.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/vulkan_common/vulkan_memory_allocator.h b/src/video_core/vulkan_common/vulkan_memory_allocator.h index b61e931e0..86e8ed119 100644 --- a/src/video_core/vulkan_common/vulkan_memory_allocator.h +++ b/src/video_core/vulkan_common/vulkan_memory_allocator.h @@ -123,6 +123,8 @@ private: const VkPhysicalDeviceMemoryProperties properties; ///< Physical device properties. const bool export_allocations; ///< True when memory allocations have to be exported. std::vector<std::unique_ptr<MemoryAllocation>> allocations; ///< Current allocations. + VkDeviceSize buffer_image_granularity; // The granularity for adjacent offsets between buffers + // and optimal images }; /// Returns true when a memory usage is guaranteed to be host visible. |