Fix flakiness in mailbox.display_timing
authorIan Elliott <ianelliott@google.com>
Wed, 16 Aug 2017 21:11:57 +0000 (15:11 -0600)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Fri, 25 Aug 2017 10:46:11 +0000 (06:46 -0400)
commit0369fce9a84f1000e37ab9fa01f24aea38865973
tree7f5f4c74902065c8d87fc10fb7b95c05e96fad3a
parent346ef006adb2dc5b987b64290e5d6407e5374bae
Fix flakiness in mailbox.display_timing

The "vktWsiDisplayTimingTests.cpp" file was originally written just for
a present mode of VK_PRESENT_MODE_FIFO_KHR.  It has a case at image 80,
where it changes the desiredPresentTime to be 1 second earlier, and then
checks that later.  Such a check doesn't work with
VK_PRESENT_MODE_MAILBOX_KHR, which can throw off the timing of images
(because some images may not be presented).  This has resulted in the
test having random failures.  The "image 80 test" wasn't intended to
occur with MAILBOX, and so it's now being removed.

VK-GL-CTS issue: 622
Components: Vulkan
Affects: dEQP-VK.wsi.*.display_timing.mailbox.display_timing

Change-Id: I9fbd2254b4e6fc1c7bff077c8c0a5229a6d74800
external/vulkancts/modules/vulkan/wsi/vktWsiDisplayTimingTests.cpp