diff options
author | Jason Ekstrand <[email protected]> | 2017-04-26 07:21:58 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-05-04 19:07:54 -0700 |
commit | 24827fdf505e68234f6099785c659fa84bb33e04 (patch) | |
tree | 9a649c5dc1906677e1acac1eed3a9138c730e0e0 /src/intel/vulkan | |
parent | 955127db9376b49a41a428f5f89137cafec89b1c (diff) |
anv: Drop the instruction pool block size
Now that we can allocate states larger than the block size, we no longer
need a block size of 1MB which can be rather wasteful.
Reviewed-by: Juan A. Suarez Romero <[email protected]>
Diffstat (limited to 'src/intel/vulkan')
-rw-r--r-- | src/intel/vulkan/anv_device.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index 0773f5f9a54..5e4a62ba575 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -1113,8 +1113,7 @@ VkResult anv_CreateDevice( if (result != VK_SUCCESS) goto fail_bo_cache; - result = anv_state_pool_init(&device->instruction_state_pool, device, - 1024 * 1024); + result = anv_state_pool_init(&device->instruction_state_pool, device, 16384); if (result != VK_SUCCESS) goto fail_dynamic_state_pool; |