Skip SwapchainTests/SwitchPresentMode on Linux Intel Vulkan drivers

This patch skips the dawn_end2end_test SwapchainTests/SwitchPresentMode
as it may sometimes hang on the latest Linux Intel Vulkan drivers.

BUG=dawn:269

Change-Id: Ieaf658b2cded8edbf6159d6d5d6bd09af7baa391
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/33380
Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
Jiawei Shao 2020-11-19 09:19:43 +00:00 committed by Commit Bot service account
parent ce207be41f
commit dad44f4d82
1 changed files with 4 additions and 0 deletions

View File

@ -140,6 +140,10 @@ TEST_P(SwapChainTests, SwitchPresentMode) {
// locally. // locally.
DAWN_SKIP_TEST_IF(IsWindows() && IsVulkan() && IsNvidia()); DAWN_SKIP_TEST_IF(IsWindows() && IsVulkan() && IsNvidia());
// TODO(jiawei.shao@intel.com): find out why this test sometimes hangs on the latest Linux Intel
// Vulkan drivers.
DAWN_SKIP_TEST_IF(IsLinux() && IsVulkan() && IsIntel());
constexpr wgpu::PresentMode kAllPresentModes[] = { constexpr wgpu::PresentMode kAllPresentModes[] = {
wgpu::PresentMode::Immediate, wgpu::PresentMode::Immediate,
wgpu::PresentMode::Fifo, wgpu::PresentMode::Fifo,