From 1eb749ed101c268c6bf11570b3cad3b38b31395e Mon Sep 17 00:00:00 2001 From: cosmonaut Date: Wed, 12 Jan 2022 14:31:41 -0800 Subject: [PATCH] reduce UBO size --- src/Refresh_Driver_Vulkan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Refresh_Driver_Vulkan.c b/src/Refresh_Driver_Vulkan.c index 34e4564..2f4cbf2 100644 --- a/src/Refresh_Driver_Vulkan.c +++ b/src/Refresh_Driver_Vulkan.c @@ -72,7 +72,7 @@ static uint32_t deviceExtensionCount = SDL_arraysize(deviceExtensionNames); #define STARTING_ALLOCATION_SIZE 64000000 /* 64MB */ #define MAX_ALLOCATION_SIZE 256000000 /* 256MB */ #define TEXTURE_STAGING_SIZE 8000000 /* 8MB */ -#define UBO_BUFFER_SIZE 512000 /* 512KB */ +#define UBO_BUFFER_SIZE 16000 /* 16KB */ #define DESCRIPTOR_POOL_STARTING_SIZE 128 #define DESCRIPTOR_SET_DEACTIVATE_FRAMES 10