Skip VulkanImageWrappingTests on SwiftShader

These tests hit a failing ASSERT in SwiftShader.
Suppressing to get the bots running and green.

TBR=cwallez@chromium.org
Bug: dawn:417
Change-Id: I2a2955650df0bb94206534ce1e401299eea6f26a
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/21960
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
This commit is contained in:
Austin Eng 2020-05-19 23:20:04 +00:00 committed by Commit Bot service account
parent e7b30fdbeb
commit 78f7e8640f
1 changed files with 6 additions and 7 deletions

View File

@ -33,9 +33,8 @@ namespace dawn_native { namespace vulkan {
public:
void SetUp() override {
DawnTest::SetUp();
if (UsesWire()) {
return;
}
DAWN_SKIP_TEST_IF(UsesWire());
DAWN_SKIP_TEST_IF(IsSwiftshader());
deviceVk = reinterpret_cast<dawn_native::vulkan::Device*>(device.Get());
}
@ -203,7 +202,7 @@ namespace dawn_native { namespace vulkan {
public:
void SetUp() override {
VulkanImageWrappingTestBase::SetUp();
if (UsesWire()) {
if (UsesWire() || IsSwiftshader()) {
return;
}
@ -221,7 +220,7 @@ namespace dawn_native { namespace vulkan {
}
void TearDown() override {
if (UsesWire()) {
if (UsesWire() || IsSwiftshader()) {
VulkanImageWrappingTestBase::TearDown();
return;
}
@ -355,7 +354,7 @@ namespace dawn_native { namespace vulkan {
public:
void SetUp() override {
VulkanImageWrappingTestBase::SetUp();
if (UsesWire()) {
if (UsesWire() || IsSwiftshader()) {
return;
}
@ -383,7 +382,7 @@ namespace dawn_native { namespace vulkan {
}
void TearDown() override {
if (UsesWire()) {
if (UsesWire() || IsSwiftshader()) {
VulkanImageWrappingTestBase::TearDown();
return;
}