From f0a97a0a23c176c036d6ba5b46824e33b79e77d8 Mon Sep 17 00:00:00 2001 From: Ben Clayton Date: Wed, 15 Jun 2022 11:17:46 +0000 Subject: [PATCH] dawn/node: Fix build wgpu::TextureFormat::Depth24UnormStencil8 was removed in https://dawn-review.googlesource.com/c/dawn/+/93421 Bug: dawn:1459 Change-Id: I57454df19b4cc5b901aaace64c54f2930ddd25b2 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/93781 Kokoro: Kokoro Reviewed-by: Corentin Wallez Commit-Queue: Corentin Wallez Commit-Queue: Ben Clayton --- src/dawn/node/binding/Converter.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/dawn/node/binding/Converter.cpp b/src/dawn/node/binding/Converter.cpp index 5355ed0395..f06a6af70c 100644 --- a/src/dawn/node/binding/Converter.cpp +++ b/src/dawn/node/binding/Converter.cpp @@ -745,7 +745,6 @@ bool Converter::Convert(interop::GPUTextureFormat& out, wgpu::TextureFormat in) return true; case wgpu::TextureFormat::Undefined: - case wgpu::TextureFormat::Depth24UnormStencil8: case wgpu::TextureFormat::R8BG8Biplanar420Unorm: return false; }