Skip failing multisampling tests on SwANGLE.
Bug: dawn:580, dawn:644 Change-Id: I46d0baa308e2362f1c3c439b941138448c9f02a3 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/38780 Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Stephen White <senorblanco@chromium.org>
This commit is contained in:
parent
e0feccacaf
commit
0315c43517
|
@ -730,6 +730,9 @@ TEST_P(MultisampledRenderingTest, ResolveInto2DTextureWithSampleMaskAndShaderOut
|
|||
// TODO(crbug.com/tint/372): Support sample mask builtin.
|
||||
DAWN_SKIP_TEST_IF(HasToggleEnabled("use_tint_generator"));
|
||||
|
||||
// TODO(crbug.com/dawn/644): Diagnose and fix this ANGLE failure.
|
||||
DAWN_SKIP_TEST_IF(IsANGLE());
|
||||
|
||||
constexpr bool kTestDepth = false;
|
||||
wgpu::CommandEncoder commandEncoder = device.CreateCommandEncoder();
|
||||
|
||||
|
@ -776,6 +779,9 @@ TEST_P(MultisampledRenderingTest, ResolveIntoMultipleResolveTargetsWithShaderOut
|
|||
// TODO(crbug.com/tint/372): Support sample mask builtin.
|
||||
DAWN_SKIP_TEST_IF(HasToggleEnabled("use_tint_generator"));
|
||||
|
||||
// TODO(crbug.com/dawn/644): Diagnose and fix this ANGLE failure.
|
||||
DAWN_SKIP_TEST_IF(IsANGLE());
|
||||
|
||||
wgpu::TextureView multisampledColorView2 =
|
||||
CreateTextureForRenderAttachment(kColorFormat, kSampleCount).CreateView();
|
||||
wgpu::Texture resolveTexture2 = CreateTextureForRenderAttachment(kColorFormat, 1);
|
||||
|
@ -927,7 +933,7 @@ TEST_P(MultisampledRenderingTest, ResolveIntoMultipleResolveTargetsWithAlphaToCo
|
|||
TEST_P(MultisampledRenderingTest, MultisampledRenderingWithDepthTestAndAlphaToCoverage) {
|
||||
// This test fails because Swiftshader is off-by-one with its ((a+b)/2 + (c+d)/2)/2 fast resolve
|
||||
// algorithm.
|
||||
DAWN_SKIP_TEST_IF(IsSwiftshader());
|
||||
DAWN_SKIP_TEST_IF(IsSwiftshader() || IsANGLE());
|
||||
|
||||
constexpr bool kTestDepth = true;
|
||||
constexpr uint32_t kSampleMask = 0xFFFFFFFF;
|
||||
|
@ -988,7 +994,7 @@ TEST_P(MultisampledRenderingTest, MultisampledRenderingWithDepthTestAndAlphaToCo
|
|||
TEST_P(MultisampledRenderingTest, ResolveInto2DTextureWithAlphaToCoverageAndSampleMask) {
|
||||
// This test fails because Swiftshader is off-by-one with its ((a+b)/2 + (c+d)/2)/2 fast resolve
|
||||
// algorithm.
|
||||
DAWN_SKIP_TEST_IF(IsSwiftshader());
|
||||
DAWN_SKIP_TEST_IF(IsSwiftshader() || IsANGLE());
|
||||
|
||||
// TODO(dawn:491): This doesn't work on Metal, because we're using both the shader-output
|
||||
// mask (emulting the sampleMask from RenderPipeline) and alpha-to-coverage at the same
|
||||
|
@ -1033,7 +1039,7 @@ TEST_P(MultisampledRenderingTest, ResolveInto2DTextureWithAlphaToCoverageAndSamp
|
|||
TEST_P(MultisampledRenderingTest, ResolveInto2DTextureWithAlphaToCoverageAndRasterizationMask) {
|
||||
// This test fails because Swiftshader is off-by-one with its ((a+b)/2 + (c+d)/2)/2 fast resolve
|
||||
// algorithm.
|
||||
DAWN_SKIP_TEST_IF(IsSwiftshader());
|
||||
DAWN_SKIP_TEST_IF(IsSwiftshader() || IsANGLE());
|
||||
|
||||
constexpr bool kTestDepth = false;
|
||||
constexpr float kMSAACoverage = 0.50f;
|
||||
|
|
Loading…
Reference in New Issue