diff options
author | Ameer J <52414509+ameerj@users.noreply.github.com> | 2023-10-29 00:44:27 +0200 |
---|---|---|
committer | Ameer J <52414509+ameerj@users.noreply.github.com> | 2023-11-01 01:10:54 +0100 |
commit | 7d348005317c1d5f88b2472de64a083defa2feab (patch) | |
tree | 6f5b26390e2d9794c9031b4887d9e96cdb0a0e8b /src/video_core/renderer_vulkan/vk_buffer_cache.h | |
parent | Merge pull request #11931 from t895/applet-launcher (diff) | |
download | yuzu-7d348005317c1d5f88b2472de64a083defa2feab.tar yuzu-7d348005317c1d5f88b2472de64a083defa2feab.tar.gz yuzu-7d348005317c1d5f88b2472de64a083defa2feab.tar.bz2 yuzu-7d348005317c1d5f88b2472de64a083defa2feab.tar.lz yuzu-7d348005317c1d5f88b2472de64a083defa2feab.tar.xz yuzu-7d348005317c1d5f88b2472de64a083defa2feab.tar.zst yuzu-7d348005317c1d5f88b2472de64a083defa2feab.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan/vk_buffer_cache.h')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_buffer_cache.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/vk_buffer_cache.h b/src/video_core/renderer_vulkan/vk_buffer_cache.h index 95446c732..833dfac45 100644 --- a/src/video_core/renderer_vulkan/vk_buffer_cache.h +++ b/src/video_core/renderer_vulkan/vk_buffer_cache.h @@ -75,6 +75,8 @@ public: bool CanReportMemoryUsage() const; + u32 GetStorageBufferAlignment() const; + [[nodiscard]] StagingBufferRef UploadStagingBuffer(size_t size); [[nodiscard]] StagingBufferRef DownloadStagingBuffer(size_t size, bool deferred = false); |