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:
parent
89ddadcd1e
commit
18416ecdf9
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue