From 54bc44e30955410c516cba1f1e228752811d6714 Mon Sep 17 00:00:00 2001 From: yours3lf <0.tamas.marton@gmail.com> Date: Tue, 12 May 2020 22:45:09 +0100 Subject: [PATCH] hack to make vkquake3 work --- driver/command.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/driver/command.c b/driver/command.c index a0af51c..25029b8 100644 --- a/driver/command.c +++ b/driver/command.c @@ -48,7 +48,8 @@ VKAPI_ATTR VkResult VKAPI_CALL rpi_vkCreateCommandPool( //initial number of command buffers to hold int numCommandBufs = 128; - int consecutiveBlockSize = ARM_PAGE_SIZE; + //TODO uniforms might need to realloc, which should be handled properly + int consecutiveBlockSize = ARM_PAGE_SIZE * 20; int consecutiveBlockNumber = 64; //int numCommandBufs = 30; //int consecutiveBlockSize = getCPABlockSize(256);