diff options
author | Fernando S <fsahmkow27@gmail.com> | 2021-08-08 11:57:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-08 11:57:40 +0200 |
commit | 859deda3bb1418de434edf75c3bd8cfc32027b5b (patch) | |
tree | 346c5f9542c886af05228ecae617f05da243ec1e /src/video_core/vulkan_common/vulkan_memory_allocator.h | |
parent | Merge pull request #6698 from german77/SDL_QoL (diff) | |
parent | vulkan_memory_allocator: Respect bufferImageGranularity (diff) | |
download | yuzu-859deda3bb1418de434edf75c3bd8cfc32027b5b.tar yuzu-859deda3bb1418de434edf75c3bd8cfc32027b5b.tar.gz yuzu-859deda3bb1418de434edf75c3bd8cfc32027b5b.tar.bz2 yuzu-859deda3bb1418de434edf75c3bd8cfc32027b5b.tar.lz yuzu-859deda3bb1418de434edf75c3bd8cfc32027b5b.tar.xz yuzu-859deda3bb1418de434edf75c3bd8cfc32027b5b.tar.zst yuzu-859deda3bb1418de434edf75c3bd8cfc32027b5b.zip |
Diffstat (limited to 'src/video_core/vulkan_common/vulkan_memory_allocator.h')
-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. |