diff options
author | Liam <byteslice@airmail.cc> | 2023-07-02 05:44:57 +0200 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-07-02 05:44:57 +0200 |
commit | ad1946b893cd0c8cadb9ae2c504dfc08cad139aa (patch) | |
tree | 1266653fd9b69db17e68592cbc3ebafc9bc459ce /src | |
parent | Merge pull request #10984 from comex/cob (diff) | |
download | yuzu-ad1946b893cd0c8cadb9ae2c504dfc08cad139aa.tar yuzu-ad1946b893cd0c8cadb9ae2c504dfc08cad139aa.tar.gz yuzu-ad1946b893cd0c8cadb9ae2c504dfc08cad139aa.tar.bz2 yuzu-ad1946b893cd0c8cadb9ae2c504dfc08cad139aa.tar.lz yuzu-ad1946b893cd0c8cadb9ae2c504dfc08cad139aa.tar.xz yuzu-ad1946b893cd0c8cadb9ae2c504dfc08cad139aa.tar.zst yuzu-ad1946b893cd0c8cadb9ae2c504dfc08cad139aa.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/vulkan_common/vulkan_memory_allocator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/vulkan_common/vulkan_memory_allocator.cpp b/src/video_core/vulkan_common/vulkan_memory_allocator.cpp index a2ef0efa4..42f3ee0b4 100644 --- a/src/video_core/vulkan_common/vulkan_memory_allocator.cpp +++ b/src/video_core/vulkan_common/vulkan_memory_allocator.cpp @@ -221,8 +221,8 @@ vk::Image MemoryAllocator::CreateImage(const VkImageCreateInfo& ci) const { const VmaAllocationCreateInfo alloc_ci = { .flags = VMA_ALLOCATION_CREATE_WITHIN_BUDGET_BIT, .usage = VMA_MEMORY_USAGE_AUTO_PREFER_DEVICE, - .requiredFlags = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT, - .preferredFlags = 0, + .requiredFlags = 0, + .preferredFlags = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT, .memoryTypeBits = 0, .pool = VK_NULL_HANDLE, .pUserData = nullptr, |