layers: Handle partial failure in vkCreate*Pipelines
authorMaciej Jesionowski <maciej.jesionowski@mobica.com>
Wed, 23 Nov 2016 09:44:34 +0000 (10:44 +0100)
committerTobin Ehlis <tobine@google.com>
Wed, 23 Nov 2016 23:04:24 +0000 (16:04 -0700)
commit73a548c8f80490526cf3c15e92f95918491e3e2e
tree6c8cfd39b0ef384b0b4c7f8bac242f715e2bdedd
parentc191c5de1fc1baad5d8ecf5cb3790d1fdc126c70
layers: Handle partial failure in vkCreate*Pipelines

This applies to vkCreate*Pipelines creating multiple objects with
a single call.

Creation of *some* pipelines may fail and an error code will be
returned. In this case invalid handles will be set to NULL, and
the remaining handles must be managed properly.
layers/object_tracker.cpp
layers/unique_objects.cpp