Reviewed-by: Juan A. Suarez Romero <[email protected]>


On Wed, 2017-04-26 at 07:35 -0700, Jason Ekstrand wrote:
> 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.
> ---
>  src/intel/vulkan/anv_device.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
> index a31c758..9e924c8 100644
> --- a/src/intel/vulkan/anv_device.c
> +++ b/src/intel/vulkan/anv_device.c
> @@ -1077,8 +1077,7 @@ VkResult anv_CreateDevice(
>     if (result != VK_SUCCESS)
>        goto fail_batch_bo_pool;
>  
> -   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;
>  
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to