Re: [Mesa-dev] [PATCH] radv: only reset command buffers when the allocation fails

2017-11-30 Thread Bas Nieuwenhuizen
Reviewed-by: Bas Nieuwenhuizen On Thu, Nov 30, 2017 at 10:23 PM, Samuel Pitoiset wrote: >"vkAllocateCommandBuffers can be used to create multiple command > buffers. If the creation of any of those command buffers fails, the > implementation must destroy all successfully created comma

[Mesa-dev] [PATCH] radv: only reset command buffers when the allocation fails

2017-11-30 Thread Samuel Pitoiset
"vkAllocateCommandBuffers can be used to create multiple command buffers. If the creation of any of those command buffers fails, the implementation must destroy all successfully created command buffer objects from this command, set all entries of the pCommandBuffers array to NULL