diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-01-03 22:38:15 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-01-15 20:19:39 +0100 |
commit | 72541af3bc8973fba0f0e3d1302fcd0fa7fb9f06 (patch) | |
tree | 4fc56ddc8b3e1dfe06a4980696025247b5f9d24a /src/video_core/renderer_vulkan/vk_rasterizer.cpp | |
parent | vulkan_common: Move allocator to the common directory (diff) | |
download | yuzu-72541af3bc8973fba0f0e3d1302fcd0fa7fb9f06.tar yuzu-72541af3bc8973fba0f0e3d1302fcd0fa7fb9f06.tar.gz yuzu-72541af3bc8973fba0f0e3d1302fcd0fa7fb9f06.tar.bz2 yuzu-72541af3bc8973fba0f0e3d1302fcd0fa7fb9f06.tar.lz yuzu-72541af3bc8973fba0f0e3d1302fcd0fa7fb9f06.tar.xz yuzu-72541af3bc8973fba0f0e3d1302fcd0fa7fb9f06.tar.zst yuzu-72541af3bc8973fba0f0e3d1302fcd0fa7fb9f06.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan/vk_rasterizer.cpp')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_rasterizer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/vk_rasterizer.cpp b/src/video_core/renderer_vulkan/vk_rasterizer.cpp index f38ead9c2..f0a111829 100644 --- a/src/video_core/renderer_vulkan/vk_rasterizer.cpp +++ b/src/video_core/renderer_vulkan/vk_rasterizer.cpp @@ -1445,7 +1445,7 @@ VkBuffer RasterizerVulkan::DefaultBuffer() { .queueFamilyIndexCount = 0, .pQueueFamilyIndices = nullptr, }); - default_buffer_commit = memory_allocator.Commit(default_buffer, false); + default_buffer_commit = memory_allocator.Commit(default_buffer, MemoryUsage::DeviceLocal); scheduler.RequestOutsideRenderPassOperationContext(); scheduler.Record([buffer = *default_buffer](vk::CommandBuffer cmdbuf) { |