From c7f6e42a7d1280a0f67e52adc5c8807b78be46e8 Mon Sep 17 00:00:00 2001 From: Jordan Justen Date: Fri, 8 Jan 2016 12:15:29 -0800 Subject: [PATCH] anv: Increate dynamic pool block size from 2k to 16k This is needed because compute push constant data is replicated per invocation. For gen7, this can be up to 64. With a push constant data max of 128 bytes, this is 8k of data. We need additional space for local-id payloads, so we are going with 16k for now. Signed-off-by: Jordan Justen --- src/vulkan/anv_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vulkan/anv_device.c b/src/vulkan/anv_device.c index 74b813e9e40..9c54875a736 100644 --- a/src/vulkan/anv_device.c +++ b/src/vulkan/anv_device.c @@ -718,7 +718,7 @@ VkResult anv_CreateDevice( anv_bo_pool_init(&device->batch_bo_pool, device, ANV_CMD_BUFFER_BATCH_SIZE); - anv_block_pool_init(&device->dynamic_state_block_pool, device, 2048); + anv_block_pool_init(&device->dynamic_state_block_pool, device, 16384); anv_state_pool_init(&device->dynamic_state_pool, &device->dynamic_state_block_pool); -- 2.30.2