dawn_node: Fix wgpu::ErrorFilter::None

This enum value was removed.

Bug: dawn:1206
Change-Id: Ifebceb01e817a29daec6629434d4dd792f343f74
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/72940
Auto-Submit: Austin Eng <enga@chromium.org>
Reviewed-by: Shrek Shao <shrekshao@google.com>
Reviewed-by: Brandon Jones <bajones@chromium.org>
Commit-Queue: Brandon Jones <bajones@chromium.org>
This commit is contained in:
Austin Eng 2021-12-15 00:29:46 +00:00 committed by Dawn LUCI CQ
parent 89ddadcd1e
commit 18416ecdf9
1 changed files with 1 additions and 1 deletions

View File

@ -431,7 +431,7 @@ namespace wgpu { namespace binding {
} }
void GPUDevice::pushErrorScope(Napi::Env env, interop::GPUErrorFilter filter) { void GPUDevice::pushErrorScope(Napi::Env env, interop::GPUErrorFilter filter) {
wgpu::ErrorFilter f = wgpu::ErrorFilter::None; wgpu::ErrorFilter f;
switch (filter) { switch (filter) {
case interop::GPUErrorFilter::kOutOfMemory: case interop::GPUErrorFilter::kOutOfMemory:
f = wgpu::ErrorFilter::OutOfMemory; f = wgpu::ErrorFilter::OutOfMemory;