mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-20 09:25:45 +00:00
Update vulkan_memory_allocator.cpp
This commit is contained in:
parent
4f54b4d810
commit
fbe3d073ea
1 changed files with 1 additions and 1 deletions
|
@ -347,7 +347,7 @@ bool MemoryAllocator::TryAllocMemory(VkMemoryPropertyFlags flags, u32 type_mask,
|
|||
|
||||
const u64 aligned_size = (device.GetDriverID() == VK_DRIVER_ID_QUALCOMM_PROPRIETARY) ?
|
||||
Common::AlignUp(size, 4096) : // Adreno requires 4KB alignment
|
||||
size; // Others (NVIDIA, AMD, Intel, etc)Add commentMore actions
|
||||
size; // Others (NVIDIA, AMD, Intel, etc)
|
||||
|
||||
vk::DeviceMemory memory = device.GetLogical().TryAllocateMemory({
|
||||
.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue