Skip tests about writeonly storage texture In render pass on ANGLE

StorageTextureTests.WriteonlyStorageTextureInFragmentShader and
StorageTextureZeroInitTests.
WriteonlyStorageTextureClearsToZeroInRenderPass starts to fail on
the bots after the latest roll of ANGLE, so we have to temporarily
suppress them.

Bug: dawn:1503
Test: dawn_end2end_tests
Change-Id: Id8abf7c0a5bd30e5de12c838f871e1ab896ab4fd
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/97127
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
This commit is contained in:
Jiawei Shao 2022-07-27 10:09:25 +00:00 committed by Dawn LUCI CQ
parent 695a6d82ae
commit d144805688
1 changed files with 6 additions and 0 deletions

View File

@ -696,6 +696,9 @@ TEST_P(StorageTextureTests, WriteonlyStorageTextureInFragmentShader) {
// NVidia OpenGLES drivers. // NVidia OpenGLES drivers.
DAWN_SUPPRESS_TEST_IF(IsNvidia() && IsLinux() && IsOpenGLES()); DAWN_SUPPRESS_TEST_IF(IsNvidia() && IsLinux() && IsOpenGLES());
// TODO(crbug.com/dawn/1503): Investigate the regression in ANGLE that causes the test failure.
DAWN_SUPPRESS_TEST_IF(IsANGLE());
for (wgpu::TextureFormat format : utils::kAllTextureFormats) { for (wgpu::TextureFormat format : utils::kAllTextureFormats) {
if (!utils::TextureFormatSupportsStorageTexture(format)) { if (!utils::TextureFormatSupportsStorageTexture(format)) {
continue; continue;
@ -913,6 +916,9 @@ fn doTest() -> bool {
// Verify that the texture is correctly cleared to 0 before its first usage as a write-only storage // Verify that the texture is correctly cleared to 0 before its first usage as a write-only storage
// storage texture in a render pass. // storage texture in a render pass.
TEST_P(StorageTextureZeroInitTests, WriteonlyStorageTextureClearsToZeroInRenderPass) { TEST_P(StorageTextureZeroInitTests, WriteonlyStorageTextureClearsToZeroInRenderPass) {
// TODO(crbug.com/dawn/1503): Investigate the regression in ANGLE that causes the test failure.
DAWN_SUPPRESS_TEST_IF(IsANGLE());
// Prepare the write-only storage texture. // Prepare the write-only storage texture.
wgpu::Texture writeonlyStorageTexture = CreateTexture( wgpu::Texture writeonlyStorageTexture = CreateTexture(
wgpu::TextureFormat::R32Uint, wgpu::TextureFormat::R32Uint,