mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-13 02:08:49 +12: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
1 changed files with 1 additions and 1 deletions
|
@ -349,7 +349,7 @@ namespace vk
|
||||||
if (!g_scratch_buffer)
|
if (!g_scratch_buffer)
|
||||||
{
|
{
|
||||||
// Choose optimal size
|
// 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_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,
|
g_current_renderer->get_memory_mapping().device_local, VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue