diff options
author | Lioncash <mathew1800@gmail.com> | 2021-01-17 08:43:06 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2021-01-17 08:44:21 +0100 |
commit | 40acc2c079309c9c084e3aedd75ed42d42bfb20e (patch) | |
tree | 3da640c9535074b6d9feff8c39527ed6f030b7d3 /src/video_core/vulkan_common/vulkan_memory_allocator.h | |
parent | Merge pull request #5740 from lioncash/const-fn (diff) | |
download | yuzu-40acc2c079309c9c084e3aedd75ed42d42bfb20e.tar yuzu-40acc2c079309c9c084e3aedd75ed42d42bfb20e.tar.gz yuzu-40acc2c079309c9c084e3aedd75ed42d42bfb20e.tar.bz2 yuzu-40acc2c079309c9c084e3aedd75ed42d42bfb20e.tar.lz yuzu-40acc2c079309c9c084e3aedd75ed42d42bfb20e.tar.xz yuzu-40acc2c079309c9c084e3aedd75ed42d42bfb20e.tar.zst yuzu-40acc2c079309c9c084e3aedd75ed42d42bfb20e.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/vulkan_common/vulkan_memory_allocator.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/video_core/vulkan_common/vulkan_memory_allocator.h b/src/video_core/vulkan_common/vulkan_memory_allocator.h index 53b3b275a..9e6cfabf9 100644 --- a/src/video_core/vulkan_common/vulkan_memory_allocator.h +++ b/src/video_core/vulkan_common/vulkan_memory_allocator.h @@ -74,11 +74,10 @@ public: MemoryAllocator(const MemoryAllocator&) = delete; /** - * Commits a memory with the specified requeriments. + * Commits a memory with the specified requirements. * * @param requirements Requirements returned from a Vulkan call. - * @param host_visible Signals the allocator that it *must* use host visible and coherent - * memory. When passing false, it will try to allocate device local memory. + * @param usage Indicates how the memory will be used. * * @returns A memory commit. */ |