mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-12 22:14:58 +00:00
vk: Lower default compute heap size to 64M
- There is no need to guess and use a large memory footprint as the heap is now dynamic.
This commit is contained in:
parent
3d96fe79cc
commit
175f78f5b3
@ -349,7 +349,7 @@ namespace vk
|
||||
if (!g_scratch_buffer)
|
||||
{
|
||||
// Choose optimal size
|
||||
const u64 alloc_size = std::max<u64>(128 * 0x100000, align(min_required_size, 0x100000));
|
||||
const u64 alloc_size = std::max<u64>(64 * 0x100000, align(min_required_size, 0x100000));
|
||||
|
||||
g_scratch_buffer = std::make_unique<vk::buffer>(*g_current_renderer, alloc_size,
|
||||
g_current_renderer->get_memory_mapping().device_local, VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT,
|
||||
|
Loading…
x
Reference in New Issue
Block a user