diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-06-02 02:41:07 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-06-02 07:16:33 +0200 |
commit | 4a6b9a1a71cc7fda9dca4d60a26635485cf0c64f (patch) | |
tree | 0dc3684e9164c2357149b24cc5843b77fd8607fe /src/video_core/renderer_vulkan/vk_texture_cache.cpp | |
parent | Merge pull request #4005 from ReinUsesLisp/g24r8 (diff) | |
download | yuzu-4a6b9a1a71cc7fda9dca4d60a26635485cf0c64f.tar yuzu-4a6b9a1a71cc7fda9dca4d60a26635485cf0c64f.tar.gz yuzu-4a6b9a1a71cc7fda9dca4d60a26635485cf0c64f.tar.bz2 yuzu-4a6b9a1a71cc7fda9dca4d60a26635485cf0c64f.tar.lz yuzu-4a6b9a1a71cc7fda9dca4d60a26635485cf0c64f.tar.xz yuzu-4a6b9a1a71cc7fda9dca4d60a26635485cf0c64f.tar.zst yuzu-4a6b9a1a71cc7fda9dca4d60a26635485cf0c64f.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan/vk_texture_cache.cpp')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_texture_cache.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/renderer_vulkan/vk_texture_cache.cpp b/src/video_core/renderer_vulkan/vk_texture_cache.cpp index 2f1d5021d..ea487b770 100644 --- a/src/video_core/renderer_vulkan/vk_texture_cache.cpp +++ b/src/video_core/renderer_vulkan/vk_texture_cache.cpp @@ -100,8 +100,8 @@ vk::Buffer CreateBuffer(const VKDevice& device, const SurfaceParams& params, ci.pNext = nullptr; ci.flags = 0; ci.size = static_cast<VkDeviceSize>(host_memory_size); - ci.usage = VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT | VK_BUFFER_USAGE_TRANSFER_SRC_BIT | - VK_BUFFER_USAGE_TRANSFER_DST_BIT; + ci.usage = VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT | VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT | + VK_BUFFER_USAGE_TRANSFER_SRC_BIT | VK_BUFFER_USAGE_TRANSFER_DST_BIT; ci.sharingMode = VK_SHARING_MODE_EXCLUSIVE; ci.queueFamilyIndexCount = 0; ci.pQueueFamilyIndices = nullptr; |