VK_KHR_maintenance1: Test vkAllocate* failure behavior
authorMaciej Jesionowski <maciej.jesionowski@mobica.com>
Thu, 24 Nov 2016 13:40:33 +0000 (14:40 +0100)
committerPyry Haulos <phaulos@google.com>
Thu, 15 Dec 2016 14:44:03 +0000 (10:44 -0400)
commit0d9185b6fd7cbc02417a4418cc8501cca10f0e7b
tree7c481e0cee9d176f8433da3f152c8c0257a534ca
parentca64b73aa59ec6057dd33d6510c316508df9b626
VK_KHR_maintenance1: Test vkAllocate* failure behavior

This tests updated behavior of vkAllocateCommandBuffers and
vkAllocateDescriptorSets. When allocating objects in bulk,
if some allocations fail then all objects must be freed and
handles must be set to VK_NULL_HANDLE.

Modified tests:
- dEQP-VK.api.object_management.alloc_callback_fail_multiple.descriptor_set
- dEQP-VK.api.object_management.alloc_callback_fail_multiple.command_buffer_primary
- dEQP-VK.api.object_management.alloc_callback_fail_multiple.command_buffer_secondary

Issue #532

Change-Id: If03e7cdbec4d13bd0671bab9d6a1edd9107636b5
external/vulkancts/modules/vulkan/api/vktApiObjectManagementTests.cpp