mesa/src/intel
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
..
blorp intel/blorp/copy: Properly handle clear colors for CCS_E images 2017-01-21 10:34:09 -08:00
common i965: Fix a mistake from porting the URB allocation code to arrays. 2016-11-23 16:57:29 -08:00
genxml genxml: Rename 3DSTATE_HS::Enable to "Function Enable". 2017-01-10 13:20:33 -08:00
isl isl/surface_state: Handle ISL_AUX_USAGE_HIZ 2017-01-12 20:52:20 -08:00
tools intel/aubinator: fix 32bit shift overflow warning 2016-12-11 20:04:15 +01:00
vulkan anv: set command buffer to NULL when allocations fail 2017-01-25 17:15:30 +00:00
Android.blorp.mk intel/blorp: fix typo in android makefile 2016-09-03 08:22:53 -07:00
Android.common.mk android: intel: fix include paths in new "common" library 2016-09-03 20:03:16 -07:00
Android.genxml.mk android: intel: Flatten the makefile structure 2016-08-29 12:17:34 -07:00
Android.isl.mk android: intel: Flatten the makefile structure 2016-08-29 12:17:34 -07:00
Android.mk intel: Add a new "common" library for more code sharing 2016-09-03 08:23:06 -07:00
Makefile.am intel: Add a new "common" library for more code sharing 2016-09-03 08:23:06 -07:00
Makefile.blorp.am i965: Move blorp into src/intel/blorp 2016-08-29 12:17:34 -07:00
Makefile.common.am intel: Add a new "common" library for more code sharing 2016-09-03 08:23:06 -07:00
Makefile.genxml.am genxml: Handle failure of Python codegen scripts. 2016-10-26 14:06:45 -07:00
Makefile.isl.am intel: Add a new "common" library for more code sharing 2016-09-03 08:23:06 -07:00
Makefile.sources intel: Share URB configuration code between GL and Vulkan. 2016-11-19 11:40:01 -08:00