mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-07-04 23:31:19 +01:00
video_core: Resolve -Wdocumentation warnings
Silences some -Wdocumentation warnings on Clang.
This commit is contained in:
parent
0e0fc07135
commit
40acc2c079
2 changed files with 3 additions and 4 deletions
|
@ -446,7 +446,7 @@ private:
|
||||||
* @param offset Offset in bytes from the start of the buffer
|
* @param offset Offset in bytes from the start of the buffer
|
||||||
* @param size Size in bytes of the region to query for modifications
|
* @param size Size in bytes of the region to query for modifications
|
||||||
*
|
*
|
||||||
* @tparam True to query GPU modified pages, false for CPU pages
|
* @tparam gpu True to query GPU modified pages, false for CPU pages
|
||||||
*/
|
*/
|
||||||
template <bool gpu>
|
template <bool gpu>
|
||||||
[[nodiscard]] std::pair<u64, u64> ModifiedRegion(u64 offset, u64 size) const noexcept {
|
[[nodiscard]] std::pair<u64, u64> ModifiedRegion(u64 offset, u64 size) const noexcept {
|
||||||
|
|
|
@ -74,11 +74,10 @@ public:
|
||||||
MemoryAllocator(const MemoryAllocator&) = delete;
|
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 requirements Requirements returned from a Vulkan call.
|
||||||
* @param host_visible Signals the allocator that it *must* use host visible and coherent
|
* @param usage Indicates how the memory will be used.
|
||||||
* memory. When passing false, it will try to allocate device local memory.
|
|
||||||
*
|
*
|
||||||
* @returns A memory commit.
|
* @returns A memory commit.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue