wgpu: fix mode which is u64 not unwrapping big int

This commit is contained in:
Laytan Laats
2025-02-27 22:29:32 +01:00
parent b6f34332fe
commit 1223b3e260

1
vendor/wgpu/wgpu.js vendored
View File

@@ -1365,6 +1365,7 @@ class WebGPUInterface {
*/
wgpuBufferMapAsync: (bufferIdx, mode, offset, size, callbackInfoPtr) => {
const buffer = this.buffers.get(bufferIdx);
mode = this.unwrapBigInt(mode);
offset = this.unwrapBigInt(offset);
size = this.unwrapBigInt(size);