From: Jordan Justen Date: Fri, 8 Jan 2016 20:15:29 +0000 (-0800) Subject: anv: Increate dynamic pool block size from 2k to 16k X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c7f6e42a7d1280a0f67e52adc5c8807b78be46e8;p=mesa.git 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 --- 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);