diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-04-22 00:20:53 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-04-22 00:55:52 +0200 |
commit | 488ed8bd02c8014cf9c70aff76371a77ad36765c (patch) | |
tree | 708fbc174390f2a1613adf2bcfe8c28bf4145d20 /src/video_core/renderer_vulkan/vk_staging_buffer_pool.cpp | |
parent | gl_rasterizer: Fix buffers without size (diff) | |
download | yuzu-488ed8bd02c8014cf9c70aff76371a77ad36765c.tar yuzu-488ed8bd02c8014cf9c70aff76371a77ad36765c.tar.gz yuzu-488ed8bd02c8014cf9c70aff76371a77ad36765c.tar.bz2 yuzu-488ed8bd02c8014cf9c70aff76371a77ad36765c.tar.lz yuzu-488ed8bd02c8014cf9c70aff76371a77ad36765c.tar.xz yuzu-488ed8bd02c8014cf9c70aff76371a77ad36765c.tar.zst yuzu-488ed8bd02c8014cf9c70aff76371a77ad36765c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_staging_buffer_pool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/vk_staging_buffer_pool.cpp b/src/video_core/renderer_vulkan/vk_staging_buffer_pool.cpp index 94d954d7a..c76ab5c2d 100644 --- a/src/video_core/renderer_vulkan/vk_staging_buffer_pool.cpp +++ b/src/video_core/renderer_vulkan/vk_staging_buffer_pool.cpp @@ -81,7 +81,7 @@ VKBuffer& VKStagingBufferPool::CreateStagingBuffer(std::size_t size, bool host_v ci.size = 1ULL << log2; ci.usage = VK_BUFFER_USAGE_TRANSFER_SRC_BIT | VK_BUFFER_USAGE_TRANSFER_DST_BIT | VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT | VK_BUFFER_USAGE_STORAGE_BUFFER_BIT | - VK_BUFFER_USAGE_INDEX_BUFFER_BIT; + VK_BUFFER_USAGE_INDEX_BUFFER_BIT | VK_BUFFER_USAGE_VERTEX_BUFFER_BIT; ci.sharingMode = VK_SHARING_MODE_EXCLUSIVE; ci.queueFamilyIndexCount = 0; ci.pQueueFamilyIndices = nullptr; |