mesa/src
Lionel Landwerlin a8eeb089c0 anv: fix multiple creation with internal failure
The specification section 9.4 says :

   When an application attempts to create many pipelines in a single
   command, it is possible that some subset may fail creation. In that
   case, the corresponding entries in the pPipelines output array will
   be filled with VK_NULL_HANDLE values. If any pipeline fails
   creation (for example, due to out of memory errors), the
   vkCreate*Pipelines commands will return an error code. The
   implementation will attempt to create all pipelines, and only
   return VK_NULL_HANDLE values for those that actually failed.

Fixes :

   dEQP-VK.api.object_management.alloc_callback_fail_multiple.graphics_pipeline
   dEQP-VK.api.object_management.alloc_callback_fail_multiple.compute_pipeline

v2: C is hard let's go shopping (Lionel)

v3: Remove unnecessary condition in for loops (Lionel)

v4: Document why we return on first failure (Eduardo)
    Move i declaration inside for() (Eduardo)

v5: Move array cleanup out of loop (Jason)

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
2017-01-05 21:09:09 +00:00
..
amd radeonsi: do all math in bytes in SI DMA code 2017-01-05 18:43:24 +01:00
compiler mesa: add gl_constants::GLSLOptimizeConservatively 2017-01-05 13:07:12 +01:00
egl egl: Emit correct error when robust context creation fails 2016-12-27 10:21:29 -08:00
gallium swr: [rasterizer core/common/jitter] gl_double support 2017-01-05 14:10:36 -06:00
gbm gbm: request correct version of the DRI2_FENCE extension 2016-11-22 15:56:44 +00:00
getopt
glx dri3: Fix MakeCurrent without a default framebuffer 2017-01-05 20:52:01 +01:00
gtest
hgl
intel anv: fix multiple creation with internal failure 2017-01-05 21:09:09 +00:00
loader loader: automake: whitespace cleanup 2016-11-21 14:46:40 +00:00
mapi glapi: add missing INTEL_conservative_rasterization 2016-12-13 16:27:56 +00:00
mesa gallium: remove TGSI_OPCODE_SUB 2017-01-05 18:30:00 +01:00
util util: import CRC32 implementation from gallium 2016-11-22 18:05:51 +01:00
vulkan/wsi vulkan/wsi/x11: don't crash on null wsi x11 connection 2016-12-22 14:09:46 -08:00
Makefile.am
SConscript