From dc9c306a14ebf806de46c4d84005f11a52648a09 Mon Sep 17 00:00:00 2001 From: Austin Eng Date: Wed, 11 Jan 2023 23:29:22 +0000 Subject: [PATCH] Remove suppressions for tests now passing on Mac Intel Bug: dawn:704, dawn:791 Change-Id: I3d335c33caee943547798290026dffa7f9a90d83 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/116845 Commit-Queue: Austin Eng Kokoro: Austin Eng Auto-Submit: Austin Eng Reviewed-by: Corentin Wallez --- .../tests/end2end/DepthStencilCopyTests.cpp | 24 ------------------- .../tests/end2end/DepthStencilLoadOpTests.cpp | 3 --- .../end2end/NonzeroTextureCreationTests.cpp | 7 ------ .../SubresourceRenderAttachmentTests.cpp | 4 ---- .../tests/end2end/TextureZeroInitTests.cpp | 7 ------ 5 files changed, 45 deletions(-) diff --git a/src/dawn/tests/end2end/DepthStencilCopyTests.cpp b/src/dawn/tests/end2end/DepthStencilCopyTests.cpp index 1bcd45117b..5fc3d54aae 100644 --- a/src/dawn/tests/end2end/DepthStencilCopyTests.cpp +++ b/src/dawn/tests/end2end/DepthStencilCopyTests.cpp @@ -258,12 +258,6 @@ class DepthStencilCopyTests : public DawnTestWithParams { DAWN_TEST_UNSUPPORTED_IF(GetParam().mFormat == wgpu::TextureFormat::RGBA8Snorm && HasToggleEnabled("disable_snorm_read")); - // TODO(crbug.com/dawn/791): Determine Intel specific platforms this occurs on, and - // implement a workaround on all backends (happens on Windows too, but not on our test - // machines). - DAWN_SUPPRESS_TEST_IF((GetParam().mFormat == wgpu::TextureFormat::Depth32Float || - GetParam().mFormat == wgpu::TextureFormat::Depth24PlusStencil8) && - IsMetal() && IsIntel() && GetParam().mMip != 0); - // TODO(crbug.com/dawn/667): ANGLE claims to support NV_read_stencil, but won't read // correctly from a DEPTH32F_STENCIL8 texture. DAWN_SUPPRESS_TEST_IF(GetParam().mFormat == wgpu::TextureFormat::Depth24PlusStencil8 && diff --git a/src/dawn/tests/end2end/SubresourceRenderAttachmentTests.cpp b/src/dawn/tests/end2end/SubresourceRenderAttachmentTests.cpp index 078dc095b9..9722c531d0 100644 --- a/src/dawn/tests/end2end/SubresourceRenderAttachmentTests.cpp +++ b/src/dawn/tests/end2end/SubresourceRenderAttachmentTests.cpp @@ -165,10 +165,6 @@ TEST_P(SubresourceRenderAttachmentTest, StencilTexture) { // stencil. DAWN_TEST_UNSUPPORTED_IF(HasToggleEnabled("disable_depth_stencil_read")); - // TODO(crbug.com/dawn/704): Readback after clear via stencil copy does not work - // on some Intel drivers. - DAWN_SUPPRESS_TEST_IF(IsMetal() && IsIntel()); - // TODO(crbug.com/dawn/1497): glReadPixels: GL error: HIGH: Invalid format and type combination. DAWN_SUPPRESS_TEST_IF(IsANGLE()); diff --git a/src/dawn/tests/end2end/TextureZeroInitTests.cpp b/src/dawn/tests/end2end/TextureZeroInitTests.cpp index dae9acaa6f..9e904dd62e 100644 --- a/src/dawn/tests/end2end/TextureZeroInitTests.cpp +++ b/src/dawn/tests/end2end/TextureZeroInitTests.cpp @@ -600,10 +600,6 @@ TEST_P(TextureZeroInitTest, RenderingLoadingDepthStencil) { // Test that clear state is tracked independently for depth/stencil textures. TEST_P(TextureZeroInitTest, IndependentDepthStencilLoadAfterDiscard) { - // TODO(crbug.com/dawn/704): Readback after clear via stencil copy does not work - // on some Intel drivers. - DAWN_SUPPRESS_TEST_IF(IsMetal() && IsIntel()); - // TODO(dawn:1549) Fails on Qualcomm-based Android devices. DAWN_SUPPRESS_TEST_IF(IsAndroid() && IsQualcomm()); @@ -767,9 +763,6 @@ TEST_P(TextureZeroInitTest, IndependentDepthStencilCopyAfterDiscard) { // TODO(crbug.com/dawn/439): Implement stencil copies on other platforms DAWN_SUPPRESS_TEST_IF(!(IsMetal() || IsVulkan() || IsD3D12())); - // TODO(enga): Figure out why this fails on Metal Intel. - DAWN_SUPPRESS_TEST_IF(IsMetal() && IsIntel()); - // TODO(dawn:1549) Fails on Qualcomm-based Android devices. DAWN_SUPPRESS_TEST_IF(IsAndroid() && IsQualcomm());