Wrong handle in external fence reset tests
authorSlawomir Cygan <slawomir.cygan@intel.com>
Mon, 3 Jul 2017 16:50:01 +0000 (18:50 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 6 Jul 2017 06:00:21 +0000 (02:00 -0400)
commit493a559ffe82059e1395854d39e0501ac0d55715
tree7216e2ac009f72d913598c07f588826bcb83104f
parent8c74c1be241ee130646f52768ef82203f5fe4e1f
Wrong handle in external fence reset tests

The `importFence()` function resets the passed handle at the end,
so in two consecutive calls the second one is going to use the
wrong handle.

To avoid that the handle is duplicated.

Affects: dEQP-VK.api.external.fence.*reset_*

VK-GL-CTS issue: 549
Components: Vulkan

Change-Id: I2218d2f5ceffe52afe6a2306c3eebac79a24b5a9
external/vulkancts/modules/vulkan/api/vktApiExternalMemoryTests.cpp