diff --git a/src/dawn/utils/TextureUtils.cpp b/src/dawn/utils/TextureUtils.cpp index ad2739f3c9..b630a0c0e7 100644 --- a/src/dawn/utils/TextureUtils.cpp +++ b/src/dawn/utils/TextureUtils.cpp @@ -136,7 +136,6 @@ bool IsDepthOrStencilFormat(wgpu::TextureFormat textureFormat) { case wgpu::TextureFormat::Depth24Plus: case wgpu::TextureFormat::Depth32Float: case wgpu::TextureFormat::Depth24PlusStencil8: - case wgpu::TextureFormat::Depth24UnormStencil8: case wgpu::TextureFormat::Depth32FloatStencil8: case wgpu::TextureFormat::Stencil8: return true; diff --git a/src/dawn/utils/TextureUtils.h b/src/dawn/utils/TextureUtils.h index 5b0025d1da..964df10023 100644 --- a/src/dawn/utils/TextureUtils.h +++ b/src/dawn/utils/TextureUtils.h @@ -22,7 +22,7 @@ #include "dawn/common/Assert.h" namespace utils { -static constexpr std::array kAllTextureFormats = { +static constexpr std::array kAllTextureFormats = { wgpu::TextureFormat::R8Unorm, wgpu::TextureFormat::R8Snorm, wgpu::TextureFormat::R8Uint,