mirror of
https://github.com/libretro/RetroArch
synced 2025-02-20 15:40:44 +00:00
Set correct buffer size.
This commit is contained in:
parent
75b84b4f94
commit
f8447c4648
@ -987,7 +987,7 @@ struct vk_buffer vulkan_create_buffer(
|
||||
vkAllocateMemory(context->device, &alloc, NULL, &buffer.memory);
|
||||
vkBindBufferMemory(context->device, buffer.buffer, buffer.memory, 0);
|
||||
|
||||
buffer.size = alloc.allocationSize;
|
||||
buffer.size = size;
|
||||
|
||||
vkMapMemory(context->device,
|
||||
buffer.memory, 0, buffer.size, 0, &buffer.mapped);
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
#define VULKAN_DESCRIPTOR_MANAGER_BLOCK_SETS 16
|
||||
#define VULKAN_MAX_DESCRIPTOR_POOL_SIZES 16
|
||||
#define VULKAN_BUFFER_BLOCK_SIZE (4 * 1024)
|
||||
#define VULKAN_BUFFER_BLOCK_SIZE (64 * 1024)
|
||||
|
||||
#define VULKAN_MAX_SWAPCHAIN_IMAGES 8
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user