summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorRodrigo Locatti <reinuseslisp@airmail.cc>2020-07-10 05:18:44 +0200
committerGitHub <noreply@github.com>2020-07-10 05:18:44 +0200
commite73c53fad1a48915622f4c2db2250847551e31bf (patch)
tree5d736e5bc6d6e5b61e9360d180310cf9c177b1c6 /src/video_core
parentconfiguration: implement per-game configurations (#4098) (diff)
parentvk_stream_buffer: set allocable_size to 9 MiB (diff)
downloadyuzu-e73c53fad1a48915622f4c2db2250847551e31bf.tar
yuzu-e73c53fad1a48915622f4c2db2250847551e31bf.tar.gz
yuzu-e73c53fad1a48915622f4c2db2250847551e31bf.tar.bz2
yuzu-e73c53fad1a48915622f4c2db2250847551e31bf.tar.lz
yuzu-e73c53fad1a48915622f4c2db2250847551e31bf.tar.xz
yuzu-e73c53fad1a48915622f4c2db2250847551e31bf.tar.zst
yuzu-e73c53fad1a48915622f4c2db2250847551e31bf.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/renderer_vulkan/vk_stream_buffer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/vk_stream_buffer.cpp b/src/video_core/renderer_vulkan/vk_stream_buffer.cpp
index 868447af2..2d28a6c47 100644
--- a/src/video_core/renderer_vulkan/vk_stream_buffer.cpp
+++ b/src/video_core/renderer_vulkan/vk_stream_buffer.cpp
@@ -121,7 +121,7 @@ void VKStreamBuffer::CreateBuffers(VkBufferUsageFlags usage) {
// Substract from the preferred heap size some bytes to avoid getting out of memory.
const VkDeviceSize heap_size = memory_properties.memoryHeaps[preferred_heap].size;
- const VkDeviceSize allocable_size = heap_size - 4 * 1024 * 1024;
+ const VkDeviceSize allocable_size = heap_size - 9 * 1024 * 1024;
VkBufferCreateInfo buffer_ci;
buffer_ci.sType = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO;