Skip to content

Commit 686047e

Browse files
committed
Deploying to master from @ gfx-rs/wgpu@cb13fbe 🚀
1 parent 87a6856 commit 686047e

File tree

4 files changed

+60
-60
lines changed

4 files changed

+60
-60
lines changed

examples/webgl2.js

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -313,44 +313,44 @@ function getArrayI8FromWasm0(ptr, len) {
313313
ptr = ptr >>> 0;
314314
return getInt8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
315315
}
316-
function __wbg_adapter_6(arg0, arg1, arg2, arg3) {
316+
function __wbg_adapter_8(arg0, arg1, arg2, arg3) {
317317
wasm.closure51_externref_shim(arg0, arg1, arg2, arg3);
318318
}
319319

320-
function __wbg_adapter_13(arg0, arg1, arg2) {
321-
wasm.closure53_externref_shim(arg0, arg1, arg2);
322-
}
323-
324-
function __wbg_adapter_20(arg0, arg1, arg2) {
320+
function __wbg_adapter_15(arg0, arg1, arg2) {
325321
wasm.closure773_externref_shim(arg0, arg1, arg2);
326322
}
327323

328-
function __wbg_adapter_23(arg0, arg1, arg2) {
329-
wasm.closure774_externref_shim(arg0, arg1, arg2);
324+
function __wbg_adapter_18(arg0, arg1) {
325+
wasm.wasm_bindgen__convert__closures_____invoke__h05d4bf13764f056c(arg0, arg1);
330326
}
331327

332-
function __wbg_adapter_26(arg0, arg1, arg2) {
328+
function __wbg_adapter_21(arg0, arg1, arg2) {
333329
wasm.closure845_externref_shim(arg0, arg1, arg2);
334330
}
335331

336-
function __wbg_adapter_29(arg0, arg1, arg2) {
337-
wasm.closure770_externref_shim(arg0, arg1, arg2);
332+
function __wbg_adapter_24(arg0, arg1, arg2) {
333+
wasm.closure772_externref_shim(arg0, arg1, arg2);
338334
}
339335

340-
function __wbg_adapter_36(arg0, arg1, arg2) {
341-
wasm.closure49_externref_shim(arg0, arg1, arg2);
336+
function __wbg_adapter_27(arg0, arg1, arg2) {
337+
wasm.closure774_externref_shim(arg0, arg1, arg2);
342338
}
343339

344-
function __wbg_adapter_39(arg0, arg1, arg2) {
345-
wasm.closure771_externref_shim(arg0, arg1, arg2);
340+
function __wbg_adapter_30(arg0, arg1, arg2) {
341+
wasm.closure53_externref_shim(arg0, arg1, arg2);
346342
}
347343

348-
function __wbg_adapter_44(arg0, arg1, arg2) {
349-
wasm.closure772_externref_shim(arg0, arg1, arg2);
344+
function __wbg_adapter_33(arg0, arg1, arg2) {
345+
wasm.closure770_externref_shim(arg0, arg1, arg2);
350346
}
351347

352-
function __wbg_adapter_51(arg0, arg1) {
353-
wasm.wasm_bindgen__convert__closures_____invoke__h05d4bf13764f056c(arg0, arg1);
348+
function __wbg_adapter_40(arg0, arg1, arg2) {
349+
wasm.closure771_externref_shim(arg0, arg1, arg2);
350+
}
351+
352+
function __wbg_adapter_47(arg0, arg1, arg2) {
353+
wasm.closure49_externref_shim(arg0, arg1, arg2);
354354
}
355355

356356
const __wbindgen_enum_ResizeObserverBoxOptions = ["border-box", "content-box", "device-pixel-content-box"];
@@ -1928,7 +1928,7 @@ function __wbg_get_imports() {
19281928
};
19291929
imports.wbg.__wbindgen_cast_210f7c9393c7bc4a = function(arg0, arg1) {
19301930
// Cast intrinsic for `Closure(Closure { dtor_idx: 738, function: Function { arguments: [], shim_idx: 769, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1931-
const ret = makeMutClosure(arg0, arg1, 738, __wbg_adapter_51);
1931+
const ret = makeMutClosure(arg0, arg1, 738, __wbg_adapter_18);
19321932
return ret;
19331933
};
19341934
imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
@@ -1938,17 +1938,17 @@ function __wbg_get_imports() {
19381938
};
19391939
imports.wbg.__wbindgen_cast_44a5fbd39bcde7b1 = function(arg0, arg1) {
19401940
// Cast intrinsic for `Closure(Closure { dtor_idx: 736, function: Function { arguments: [NamedExternref("Event")], shim_idx: 772, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1941-
const ret = makeMutClosure(arg0, arg1, 736, __wbg_adapter_44);
1941+
const ret = makeMutClosure(arg0, arg1, 736, __wbg_adapter_24);
19421942
return ret;
19431943
};
19441944
imports.wbg.__wbindgen_cast_70e25009561e94df = function(arg0, arg1) {
19451945
// Cast intrinsic for `Closure(Closure { dtor_idx: 844, function: Function { arguments: [Externref], shim_idx: 845, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1946-
const ret = makeMutClosure(arg0, arg1, 844, __wbg_adapter_26);
1946+
const ret = makeMutClosure(arg0, arg1, 844, __wbg_adapter_21);
19471947
return ret;
19481948
};
19491949
imports.wbg.__wbindgen_cast_71b45a7843c82ee6 = function(arg0, arg1) {
19501950
// Cast intrinsic for `Closure(Closure { dtor_idx: 48, function: Function { arguments: [NamedExternref("FocusEvent")], shim_idx: 49, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1951-
const ret = makeMutClosure(arg0, arg1, 48, __wbg_adapter_36);
1951+
const ret = makeMutClosure(arg0, arg1, 48, __wbg_adapter_47);
19521952
return ret;
19531953
};
19541954
imports.wbg.__wbindgen_cast_7c316abdc43840a3 = function(arg0, arg1) {
@@ -1958,7 +1958,7 @@ function __wbg_get_imports() {
19581958
};
19591959
imports.wbg.__wbindgen_cast_8c80eb5392fed215 = function(arg0, arg1) {
19601960
// Cast intrinsic for `Closure(Closure { dtor_idx: 734, function: Function { arguments: [NamedExternref("WheelEvent")], shim_idx: 771, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1961-
const ret = makeMutClosure(arg0, arg1, 734, __wbg_adapter_39);
1961+
const ret = makeMutClosure(arg0, arg1, 734, __wbg_adapter_40);
19621962
return ret;
19631963
};
19641964
imports.wbg.__wbindgen_cast_9575fb55a66c262b = function(arg0, arg1) {
@@ -1968,7 +1968,7 @@ function __wbg_get_imports() {
19681968
};
19691969
imports.wbg.__wbindgen_cast_adfd85c3a999ff8d = function(arg0, arg1) {
19701970
// Cast intrinsic for `Closure(Closure { dtor_idx: 50, function: Function { arguments: [NamedExternref("Array<any>"), NamedExternref("ResizeObserver")], shim_idx: 51, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1971-
const ret = makeMutClosure(arg0, arg1, 50, __wbg_adapter_6);
1971+
const ret = makeMutClosure(arg0, arg1, 50, __wbg_adapter_8);
19721972
return ret;
19731973
};
19741974
imports.wbg.__wbindgen_cast_bbb4883c6389f1de = function(arg0, arg1) {
@@ -1993,7 +1993,7 @@ function __wbg_get_imports() {
19931993
};
19941994
imports.wbg.__wbindgen_cast_dd5ba6cc36c02515 = function(arg0, arg1) {
19951995
// Cast intrinsic for `Closure(Closure { dtor_idx: 52, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 53, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1996-
const ret = makeMutClosure(arg0, arg1, 52, __wbg_adapter_13);
1996+
const ret = makeMutClosure(arg0, arg1, 52, __wbg_adapter_30);
19971997
return ret;
19981998
};
19991999
imports.wbg.__wbindgen_cast_e47ceb6027f5c92c = function(arg0, arg1) {
@@ -2003,12 +2003,12 @@ function __wbg_get_imports() {
20032003
};
20042004
imports.wbg.__wbindgen_cast_eaa6fa9dada20a90 = function(arg0, arg1) {
20052005
// Cast intrinsic for `Closure(Closure { dtor_idx: 739, function: Function { arguments: [NamedExternref("PageTransitionEvent")], shim_idx: 774, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2006-
const ret = makeMutClosure(arg0, arg1, 739, __wbg_adapter_23);
2006+
const ret = makeMutClosure(arg0, arg1, 739, __wbg_adapter_27);
20072007
return ret;
20082008
};
20092009
imports.wbg.__wbindgen_cast_fa080c5e21d14348 = function(arg0, arg1) {
20102010
// Cast intrinsic for `Closure(Closure { dtor_idx: 737, function: Function { arguments: [NamedExternref("PointerEvent")], shim_idx: 773, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2011-
const ret = makeMutClosure(arg0, arg1, 737, __wbg_adapter_20);
2011+
const ret = makeMutClosure(arg0, arg1, 737, __wbg_adapter_15);
20122012
return ret;
20132013
};
20142014
imports.wbg.__wbindgen_cast_feefb5fadd6457fd = function(arg0, arg1) {
@@ -2018,7 +2018,7 @@ function __wbg_get_imports() {
20182018
};
20192019
imports.wbg.__wbindgen_cast_ff4dfb5df7ad3f78 = function(arg0, arg1) {
20202020
// Cast intrinsic for `Closure(Closure { dtor_idx: 735, function: Function { arguments: [NamedExternref("KeyboardEvent")], shim_idx: 770, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2021-
const ret = makeMutClosure(arg0, arg1, 735, __wbg_adapter_29);
2021+
const ret = makeMutClosure(arg0, arg1, 735, __wbg_adapter_33);
20222022
return ret;
20232023
};
20242024
imports.wbg.__wbindgen_init_externref_table = function() {

examples/webgl2_bg.wasm

0 Bytes
Binary file not shown.

examples/webgpu.js

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -243,48 +243,48 @@ function makeMutClosure(arg0, arg1, dtor, f) {
243243
CLOSURE_DTORS.register(real, state, state);
244244
return real;
245245
}
246-
function __wbg_adapter_6(arg0, arg1) {
247-
wasm.wasm_bindgen__convert__closures_____invoke__h55585bb753588d83(arg0, arg1);
246+
function __wbg_adapter_6(arg0, arg1, arg2) {
247+
wasm.closure1011_externref_shim(arg0, arg1, arg2);
248248
}
249249

250-
function __wbg_adapter_9(arg0, arg1, arg2, arg3) {
251-
wasm.closure141_externref_shim(arg0, arg1, arg2, arg3);
250+
function __wbg_adapter_11(arg0, arg1, arg2) {
251+
wasm.closure143_externref_shim(arg0, arg1, arg2);
252252
}
253253

254-
function __wbg_adapter_12(arg0, arg1, arg2) {
255-
wasm.closure753_externref_shim(arg0, arg1, arg2);
254+
function __wbg_adapter_14(arg0, arg1, arg2) {
255+
wasm.closure751_externref_shim(arg0, arg1, arg2);
256256
}
257257

258-
function __wbg_adapter_15(arg0, arg1, arg2) {
258+
function __wbg_adapter_17(arg0, arg1, arg2) {
259259
wasm.closure139_externref_shim(arg0, arg1, arg2);
260260
}
261261

262-
function __wbg_adapter_18(arg0, arg1, arg2) {
263-
wasm.closure752_externref_shim(arg0, arg1, arg2);
262+
function __wbg_adapter_24(arg0, arg1, arg2) {
263+
wasm.closure994_externref_shim(arg0, arg1, arg2);
264264
}
265265

266-
function __wbg_adapter_23(arg0, arg1, arg2) {
267-
wasm.closure143_externref_shim(arg0, arg1, arg2);
266+
function __wbg_adapter_27(arg0, arg1, arg2) {
267+
wasm.closure749_externref_shim(arg0, arg1, arg2);
268268
}
269269

270-
function __wbg_adapter_26(arg0, arg1, arg2) {
271-
wasm.closure750_externref_shim(arg0, arg1, arg2);
270+
function __wbg_adapter_30(arg0, arg1, arg2) {
271+
wasm.closure752_externref_shim(arg0, arg1, arg2);
272272
}
273273

274-
function __wbg_adapter_29(arg0, arg1, arg2) {
275-
wasm.closure994_externref_shim(arg0, arg1, arg2);
274+
function __wbg_adapter_33(arg0, arg1, arg2) {
275+
wasm.closure753_externref_shim(arg0, arg1, arg2);
276276
}
277277

278-
function __wbg_adapter_36(arg0, arg1, arg2) {
279-
wasm.closure749_externref_shim(arg0, arg1, arg2);
278+
function __wbg_adapter_36(arg0, arg1) {
279+
wasm.wasm_bindgen__convert__closures_____invoke__h55585bb753588d83(arg0, arg1);
280280
}
281281

282-
function __wbg_adapter_39(arg0, arg1, arg2) {
283-
wasm.closure1011_externref_shim(arg0, arg1, arg2);
282+
function __wbg_adapter_39(arg0, arg1, arg2, arg3) {
283+
wasm.closure141_externref_shim(arg0, arg1, arg2, arg3);
284284
}
285285

286286
function __wbg_adapter_42(arg0, arg1, arg2) {
287-
wasm.closure751_externref_shim(arg0, arg1, arg2);
287+
wasm.closure750_externref_shim(arg0, arg1, arg2);
288288
}
289289

290290
const __wbindgen_enum_GpuAddressMode = ["clamp-to-edge", "repeat", "mirror-repeat"];
@@ -2231,12 +2231,12 @@ function __wbg_get_imports() {
22312231
}, arguments) };
22322232
imports.wbg.__wbindgen_cast_0ab9eb0c7156abad = function(arg0, arg1) {
22332233
// Cast intrinsic for `Closure(Closure { dtor_idx: 138, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 139, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2234-
const ret = makeMutClosure(arg0, arg1, 138, __wbg_adapter_15);
2234+
const ret = makeMutClosure(arg0, arg1, 138, __wbg_adapter_17);
22352235
return ret;
22362236
};
22372237
imports.wbg.__wbindgen_cast_201173a5e2810320 = function(arg0, arg1) {
22382238
// Cast intrinsic for `Closure(Closure { dtor_idx: 142, function: Function { arguments: [NamedExternref("FocusEvent")], shim_idx: 143, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2239-
const ret = makeMutClosure(arg0, arg1, 142, __wbg_adapter_23);
2239+
const ret = makeMutClosure(arg0, arg1, 142, __wbg_adapter_11);
22402240
return ret;
22412241
};
22422242
imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
@@ -2246,22 +2246,22 @@ function __wbg_get_imports() {
22462246
};
22472247
imports.wbg.__wbindgen_cast_2b97e819b4bb7831 = function(arg0, arg1) {
22482248
// Cast intrinsic for `Closure(Closure { dtor_idx: 1010, function: Function { arguments: [Externref], shim_idx: 1011, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2249-
const ret = makeMutClosure(arg0, arg1, 1010, __wbg_adapter_39);
2249+
const ret = makeMutClosure(arg0, arg1, 1010, __wbg_adapter_6);
22502250
return ret;
22512251
};
22522252
imports.wbg.__wbindgen_cast_499749b64420a08d = function(arg0, arg1) {
22532253
// Cast intrinsic for `Closure(Closure { dtor_idx: 140, function: Function { arguments: [NamedExternref("Array<any>"), NamedExternref("ResizeObserver")], shim_idx: 141, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2254-
const ret = makeMutClosure(arg0, arg1, 140, __wbg_adapter_9);
2254+
const ret = makeMutClosure(arg0, arg1, 140, __wbg_adapter_39);
22552255
return ret;
22562256
};
22572257
imports.wbg.__wbindgen_cast_8e60dc70acc59f8f = function(arg0, arg1) {
22582258
// Cast intrinsic for `Closure(Closure { dtor_idx: 716, function: Function { arguments: [NamedExternref("Event")], shim_idx: 753, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2259-
const ret = makeMutClosure(arg0, arg1, 716, __wbg_adapter_12);
2259+
const ret = makeMutClosure(arg0, arg1, 716, __wbg_adapter_33);
22602260
return ret;
22612261
};
22622262
imports.wbg.__wbindgen_cast_b7cd328c87318ce3 = function(arg0, arg1) {
22632263
// Cast intrinsic for `Closure(Closure { dtor_idx: 718, function: Function { arguments: [NamedExternref("PointerEvent")], shim_idx: 749, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2264-
const ret = makeMutClosure(arg0, arg1, 718, __wbg_adapter_36);
2264+
const ret = makeMutClosure(arg0, arg1, 718, __wbg_adapter_27);
22652265
return ret;
22662266
};
22672267
imports.wbg.__wbindgen_cast_cb9088102bce6b30 = function(arg0, arg1) {
@@ -2276,27 +2276,27 @@ function __wbg_get_imports() {
22762276
};
22772277
imports.wbg.__wbindgen_cast_dfb8b1af2d266ea6 = function(arg0, arg1) {
22782278
// Cast intrinsic for `Closure(Closure { dtor_idx: 993, function: Function { arguments: [NamedExternref("GPUUncapturedErrorEvent")], shim_idx: 994, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2279-
const ret = makeMutClosure(arg0, arg1, 993, __wbg_adapter_29);
2279+
const ret = makeMutClosure(arg0, arg1, 993, __wbg_adapter_24);
22802280
return ret;
22812281
};
22822282
imports.wbg.__wbindgen_cast_e1f703f5d9799e91 = function(arg0, arg1) {
22832283
// Cast intrinsic for `Closure(Closure { dtor_idx: 719, function: Function { arguments: [], shim_idx: 748, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2284-
const ret = makeMutClosure(arg0, arg1, 719, __wbg_adapter_6);
2284+
const ret = makeMutClosure(arg0, arg1, 719, __wbg_adapter_36);
22852285
return ret;
22862286
};
22872287
imports.wbg.__wbindgen_cast_f335d8ca808e209d = function(arg0, arg1) {
22882288
// Cast intrinsic for `Closure(Closure { dtor_idx: 720, function: Function { arguments: [NamedExternref("PageTransitionEvent")], shim_idx: 751, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2289-
const ret = makeMutClosure(arg0, arg1, 720, __wbg_adapter_42);
2289+
const ret = makeMutClosure(arg0, arg1, 720, __wbg_adapter_14);
22902290
return ret;
22912291
};
22922292
imports.wbg.__wbindgen_cast_f8d4bcc6022d3e5b = function(arg0, arg1) {
22932293
// Cast intrinsic for `Closure(Closure { dtor_idx: 717, function: Function { arguments: [NamedExternref("WheelEvent")], shim_idx: 752, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2294-
const ret = makeMutClosure(arg0, arg1, 717, __wbg_adapter_18);
2294+
const ret = makeMutClosure(arg0, arg1, 717, __wbg_adapter_30);
22952295
return ret;
22962296
};
22972297
imports.wbg.__wbindgen_cast_fadb7501eeff22f4 = function(arg0, arg1) {
22982298
// Cast intrinsic for `Closure(Closure { dtor_idx: 721, function: Function { arguments: [NamedExternref("KeyboardEvent")], shim_idx: 750, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2299-
const ret = makeMutClosure(arg0, arg1, 721, __wbg_adapter_26);
2299+
const ret = makeMutClosure(arg0, arg1, 721, __wbg_adapter_42);
23002300
return ret;
23012301
};
23022302
imports.wbg.__wbindgen_init_externref_table = function() {

examples/webgpu_bg.wasm

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)