Re: [Mesa-dev] [PATCH] anv: set command buffer to NULL when allocations fail

2017-01-25 Thread Chad Versace
On Wed 25 Jan 2017, Lionel Landwerlin wrote: > The spec section 5.2 says: > >"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 >o

Re: [Mesa-dev] [PATCH] anv: set command buffer to NULL when allocations fail

2017-01-25 Thread Jason Ekstrand
I thought I looked for this when doing maintenance1... oh well. Reviewed-by: Jason Ekstrand Cc: "13.0 17.0" On Wed, Jan 25, 2017 at 8:29 AM, Lionel Landwerlin < lionel.g.landwer...@intel.com> wrote: > The spec section 5.2 says: > >"vkAllocateCommandBuffers can be used to create multiple co

Re: [Mesa-dev] [PATCH] anv: set command buffer to NULL when allocations fail

2017-01-25 Thread Jason Ekstrand
On Wed, Jan 25, 2017 at 8:29 AM, Lionel Landwerlin < lionel.g.landwer...@intel.com> wrote: > The spec section 5.2 says: > >"vkAllocateCommandBuffers can be used to create multiple command >buffers. If the creation of any of those command buffers fails, the >implementation must destroy

[Mesa-dev] [PATCH] anv: set command buffer to NULL when allocations fail

2017-01-25 Thread Lionel Landwerlin
The spec section 5.2 says: "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 pCommand