summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Rodrigo Locatti2021-01-17 05:37:17 -0300
committerGravatar GitHub2021-01-17 05:37:17 -0300
commit132f2006af28ea0de7f2e42a5637882236d0ec8f (patch)
treee5b7b0edf295799571f554162d19b48146141241 /src
parentMerge pull request #5744 from lioncash/header-guard (diff)
parentvideo_core: Resolve -Wdocumentation warnings (diff)
downloadyuzu-132f2006af28ea0de7f2e42a5637882236d0ec8f.tar.gz
yuzu-132f2006af28ea0de7f2e42a5637882236d0ec8f.tar.xz
yuzu-132f2006af28ea0de7f2e42a5637882236d0ec8f.zip
Merge pull request #5745 from lioncash/documentation
video_core: Resolve -Wdocumentation warnings
Diffstat (limited to '')
-rw-r--r--src/video_core/buffer_cache/buffer_base.h2
-rw-r--r--src/video_core/vulkan_common/vulkan_memory_allocator.h5
2 files changed, 3 insertions, 4 deletions
diff --git a/src/video_core/buffer_cache/buffer_base.h b/src/video_core/buffer_cache/buffer_base.h
index fd740c2c1..ee8602ce9 100644
--- a/src/video_core/buffer_cache/buffer_base.h
+++ b/src/video_core/buffer_cache/buffer_base.h
@@ -446,7 +446,7 @@ private:
446 * @param offset Offset in bytes from the start of the buffer 446 * @param offset Offset in bytes from the start of the buffer
447 * @param size Size in bytes of the region to query for modifications 447 * @param size Size in bytes of the region to query for modifications
448 * 448 *
449 * @tparam True to query GPU modified pages, false for CPU pages 449 * @tparam gpu True to query GPU modified pages, false for CPU pages
450 */ 450 */
451 template <bool gpu> 451 template <bool gpu>
452 [[nodiscard]] std::pair<u64, u64> ModifiedRegion(u64 offset, u64 size) const noexcept { 452 [[nodiscard]] std::pair<u64, u64> ModifiedRegion(u64 offset, u64 size) const noexcept {
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:
74 MemoryAllocator(const MemoryAllocator&) = delete; 74 MemoryAllocator(const MemoryAllocator&) = delete;
75 75
76 /** 76 /**
77 * Commits a memory with the specified requeriments. 77 * Commits a memory with the specified requirements.
78 * 78 *
79 * @param requirements Requirements returned from a Vulkan call. 79 * @param requirements Requirements returned from a Vulkan call.
80 * @param host_visible Signals the allocator that it *must* use host visible and coherent 80 * @param usage Indicates how the memory will be used.
81 * memory. When passing false, it will try to allocate device local memory.
82 * 81 *
83 * @returns A memory commit. 82 * @returns A memory commit.
84 */ 83 */