Re: [Mesa-dev] [PATCH] anv: destroy descriptor sets when pool gets reset

2019-03-11 Thread Tapani Pälli
Makes sense, sorry I missed this one; Reviewed-by: Tapani Pälli On 3/11/19 7:33 PM, Juan A. Suarez Romero wrote: As stated in Vulkan spec: "Resetting a descriptor pool recycles all of the resources from all of the descriptor sets allocated from the descriptor pool back to the des

Re: [Mesa-dev] [PATCH] anv: destroy descriptor sets when pool gets reset

2019-03-11 Thread Jason Ekstrand
pushed. On Mon, Mar 11, 2019 at 3:15 PM Clayton Craft wrote: > On Mon, Mar 11, 2019 at 06:33:54PM +0100, Juan A. Suarez Romero wrote: > >As stated in Vulkan spec: > > "Resetting a descriptor pool recycles all of the resources from all > >of the descriptor sets allocated from the descriptor

Re: [Mesa-dev] [PATCH] anv: destroy descriptor sets when pool gets reset

2019-03-11 Thread Clayton Craft
On Mon, Mar 11, 2019 at 06:33:54PM +0100, Juan A. Suarez Romero wrote: As stated in Vulkan spec: "Resetting a descriptor pool recycles all of the resources from all of the descriptor sets allocated from the descriptor pool back to the descriptor pool, and the descriptor sets are implicitl

Re: [Mesa-dev] [PATCH] anv: destroy descriptor sets when pool gets reset

2019-03-11 Thread Jason Ekstrand
Reviewed-by: Jason Ekstrand On Mon, Mar 11, 2019 at 12:34 PM Juan A. Suarez Romero wrote: > As stated in Vulkan spec: >"Resetting a descriptor pool recycles all of the resources from all > of the descriptor sets allocated from the descriptor pool back to > the descriptor pool, and t

[Mesa-dev] [PATCH] anv: destroy descriptor sets when pool gets reset

2019-03-11 Thread Juan A. Suarez Romero
As stated in Vulkan spec: "Resetting a descriptor pool recycles all of the resources from all of the descriptor sets allocated from the descriptor pool back to the descriptor pool, and the descriptor sets are implicitly freed." This fixes dEQP-VK.api.descriptor_pool.* Fixes: 14f6275c92