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 <jasuarez@igalia.com>
This commit is contained in:
@@ -1113,8 +1113,7 @@ VkResult anv_CreateDevice(
|
|||||||
if (result != VK_SUCCESS)
|
if (result != VK_SUCCESS)
|
||||||
goto fail_bo_cache;
|
goto fail_bo_cache;
|
||||||
|
|
||||||
result = anv_state_pool_init(&device->instruction_state_pool, device,
|
result = anv_state_pool_init(&device->instruction_state_pool, device, 16384);
|
||||||
1024 * 1024);
|
|
||||||
if (result != VK_SUCCESS)
|
if (result != VK_SUCCESS)
|
||||||
goto fail_dynamic_state_pool;
|
goto fail_dynamic_state_pool;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user