summaryrefslogtreecommitdiff
path: root/ext/webgpu/01_webgpu.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/webgpu/01_webgpu.js')
-rw-r--r--ext/webgpu/01_webgpu.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/webgpu/01_webgpu.js b/ext/webgpu/01_webgpu.js
index 31b0a75f6..b8b13ebf8 100644
--- a/ext/webgpu/01_webgpu.js
+++ b/ext/webgpu/01_webgpu.js
@@ -2040,7 +2040,7 @@ class GPUBuffer {
device.pushErrorPromise(promise);
const err = await promise;
if (err) {
- throw new DOMException("validation error occured", "OperationError");
+ throw new DOMException("validation error occurred", "OperationError");
}
this[_state] = "mapped";
this[_mappingRange] = [offset, offset + rangeSize];