diff options
author | GPUCode <geoster3d@gmail.com> | 2023-06-05 17:58:21 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2023-06-28 03:00:09 +0200 |
commit | a9b44d37e101c646b00ca73dffa06edcb7627dcd (patch) | |
tree | 45c7f4f14d02f8705c194b872e3720c6022af670 /src/video_core/renderer_vulkan/vk_buffer_cache.cpp | |
parent | renderer_vulkan: Add suport for debug report callback (diff) | |
download | yuzu-a9b44d37e101c646b00ca73dffa06edcb7627dcd.tar yuzu-a9b44d37e101c646b00ca73dffa06edcb7627dcd.tar.gz yuzu-a9b44d37e101c646b00ca73dffa06edcb7627dcd.tar.bz2 yuzu-a9b44d37e101c646b00ca73dffa06edcb7627dcd.tar.lz yuzu-a9b44d37e101c646b00ca73dffa06edcb7627dcd.tar.xz yuzu-a9b44d37e101c646b00ca73dffa06edcb7627dcd.tar.zst yuzu-a9b44d37e101c646b00ca73dffa06edcb7627dcd.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 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/vk_buffer_cache.cpp b/src/video_core/renderer_vulkan/vk_buffer_cache.cpp index 660f7c9ff..b72f95235 100644 --- a/src/video_core/renderer_vulkan/vk_buffer_cache.cpp +++ b/src/video_core/renderer_vulkan/vk_buffer_cache.cpp @@ -590,7 +590,8 @@ void BufferCacheRuntime::ReserveNullBuffer() { .pNext = nullptr, .flags = 0, .size = 4, - .usage = VK_BUFFER_USAGE_INDEX_BUFFER_BIT | VK_BUFFER_USAGE_TRANSFER_DST_BIT, + .usage = VK_BUFFER_USAGE_VERTEX_BUFFER_BIT | VK_BUFFER_USAGE_INDEX_BUFFER_BIT | + VK_BUFFER_USAGE_TRANSFER_DST_BIT, .sharingMode = VK_SHARING_MODE_EXCLUSIVE, .queueFamilyIndexCount = 0, .pQueueFamilyIndices = nullptr, |