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.cpp | |
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.cpp')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_buffer_cache.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/vk_buffer_cache.cpp b/src/video_core/renderer_vulkan/vk_buffer_cache.cpp index d8148e89a..976c3f6a6 100644 --- a/src/video_core/renderer_vulkan/vk_buffer_cache.cpp +++ b/src/video_core/renderer_vulkan/vk_buffer_cache.cpp @@ -355,6 +355,10 @@ bool BufferCacheRuntime::CanReportMemoryUsage() const { return device.CanReportMemoryUsage(); } +u32 BufferCacheRuntime::GetStorageBufferAlignment() const { + return static_cast<u32>(device.GetStorageBufferAlignment()); +} + void BufferCacheRuntime::Finish() { scheduler.Finish(); } |