Fix flakiness in mailbox.display_timing
authorIan Elliott <ianelliott@google.com>
Wed, 16 Aug 2017 21:11:57 +0000 (15:11 -0600)
committerMika Isojärvi <misojarvi@google.com>
Thu, 7 Sep 2017 17:38:27 +0000 (10:38 -0700)
commit311129dc01f5cc512372dd3dae7b5afbe27f81ec
tree384bd3c2aef213878aee7ee82df01454885c9d5e
parente0000e9fa5844a86050ae972c6abf4df53abeb37
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
Bug: 64486630
Test: Build cts and ran scripts/check_build_sanity.py

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