mesa/src
Lionel Landwerlin 25e21cb8d0 anv: set command buffer to NULL when allocations fail
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 pCommandBuffers
   array to VK_NULL_HANDLE and return the error."

Fixes:
   dEQP-VK.api.object_management.alloc_callback_fail_multiple.command_buffer_primary
   dEQP-VK.api.object_management.alloc_callback_fail_multiple.command_buffer_secondary

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Cc: "13.0 17.0" <mesa-stable@lists.freedesktop.org>
2017-01-25 17:15:30 +00:00
..
amd radv: program a default point size. 2017-01-25 09:58:38 +10:00
compiler spirv: handle gl_SampleMask 2017-01-25 08:08:16 +01:00
egl dri: allow 16bit R/GR images to be exported via drm buffers 2017-01-23 08:47:15 -08:00
gallium swr: Update fs texture & sampler state logic 2017-01-25 10:02:50 -06:00
gbm gbm: Fix width height getters return type (trivial) 2017-01-23 21:43:38 -08:00
getopt Introduce .editorconfig 2016-08-31 17:06:54 -07:00
glx glx: unify GLX_SGIX_pbuffer aliased declarations 2017-01-18 16:01:14 +00:00
gtest gtest: Update to 1.8.0. 2017-01-20 11:40:52 -08:00
hgl glapi/hgl: remove the final user of _glapi_check_table() 2016-10-06 15:03:46 +01:00
intel anv: set command buffer to NULL when allocations fail 2017-01-25 17:15:30 +00:00
loader loader/dri3: Unify the style of function pointer calls in structs 2017-01-13 16:24:32 +00:00
mapi mapi: Add support for ARB_gpu_shader_int64. 2017-01-20 15:41:23 -08:00
mesa st/mesa: destroy pipe_context before destroying st_context (v2) 2017-01-24 23:52:01 +01:00
util utils: really remove the __END_DECLS macro 2017-01-18 20:09:57 +00:00
vulkan vulkan/wsi: Lower the maximum image sizes 2017-01-25 09:05:30 -08:00
Makefile.am vulkan: automake: do not use EXTRA_DIST in a conditional 2017-01-18 13:41:32 +00:00
SConscript scons: put the generated git_sha1.h file in top-level src/ directory 2016-06-17 10:33:00 -06:00