diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-06-26 21:58:40 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-06-26 21:58:40 +0200 |
commit | 6481d91e4a5b5fbae899c3a7924af0b132c16bc8 (patch) | |
tree | e67f6966cabda53be653cda6ba346f88d5f5090d /src/video_core/renderer_vulkan/vk_buffer_cache.h | |
parent | Merge pull request #4159 from ogniK5377/mem-manager-dumb-assert (diff) | |
download | yuzu-6481d91e4a5b5fbae899c3a7924af0b132c16bc8.tar yuzu-6481d91e4a5b5fbae899c3a7924af0b132c16bc8.tar.gz yuzu-6481d91e4a5b5fbae899c3a7924af0b132c16bc8.tar.bz2 yuzu-6481d91e4a5b5fbae899c3a7924af0b132c16bc8.tar.lz yuzu-6481d91e4a5b5fbae899c3a7924af0b132c16bc8.tar.xz yuzu-6481d91e4a5b5fbae899c3a7924af0b132c16bc8.tar.zst yuzu-6481d91e4a5b5fbae899c3a7924af0b132c16bc8.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_buffer_cache.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/renderer_vulkan/vk_buffer_cache.h b/src/video_core/renderer_vulkan/vk_buffer_cache.h index 3630aca77..991ee451c 100644 --- a/src/video_core/renderer_vulkan/vk_buffer_cache.h +++ b/src/video_core/renderer_vulkan/vk_buffer_cache.h @@ -29,12 +29,12 @@ public: VKStagingBufferPool& staging_pool, VAddr cpu_addr, std::size_t size); ~Buffer(); - void Upload(std::size_t offset, std::size_t size, const u8* data) const; + void Upload(std::size_t offset, std::size_t size, const u8* data); - void Download(std::size_t offset, std::size_t size, u8* data) const; + void Download(std::size_t offset, std::size_t size, u8* data); void CopyFrom(const Buffer& src, std::size_t src_offset, std::size_t dst_offset, - std::size_t size) const; + std::size_t size); VkBuffer Handle() const { return *buffer.handle; |