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 <enga@chromium.org> Kokoro: Austin Eng <enga@chromium.org> Auto-Submit: Austin Eng <enga@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
parent
728d92b340
commit
dc9c306a14
|
@ -258,12 +258,6 @@ class DepthStencilCopyTests : public DawnTestWithParams<DepthStencilCopyTestPara
|
||||||
|
|
||||||
// Test copying both aspects in a T2T copy, then copying only stencil.
|
// Test copying both aspects in a T2T copy, then copying only stencil.
|
||||||
TEST_P(DepthStencilCopyTests, T2TBothAspectsThenCopyStencil) {
|
TEST_P(DepthStencilCopyTests, T2TBothAspectsThenCopyStencil) {
|
||||||
// TODO(crbug.com/dawn/704): Readback after clear via stencil copy does not work
|
|
||||||
// on some Intel drivers.
|
|
||||||
// Maybe has to do with the RenderAttachment usage. Notably, a later test
|
|
||||||
// T2TBothAspectsThenCopyNonRenderableStencil does not use RenderAttachment and works correctly.
|
|
||||||
DAWN_SUPPRESS_TEST_IF(IsMetal() && IsIntel());
|
|
||||||
|
|
||||||
// TODO(crbug.com/dawn/1497): glReadPixels: GL error: HIGH: Invalid format and type combination.
|
// TODO(crbug.com/dawn/1497): glReadPixels: GL error: HIGH: Invalid format and type combination.
|
||||||
DAWN_SUPPRESS_TEST_IF(IsANGLE());
|
DAWN_SUPPRESS_TEST_IF(IsANGLE());
|
||||||
|
|
||||||
|
@ -317,12 +311,6 @@ TEST_P(DepthStencilCopyTests, T2TBothAspectsThenCopyNonRenderableStencil) {
|
||||||
// Test that part of a non-renderable, non-zero mip stencil aspect can be copied. Notably,
|
// Test that part of a non-renderable, non-zero mip stencil aspect can be copied. Notably,
|
||||||
// this test has different behavior on some platforms than T2TBothAspectsThenCopyStencil.
|
// this test has different behavior on some platforms than T2TBothAspectsThenCopyStencil.
|
||||||
TEST_P(DepthStencilCopyTests, T2TBothAspectsThenCopyNonRenderableNonZeroMipStencil) {
|
TEST_P(DepthStencilCopyTests, T2TBothAspectsThenCopyNonRenderableNonZeroMipStencil) {
|
||||||
/// TODO(crbug.com/dawn/704): Readback after clear via stencil copy does not work
|
|
||||||
// on some Intel drivers.
|
|
||||||
// Maybe has to do with the non-zero mip. Notably, a previous test
|
|
||||||
// T2TBothAspectsThenCopyNonRenderableStencil works correctly.
|
|
||||||
DAWN_SUPPRESS_TEST_IF(IsMetal() && IsIntel());
|
|
||||||
|
|
||||||
// TODO(crbug.com/dawn/1497): glReadPixels: GL error: HIGH: Invalid format and type combination.
|
// TODO(crbug.com/dawn/1497): glReadPixels: GL error: HIGH: Invalid format and type combination.
|
||||||
DAWN_SUPPRESS_TEST_IF(IsANGLE());
|
DAWN_SUPPRESS_TEST_IF(IsANGLE());
|
||||||
|
|
||||||
|
@ -417,14 +405,6 @@ TEST_P(DepthStencilCopyTests, T2TBothAspectsThenCopyStencilThenDepth) {
|
||||||
// Test copying both aspects in a T2T copy, then copying depth, then copying stencil
|
// Test copying both aspects in a T2T copy, then copying depth, then copying stencil
|
||||||
TEST_P(DepthStencilCopyTests, T2TBothAspectsThenCopyDepthThenStencil) {
|
TEST_P(DepthStencilCopyTests, T2TBothAspectsThenCopyDepthThenStencil) {
|
||||||
DAWN_TEST_UNSUPPORTED_IF(!IsValidDepthCopyTextureFormat());
|
DAWN_TEST_UNSUPPORTED_IF(!IsValidDepthCopyTextureFormat());
|
||||||
|
|
||||||
// TODO(crbug.com/dawn/704): Readback after clear via stencil copy does not work
|
|
||||||
// on some Intel drivers.
|
|
||||||
// It seems like the depth readback copy mutates the stencil because the previous
|
|
||||||
// test T2TBothAspectsThenCopyStencil passes.
|
|
||||||
// T2TBothAspectsThenCopyStencilThenDepth which checks stencil first also passes.
|
|
||||||
DAWN_SUPPRESS_TEST_IF(IsMetal() && IsIntel());
|
|
||||||
|
|
||||||
// TODO(crbug.com/dawn/667): Work around the fact that some platforms are unable to read
|
// TODO(crbug.com/dawn/667): Work around the fact that some platforms are unable to read
|
||||||
// stencil.
|
// stencil.
|
||||||
DAWN_TEST_UNSUPPORTED_IF(HasToggleEnabled("disable_depth_stencil_read"));
|
DAWN_TEST_UNSUPPORTED_IF(HasToggleEnabled("disable_depth_stencil_read"));
|
||||||
|
@ -725,10 +705,6 @@ class StencilCopyTests : public DepthStencilCopyTests {
|
||||||
DAWN_TEST_UNSUPPORTED_IF(IsOpenGL());
|
DAWN_TEST_UNSUPPORTED_IF(IsOpenGL());
|
||||||
DAWN_TEST_UNSUPPORTED_IF(IsOpenGLES());
|
DAWN_TEST_UNSUPPORTED_IF(IsOpenGLES());
|
||||||
|
|
||||||
// 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/1273): Fails on Win11 with D3D12 debug layer and full validation
|
// TODO(crbug.com/dawn/1273): Fails on Win11 with D3D12 debug layer and full validation
|
||||||
DAWN_SUPPRESS_TEST_IF(IsD3D12() && IsBackendValidationEnabled());
|
DAWN_SUPPRESS_TEST_IF(IsD3D12() && IsBackendValidationEnabled());
|
||||||
|
|
||||||
|
|
|
@ -199,9 +199,6 @@ TEST_P(DepthStencilLoadOpTests, ClearMip1) {
|
||||||
|
|
||||||
// Clear first mip then the second mip. Check both mip levels.
|
// Clear first mip then the second mip. Check both mip levels.
|
||||||
TEST_P(DepthStencilLoadOpTests, ClearBothMip0Then1) {
|
TEST_P(DepthStencilLoadOpTests, ClearBothMip0Then1) {
|
||||||
// TODO(crbug.com/dawn/838): Sampling from the non-zero mip does not work.
|
|
||||||
DAWN_SUPPRESS_TEST_IF(IsMetal() && IsIntel() && GetParam().mCheck == Check::SampleDepth);
|
|
||||||
|
|
||||||
wgpu::CommandEncoder encoder = device.CreateCommandEncoder();
|
wgpu::CommandEncoder encoder = device.CreateCommandEncoder();
|
||||||
encoder.BeginRenderPass(&renderPassDescriptors[0]).End();
|
encoder.BeginRenderPass(&renderPassDescriptors[0]).End();
|
||||||
encoder.BeginRenderPass(&renderPassDescriptors[1]).End();
|
encoder.BeginRenderPass(&renderPassDescriptors[1]).End();
|
||||||
|
|
|
@ -89,13 +89,6 @@ class NonzeroTextureCreationTests : public DawnTestWithParams<Params> {
|
||||||
DAWN_TEST_UNSUPPORTED_IF(GetParam().mFormat == wgpu::TextureFormat::RGBA8Snorm &&
|
DAWN_TEST_UNSUPPORTED_IF(GetParam().mFormat == wgpu::TextureFormat::RGBA8Snorm &&
|
||||||
HasToggleEnabled("disable_snorm_read"));
|
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
|
// TODO(crbug.com/dawn/667): ANGLE claims to support NV_read_stencil, but won't read
|
||||||
// correctly from a DEPTH32F_STENCIL8 texture.
|
// correctly from a DEPTH32F_STENCIL8 texture.
|
||||||
DAWN_SUPPRESS_TEST_IF(GetParam().mFormat == wgpu::TextureFormat::Depth24PlusStencil8 &&
|
DAWN_SUPPRESS_TEST_IF(GetParam().mFormat == wgpu::TextureFormat::Depth24PlusStencil8 &&
|
||||||
|
|
|
@ -165,10 +165,6 @@ TEST_P(SubresourceRenderAttachmentTest, StencilTexture) {
|
||||||
// stencil.
|
// stencil.
|
||||||
DAWN_TEST_UNSUPPORTED_IF(HasToggleEnabled("disable_depth_stencil_read"));
|
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.
|
// TODO(crbug.com/dawn/1497): glReadPixels: GL error: HIGH: Invalid format and type combination.
|
||||||
DAWN_SUPPRESS_TEST_IF(IsANGLE());
|
DAWN_SUPPRESS_TEST_IF(IsANGLE());
|
||||||
|
|
||||||
|
|
|
@ -600,10 +600,6 @@ TEST_P(TextureZeroInitTest, RenderingLoadingDepthStencil) {
|
||||||
|
|
||||||
// Test that clear state is tracked independently for depth/stencil textures.
|
// Test that clear state is tracked independently for depth/stencil textures.
|
||||||
TEST_P(TextureZeroInitTest, IndependentDepthStencilLoadAfterDiscard) {
|
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.
|
// TODO(dawn:1549) Fails on Qualcomm-based Android devices.
|
||||||
DAWN_SUPPRESS_TEST_IF(IsAndroid() && IsQualcomm());
|
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
|
// TODO(crbug.com/dawn/439): Implement stencil copies on other platforms
|
||||||
DAWN_SUPPRESS_TEST_IF(!(IsMetal() || IsVulkan() || IsD3D12()));
|
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.
|
// TODO(dawn:1549) Fails on Qualcomm-based Android devices.
|
||||||
DAWN_SUPPRESS_TEST_IF(IsAndroid() && IsQualcomm());
|
DAWN_SUPPRESS_TEST_IF(IsAndroid() && IsQualcomm());
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue