Skip to content

Commit bb66eb1

Browse files
committed
fix patch
1 parent ab8fd9e commit bb66eb1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cmake/patches/dawn/dawn_device_lost_keepalive.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
diff --git a/third_party/emdawnwebgpu/pkg/webgpu/src/library_webgpu.js b/third_party/emdawnwebgpu/pkg/webgpu/src/library_webgpu.js
22
--- a/third_party/emdawnwebgpu/pkg/webgpu/src/library_webgpu.js
33
+++ b/third_party/emdawnwebgpu/pkg/webgpu/src/library_webgpu.js
4-
@@ -876,9 +876,11 @@
4+
@@ -876,7 +876,9 @@
55
#if ASSERTIONS
66
assert(deviceLostFutureId);
77
#endif
@@ -12,7 +12,7 @@ diff --git a/third_party/emdawnwebgpu/pkg/webgpu/src/library_webgpu.js b/third_p
1212
WebGPU.Internals.futureInsert(deviceLostFutureId, device.lost.then((info) => {
1313
// If the runtime has exited, avoid calling callUserCallback as it
1414
// will print an error (e.g. if the device got freed during shutdown).
15-
@@ -891,6 +893,7 @@
15+
@@ -892,6 +894,7 @@
1616
{{{ gpu.passAsPointer('messagePtr') }}});
1717
stackRestore(sp);
1818
});

0 commit comments

Comments
 (0)