Skip to content

Commit 8bfee9e

Browse files
Deploying to master from @ gfx-rs/wgpu@54ded60 🚀
1 parent 5d5a3e3 commit 8bfee9e

File tree

4 files changed

+50
-50
lines changed

4 files changed

+50
-50
lines changed

examples/webgl2.js

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -314,43 +314,43 @@ function getArrayI8FromWasm0(ptr, len) {
314314
return getInt8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
315315
}
316316
function __wbg_adapter_6(arg0, arg1, arg2) {
317-
wasm.closure296_externref_shim(arg0, arg1, arg2);
317+
wasm.closure772_externref_shim(arg0, arg1, arg2);
318318
}
319319

320-
function __wbg_adapter_13(arg0, arg1, arg2) {
321-
wasm.closure772_externref_shim(arg0, arg1, arg2);
320+
function __wbg_adapter_9(arg0, arg1, arg2) {
321+
wasm.closure773_externref_shim(arg0, arg1, arg2);
322322
}
323323

324-
function __wbg_adapter_16(arg0, arg1, arg2) {
324+
function __wbg_adapter_12(arg0, arg1, arg2) {
325325
wasm.closure844_externref_shim(arg0, arg1, arg2);
326326
}
327327

328-
function __wbg_adapter_23(arg0, arg1, arg2) {
329-
wasm.closure769_externref_shim(arg0, arg1, arg2);
328+
function __wbg_adapter_15(arg0, arg1, arg2) {
329+
wasm.closure770_externref_shim(arg0, arg1, arg2);
330330
}
331331

332-
function __wbg_adapter_30(arg0, arg1, arg2) {
333-
wasm.closure770_externref_shim(arg0, arg1, arg2);
332+
function __wbg_adapter_20(arg0, arg1, arg2) {
333+
wasm.closure769_externref_shim(arg0, arg1, arg2);
334334
}
335335

336-
function __wbg_adapter_33(arg0, arg1, arg2) {
336+
function __wbg_adapter_25(arg0, arg1, arg2) {
337337
wasm.closure292_externref_shim(arg0, arg1, arg2);
338338
}
339339

340-
function __wbg_adapter_36(arg0, arg1) {
341-
wasm.wasm_bindgen__convert__closures_____invoke__h05d4bf13764f056c(arg0, arg1);
340+
function __wbg_adapter_32(arg0, arg1, arg2) {
341+
wasm.closure296_externref_shim(arg0, arg1, arg2);
342342
}
343343

344-
function __wbg_adapter_39(arg0, arg1, arg2, arg3) {
344+
function __wbg_adapter_41(arg0, arg1, arg2, arg3) {
345345
wasm.closure294_externref_shim(arg0, arg1, arg2, arg3);
346346
}
347347

348-
function __wbg_adapter_44(arg0, arg1, arg2) {
349-
wasm.closure771_externref_shim(arg0, arg1, arg2);
348+
function __wbg_adapter_44(arg0, arg1) {
349+
wasm.wasm_bindgen__convert__closures_____invoke__h05d4bf13764f056c(arg0, arg1);
350350
}
351351

352-
function __wbg_adapter_51(arg0, arg1, arg2) {
353-
wasm.closure773_externref_shim(arg0, arg1, arg2);
352+
function __wbg_adapter_49(arg0, arg1, arg2) {
353+
wasm.closure771_externref_shim(arg0, arg1, arg2);
354354
}
355355

356356
const __wbindgen_enum_ResizeObserverBoxOptions = ["border-box", "content-box", "device-pixel-content-box"];
@@ -1928,12 +1928,12 @@ function __wbg_get_imports() {
19281928
};
19291929
imports.wbg.__wbindgen_cast_0edfce14bf9d86c0 = function(arg0, arg1) {
19301930
// Cast intrinsic for `Closure(Closure { dtor_idx: 736, function: Function { arguments: [NamedExternref("PointerEvent")], shim_idx: 772, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1931-
const ret = makeMutClosure(arg0, arg1, 736, __wbg_adapter_13);
1931+
const ret = makeMutClosure(arg0, arg1, 736, __wbg_adapter_6);
19321932
return ret;
19331933
};
19341934
imports.wbg.__wbindgen_cast_18650aa678724c97 = function(arg0, arg1) {
19351935
// Cast intrinsic for `Closure(Closure { dtor_idx: 738, function: Function { arguments: [NamedExternref("PageTransitionEvent")], shim_idx: 773, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1936-
const ret = makeMutClosure(arg0, arg1, 738, __wbg_adapter_51);
1936+
const ret = makeMutClosure(arg0, arg1, 738, __wbg_adapter_9);
19371937
return ret;
19381938
};
19391939
imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
@@ -1943,27 +1943,27 @@ function __wbg_get_imports() {
19431943
};
19441944
imports.wbg.__wbindgen_cast_3612ddb46db948cd = function(arg0, arg1) {
19451945
// Cast intrinsic for `Closure(Closure { dtor_idx: 735, function: Function { arguments: [NamedExternref("Event")], shim_idx: 771, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1946-
const ret = makeMutClosure(arg0, arg1, 735, __wbg_adapter_44);
1946+
const ret = makeMutClosure(arg0, arg1, 735, __wbg_adapter_49);
19471947
return ret;
19481948
};
19491949
imports.wbg.__wbindgen_cast_4f47f49c9dbdf471 = function(arg0, arg1) {
19501950
// Cast intrinsic for `Closure(Closure { dtor_idx: 843, function: Function { arguments: [Externref], shim_idx: 844, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1951-
const ret = makeMutClosure(arg0, arg1, 843, __wbg_adapter_16);
1951+
const ret = makeMutClosure(arg0, arg1, 843, __wbg_adapter_12);
19521952
return ret;
19531953
};
19541954
imports.wbg.__wbindgen_cast_5168c69f3fc9bbe1 = function(arg0, arg1) {
19551955
// Cast intrinsic for `Closure(Closure { dtor_idx: 295, function: Function { arguments: [NamedExternref("FocusEvent")], shim_idx: 296, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1956-
const ret = makeMutClosure(arg0, arg1, 295, __wbg_adapter_6);
1956+
const ret = makeMutClosure(arg0, arg1, 295, __wbg_adapter_32);
19571957
return ret;
19581958
};
19591959
imports.wbg.__wbindgen_cast_540a779f907aaf22 = function(arg0, arg1) {
19601960
// Cast intrinsic for `Closure(Closure { dtor_idx: 733, function: Function { arguments: [NamedExternref("WheelEvent")], shim_idx: 770, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1961-
const ret = makeMutClosure(arg0, arg1, 733, __wbg_adapter_30);
1961+
const ret = makeMutClosure(arg0, arg1, 733, __wbg_adapter_15);
19621962
return ret;
19631963
};
19641964
imports.wbg.__wbindgen_cast_7344a3ed9b46e618 = function(arg0, arg1) {
19651965
// Cast intrinsic for `Closure(Closure { dtor_idx: 291, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 292, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1966-
const ret = makeMutClosure(arg0, arg1, 291, __wbg_adapter_33);
1966+
const ret = makeMutClosure(arg0, arg1, 291, __wbg_adapter_25);
19671967
return ret;
19681968
};
19691969
imports.wbg.__wbindgen_cast_7c316abdc43840a3 = function(arg0, arg1) {
@@ -1973,7 +1973,7 @@ function __wbg_get_imports() {
19731973
};
19741974
imports.wbg.__wbindgen_cast_86c668a28602b187 = function(arg0, arg1) {
19751975
// Cast intrinsic for `Closure(Closure { dtor_idx: 737, function: Function { arguments: [], shim_idx: 768, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1976-
const ret = makeMutClosure(arg0, arg1, 737, __wbg_adapter_36);
1976+
const ret = makeMutClosure(arg0, arg1, 737, __wbg_adapter_44);
19771977
return ret;
19781978
};
19791979
imports.wbg.__wbindgen_cast_9575fb55a66c262b = function(arg0, arg1) {
@@ -1983,7 +1983,7 @@ function __wbg_get_imports() {
19831983
};
19841984
imports.wbg.__wbindgen_cast_a71bbc002eafca84 = function(arg0, arg1) {
19851985
// Cast intrinsic for `Closure(Closure { dtor_idx: 734, function: Function { arguments: [NamedExternref("KeyboardEvent")], shim_idx: 769, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1986-
const ret = makeMutClosure(arg0, arg1, 734, __wbg_adapter_23);
1986+
const ret = makeMutClosure(arg0, arg1, 734, __wbg_adapter_20);
19871987
return ret;
19881988
};
19891989
imports.wbg.__wbindgen_cast_bbb4883c6389f1de = function(arg0, arg1) {
@@ -2013,7 +2013,7 @@ function __wbg_get_imports() {
20132013
};
20142014
imports.wbg.__wbindgen_cast_fa5ce9026bf9672b = function(arg0, arg1) {
20152015
// Cast intrinsic for `Closure(Closure { dtor_idx: 293, function: Function { arguments: [NamedExternref("Array<any>"), NamedExternref("ResizeObserver")], shim_idx: 294, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2016-
const ret = makeMutClosure(arg0, arg1, 293, __wbg_adapter_39);
2016+
const ret = makeMutClosure(arg0, arg1, 293, __wbg_adapter_41);
20172017
return ret;
20182018
};
20192019
imports.wbg.__wbindgen_cast_feefb5fadd6457fd = function(arg0, arg1) {

examples/webgl2_bg.wasm

0 Bytes
Binary file not shown.

examples/webgpu.js

Lines changed: 24 additions & 24 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, arg2, arg3) {
247-
wasm.closure107_externref_shim(arg0, arg1, arg2, arg3);
246+
function __wbg_adapter_6(arg0, arg1, arg2) {
247+
wasm.closure752_externref_shim(arg0, arg1, arg2);
248248
}
249249

250250
function __wbg_adapter_9(arg0, arg1, arg2) {
251-
wasm.closure755_externref_shim(arg0, arg1, arg2);
251+
wasm.closure1012_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, arg3) {
255+
wasm.closure107_externref_shim(arg0, arg1, arg2, arg3);
256256
}
257257

258-
function __wbg_adapter_15(arg0, arg1, arg2) {
259-
wasm.closure754_externref_shim(arg0, arg1, arg2);
258+
function __wbg_adapter_17(arg0, arg1, arg2) {
259+
wasm.closure755_externref_shim(arg0, arg1, arg2);
260260
}
261261

262262
function __wbg_adapter_20(arg0, arg1, arg2) {
263-
wasm.closure109_externref_shim(arg0, arg1, arg2);
263+
wasm.closure111_externref_shim(arg0, arg1, arg2);
264264
}
265265

266266
function __wbg_adapter_23(arg0, arg1, arg2) {
267-
wasm.closure751_externref_shim(arg0, arg1, arg2);
267+
wasm.closure109_externref_shim(arg0, arg1, arg2);
268268
}
269269

270270
function __wbg_adapter_26(arg0, arg1) {
271271
wasm.wasm_bindgen__convert__closures_____invoke__h55585bb753588d83(arg0, arg1);
272272
}
273273

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

278278
function __wbg_adapter_36(arg0, arg1, arg2) {
279-
wasm.closure111_externref_shim(arg0, arg1, arg2);
279+
wasm.closure753_externref_shim(arg0, arg1, arg2);
280280
}
281281

282282
function __wbg_adapter_39(arg0, arg1, arg2) {
283-
wasm.closure752_externref_shim(arg0, arg1, arg2);
283+
wasm.closure996_externref_shim(arg0, arg1, arg2);
284284
}
285285

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

290290
const __wbindgen_enum_GpuAddressMode = ["clamp-to-edge", "repeat", "mirror-repeat"];
@@ -2236,37 +2236,37 @@ function __wbg_get_imports() {
22362236
};
22372237
imports.wbg.__wbindgen_cast_3b5673506dbc008f = function(arg0, arg1) {
22382238
// Cast intrinsic for `Closure(Closure { dtor_idx: 108, function: Function { arguments: [NamedExternref("FocusEvent")], shim_idx: 109, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2239-
const ret = makeMutClosure(arg0, arg1, 108, __wbg_adapter_20);
2239+
const ret = makeMutClosure(arg0, arg1, 108, __wbg_adapter_23);
22402240
return ret;
22412241
};
22422242
imports.wbg.__wbindgen_cast_4de2d18c810c9780 = function(arg0, arg1) {
22432243
// Cast intrinsic for `Closure(Closure { dtor_idx: 110, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 111, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2244-
const ret = makeMutClosure(arg0, arg1, 110, __wbg_adapter_36);
2244+
const ret = makeMutClosure(arg0, arg1, 110, __wbg_adapter_20);
22452245
return ret;
22462246
};
22472247
imports.wbg.__wbindgen_cast_5f4cd03b6827aa98 = function(arg0, arg1) {
22482248
// Cast intrinsic for `Closure(Closure { dtor_idx: 718, function: Function { arguments: [NamedExternref("WheelEvent")], shim_idx: 754, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2249-
const ret = makeMutClosure(arg0, arg1, 718, __wbg_adapter_15);
2249+
const ret = makeMutClosure(arg0, arg1, 718, __wbg_adapter_42);
22502250
return ret;
22512251
};
22522252
imports.wbg.__wbindgen_cast_70c8751564fa1934 = function(arg0, arg1) {
22532253
// Cast intrinsic for `Closure(Closure { dtor_idx: 719, function: Function { arguments: [NamedExternref("PointerEvent")], shim_idx: 751, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2254-
const ret = makeMutClosure(arg0, arg1, 719, __wbg_adapter_23);
2254+
const ret = makeMutClosure(arg0, arg1, 719, __wbg_adapter_29);
22552255
return ret;
22562256
};
22572257
imports.wbg.__wbindgen_cast_711ba8d3a0d7cd0d = function(arg0, arg1) {
22582258
// Cast intrinsic for `Closure(Closure { dtor_idx: 106, function: Function { arguments: [NamedExternref("Array<any>"), NamedExternref("ResizeObserver")], shim_idx: 107, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2259-
const ret = makeMutClosure(arg0, arg1, 106, __wbg_adapter_6);
2259+
const ret = makeMutClosure(arg0, arg1, 106, __wbg_adapter_14);
22602260
return ret;
22612261
};
22622262
imports.wbg.__wbindgen_cast_89d5480ab15199c1 = function(arg0, arg1) {
22632263
// Cast intrinsic for `Closure(Closure { dtor_idx: 717, function: Function { arguments: [NamedExternref("Event")], shim_idx: 755, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2264-
const ret = makeMutClosure(arg0, arg1, 717, __wbg_adapter_9);
2264+
const ret = makeMutClosure(arg0, arg1, 717, __wbg_adapter_17);
22652265
return ret;
22662266
};
22672267
imports.wbg.__wbindgen_cast_c3f152a10ae271e1 = function(arg0, arg1) {
22682268
// Cast intrinsic for `Closure(Closure { dtor_idx: 1011, function: Function { arguments: [Externref], shim_idx: 1012, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2269-
const ret = makeMutClosure(arg0, arg1, 1011, __wbg_adapter_42);
2269+
const ret = makeMutClosure(arg0, arg1, 1011, __wbg_adapter_9);
22702270
return ret;
22712271
};
22722272
imports.wbg.__wbindgen_cast_cb9088102bce6b30 = function(arg0, arg1) {
@@ -2276,7 +2276,7 @@ function __wbg_get_imports() {
22762276
};
22772277
imports.wbg.__wbindgen_cast_d0b581253b6f501c = function(arg0, arg1) {
22782278
// Cast intrinsic for `Closure(Closure { dtor_idx: 722, function: Function { arguments: [NamedExternref("KeyboardEvent")], shim_idx: 752, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2279-
const ret = makeMutClosure(arg0, arg1, 722, __wbg_adapter_39);
2279+
const ret = makeMutClosure(arg0, arg1, 722, __wbg_adapter_6);
22802280
return ret;
22812281
};
22822282
imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) {
@@ -2286,7 +2286,7 @@ function __wbg_get_imports() {
22862286
};
22872287
imports.wbg.__wbindgen_cast_db6d437c16dc7c6e = function(arg0, arg1) {
22882288
// Cast intrinsic for `Closure(Closure { dtor_idx: 995, function: Function { arguments: [NamedExternref("GPUUncapturedErrorEvent")], shim_idx: 996, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2289-
const ret = makeMutClosure(arg0, arg1, 995, __wbg_adapter_33);
2289+
const ret = makeMutClosure(arg0, arg1, 995, __wbg_adapter_39);
22902290
return ret;
22912291
};
22922292
imports.wbg.__wbindgen_cast_f3caa909f2f049b9 = function(arg0, arg1) {
@@ -2296,7 +2296,7 @@ function __wbg_get_imports() {
22962296
};
22972297
imports.wbg.__wbindgen_cast_ff55a443a7f944f5 = function(arg0, arg1) {
22982298
// Cast intrinsic for `Closure(Closure { dtor_idx: 721, function: Function { arguments: [NamedExternref("PageTransitionEvent")], shim_idx: 753, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2299-
const ret = makeMutClosure(arg0, arg1, 721, __wbg_adapter_12);
2299+
const ret = makeMutClosure(arg0, arg1, 721, __wbg_adapter_36);
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)