Fix the suppression on OpenGL to not specify the GPU

The OpenGL backend doesn't expose PCI device and vendor IDs yet which
means that IsAMD() is always false, making the test not skipped.

TBR=senorblanco@chromium.org
BUG=chromium:915430

Change-Id: Ic630080df442826b572cbd294978820109424229
Reviewed-on: https://dawn-review.googlesource.com/c/3381
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
Corentin Wallez 2018-12-18 18:04:42 +00:00 committed by Commit Bot service account
parent 12a2f65c43
commit d23fdd3624
1 changed files with 2 additions and 1 deletions

View File

@ -243,7 +243,8 @@ TEST_P(InputStateTest, ZeroStride) {
// Test attributes defaults to (0, 0, 0, 1) if the input state doesn't have all components // Test attributes defaults to (0, 0, 0, 1) if the input state doesn't have all components
TEST_P(InputStateTest, AttributeExpanding) { TEST_P(InputStateTest, AttributeExpanding) {
DAWN_SKIP_TEST_IF(IsLinux() && IsOpenGL() && IsAMD()); // This test was failing only on AMD but the OpenGL backend doesn't gather PCI info yet.
DAWN_SKIP_TEST_IF(IsLinux() && IsOpenGL());
// R32F case // R32F case
{ {