diff options
Diffstat (limited to 'src/intel/vulkan/anv_device.c')
-rw-r--r-- | src/intel/vulkan/anv_device.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index 23dff906ac2..71967b6dbd2 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -1110,28 +1110,31 @@ VkResult anv_CreateDevice( goto fail_batch_bo_pool; result = anv_block_pool_init(&device->dynamic_state_block_pool, device, - 16384); + 16384 * 16); if (result != VK_SUCCESS) goto fail_bo_cache; anv_state_pool_init(&device->dynamic_state_pool, - &device->dynamic_state_block_pool); + &device->dynamic_state_block_pool, + 16384); result = anv_block_pool_init(&device->instruction_block_pool, device, - 1024 * 1024); + 1024 * 1024 * 16); if (result != VK_SUCCESS) goto fail_dynamic_state_pool; anv_state_pool_init(&device->instruction_state_pool, - &device->instruction_block_pool); + &device->instruction_block_pool, + 1024 * 1024); result = anv_block_pool_init(&device->surface_state_block_pool, device, - 4096); + 4096 * 16); if (result != VK_SUCCESS) goto fail_instruction_state_pool; anv_state_pool_init(&device->surface_state_pool, - &device->surface_state_block_pool); + &device->surface_state_block_pool, + 4096); result = anv_bo_init_new(&device->workaround_bo, device, 1024); if (result != VK_SUCCESS) |