summaryrefslogtreecommitdiffstats
path: root/src/video_core/vulkan_common/vulkan_memory_allocator.h
diff options
context:
space:
mode:
authorRodrigo Locatti <reinuseslisp@airmail.cc>2021-01-17 09:37:17 +0100
committerGitHub <noreply@github.com>2021-01-17 09:37:17 +0100
commit132f2006af28ea0de7f2e42a5637882236d0ec8f (patch)
treee5b7b0edf295799571f554162d19b48146141241 /src/video_core/vulkan_common/vulkan_memory_allocator.h
parentMerge pull request #5744 from lioncash/header-guard (diff)
parentvideo_core: Resolve -Wdocumentation warnings (diff)
downloadyuzu-132f2006af28ea0de7f2e42a5637882236d0ec8f.tar
yuzu-132f2006af28ea0de7f2e42a5637882236d0ec8f.tar.gz
yuzu-132f2006af28ea0de7f2e42a5637882236d0ec8f.tar.bz2
yuzu-132f2006af28ea0de7f2e42a5637882236d0ec8f.tar.lz
yuzu-132f2006af28ea0de7f2e42a5637882236d0ec8f.tar.xz
yuzu-132f2006af28ea0de7f2e42a5637882236d0ec8f.tar.zst
yuzu-132f2006af28ea0de7f2e42a5637882236d0ec8f.zip
Diffstat (limited to 'src/video_core/vulkan_common/vulkan_memory_allocator.h')
-rw-r--r--src/video_core/vulkan_common/vulkan_memory_allocator.h5
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.
*/