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 <noreply+kokoro@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Ben Clayton <bclayton@chromium.org>
This commit is contained in:
Ben Clayton 2022-06-15 11:17:46 +00:00 committed by Dawn LUCI CQ
parent 2ae29830db
commit f0a97a0a23
1 changed files with 0 additions and 1 deletions

View File

@ -745,7 +745,6 @@ bool Converter::Convert(interop::GPUTextureFormat& out, wgpu::TextureFormat in)
return true; return true;
case wgpu::TextureFormat::Undefined: case wgpu::TextureFormat::Undefined:
case wgpu::TextureFormat::Depth24UnormStencil8:
case wgpu::TextureFormat::R8BG8Biplanar420Unorm: case wgpu::TextureFormat::R8BG8Biplanar420Unorm:
return false; return false;
} }