external fence tests: account for sync fd -1 in multiple export case
authorLingfeng Yang <lfy@google.com>
Wed, 21 Aug 2019 15:45:10 +0000 (08:45 -0700)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 29 Aug 2019 10:32:46 +0000 (06:32 -0400)
commitd9872c0feb4e9bb5634c621d67622a8ab8ff5016
tree02001b52620fbaed916582b517f16c7c97a52f24
parent9e04cc20e0b7843e6a1f6632ee4d2a0cb63735bc
external fence tests: account for sync fd -1 in multiple export case

Spec allows for sync fd == -1 to be returned from vkGetFenceFdKHR
as a signal that the fence is signaled.

VK-GL-CTS issue: 1937

Components: Vulkan

Affects:
dEQP-VK.api.external.fence.sync_fd.export_multiple_times_temporary

Change-Id: I7391d180bdc1a585c7b57930fc1750d13f7151e1
(cherry picked from commit e266d2f1ee82d20c06c3c48064f60ac4fecd8b1d)
external/vulkancts/modules/vulkan/api/vktApiExternalMemoryTests.cpp
external/vulkancts/modules/vulkan/util/vktExternalMemoryUtil.cpp
external/vulkancts/modules/vulkan/util/vktExternalMemoryUtil.hpp