Commit ab130438 by Geoff Lang Committed by Commit Bot

Skip SetUp and TearDown in VulkanCommandBufferPerfTest if its flaky.

BUG=angleproject:2923 Change-Id: Id201efa09bcc67d4e40154e2362bf4b78ffd5652 Reviewed-on: https://chromium-review.googlesource.com/c/1344591Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org> Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Commit-Queue: Geoff Lang <geofflang@chromium.org>
parent 1d46f89a
......@@ -88,6 +88,11 @@ VulkanCommandBufferPerfTest::VulkanCommandBufferPerfTest()
void VulkanCommandBufferPerfTest::SetUp()
{
if (mSkipTest)
{
return;
}
init_global_layer_properties(mInfo);
init_instance_extension_names(mInfo);
init_device_extension_names(mInfo);
......@@ -159,6 +164,11 @@ void VulkanCommandBufferPerfTest::step()
void VulkanCommandBufferPerfTest::TearDown()
{
if (mSkipTest)
{
return;
}
vkDestroySemaphore(mInfo.device, mImageAcquiredSemaphore, NULL);
vkDestroyFence(mInfo.device, mDrawFence, NULL);
destroy_pipeline(mInfo);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment