Re: [Mesa-dev] [PATCH] radv: Cache command buffers in command pool.

2017-03-05 Thread Dave Airlie
On 6 March 2017 at 08:34, Bas Nieuwenhuizen wrote: > So that we don't keep allocating BOs for the IBs and upload buffers. > > We run some risk of memory increase with e.g. a bimodal size > distribution of command buffers, but I haven't noticed a significant > increase

[Mesa-dev] [PATCH] radv: Cache command buffers in command pool.

2017-03-05 Thread Bas Nieuwenhuizen
So that we don't keep allocating BOs for the IBs and upload buffers. We run some risk of memory increase with e.g. a bimodal size distribution of command buffers, but I haven't noticed a significant increase with dota2 and talos. Signed-off-by: Bas Nieuwenhuizen ---