Skip to content

Commit 6349fbf

Browse files
committed
Deploying to master from @ gfx-rs/wgpu@4ea04a6 🚀
1 parent e3dfce3 commit 6349fbf

File tree

4 files changed

+58
-58
lines changed

4 files changed

+58
-58
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_8(arg0, arg1, arg2) {
317-
wasm.closure770_externref_shim(arg0, arg1, arg2);
318-
}
319-
320-
function __wbg_adapter_11(arg0, arg1, arg2) {
316+
function __wbg_adapter_6(arg0, arg1, arg2) {
321317
wasm.closure94_externref_shim(arg0, arg1, arg2);
322318
}
323319

324-
function __wbg_adapter_20(arg0, arg1, arg2) {
325-
wasm.closure769_externref_shim(arg0, arg1, arg2);
320+
function __wbg_adapter_9(arg0, arg1, arg2) {
321+
wasm.closure844_externref_shim(arg0, arg1, arg2);
326322
}
327323

328-
function __wbg_adapter_25(arg0, arg1, arg2) {
329-
wasm.closure773_externref_shim(arg0, arg1, arg2);
324+
function __wbg_adapter_14(arg0, arg1, arg2, arg3) {
325+
wasm.closure96_externref_shim(arg0, arg1, arg2, arg3);
330326
}
331327

332-
function __wbg_adapter_28(arg0, arg1) {
328+
function __wbg_adapter_17(arg0, arg1) {
333329
wasm.wasm_bindgen__convert__closures_____invoke__h4fa5d9a2c4e1a4ed(arg0, arg1);
334330
}
335331

336-
function __wbg_adapter_31(arg0, arg1, arg2) {
337-
wasm.closure772_externref_shim(arg0, arg1, arg2);
332+
function __wbg_adapter_32(arg0, arg1, arg2) {
333+
wasm.closure769_externref_shim(arg0, arg1, arg2);
338334
}
339335

340-
function __wbg_adapter_40(arg0, arg1, arg2) {
341-
wasm.closure771_externref_shim(arg0, arg1, arg2);
336+
function __wbg_adapter_35(arg0, arg1, arg2) {
337+
wasm.closure92_externref_shim(arg0, arg1, arg2);
342338
}
343339

344-
function __wbg_adapter_45(arg0, arg1, arg2) {
345-
wasm.closure92_externref_shim(arg0, arg1, arg2);
340+
function __wbg_adapter_38(arg0, arg1, arg2) {
341+
wasm.closure770_externref_shim(arg0, arg1, arg2);
342+
}
343+
344+
function __wbg_adapter_43(arg0, arg1, arg2) {
345+
wasm.closure772_externref_shim(arg0, arg1, arg2);
346346
}
347347

348348
function __wbg_adapter_48(arg0, arg1, arg2) {
349-
wasm.closure844_externref_shim(arg0, arg1, arg2);
349+
wasm.closure771_externref_shim(arg0, arg1, arg2);
350350
}
351351

352-
function __wbg_adapter_51(arg0, arg1, arg2, arg3) {
353-
wasm.closure96_externref_shim(arg0, arg1, arg2, arg3);
352+
function __wbg_adapter_51(arg0, arg1, arg2) {
353+
wasm.closure773_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_21ec1b20268a0461 = function(arg0, arg1) {
19301930
// Cast intrinsic for `Closure(Closure { dtor_idx: 733, function: Function { arguments: [NamedExternref("Event")], shim_idx: 771, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1931-
const ret = makeMutClosure(arg0, arg1, 733, __wbg_adapter_40);
1931+
const ret = makeMutClosure(arg0, arg1, 733, __wbg_adapter_48);
19321932
return ret;
19331933
};
19341934
imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
@@ -1938,22 +1938,22 @@ function __wbg_get_imports() {
19381938
};
19391939
imports.wbg.__wbindgen_cast_475b58fc417a880a = function(arg0, arg1) {
19401940
// Cast intrinsic for `Closure(Closure { dtor_idx: 735, function: Function { arguments: [NamedExternref("KeyboardEvent")], shim_idx: 769, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1941-
const ret = makeMutClosure(arg0, arg1, 735, __wbg_adapter_20);
1941+
const ret = makeMutClosure(arg0, arg1, 735, __wbg_adapter_32);
19421942
return ret;
19431943
};
19441944
imports.wbg.__wbindgen_cast_4c785006550bb607 = function(arg0, arg1) {
19451945
// Cast intrinsic for `Closure(Closure { dtor_idx: 95, function: Function { arguments: [NamedExternref("Array<any>"), NamedExternref("ResizeObserver")], shim_idx: 96, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1946-
const ret = makeMutClosure(arg0, arg1, 95, __wbg_adapter_51);
1946+
const ret = makeMutClosure(arg0, arg1, 95, __wbg_adapter_14);
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_48);
1951+
const ret = makeMutClosure(arg0, arg1, 843, __wbg_adapter_9);
19521952
return ret;
19531953
};
19541954
imports.wbg.__wbindgen_cast_506b0fa4698cb8b2 = function(arg0, arg1) {
19551955
// Cast intrinsic for `Closure(Closure { dtor_idx: 734, function: Function { arguments: [NamedExternref("PointerEvent")], shim_idx: 772, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1956-
const ret = makeMutClosure(arg0, arg1, 734, __wbg_adapter_31);
1956+
const ret = makeMutClosure(arg0, arg1, 734, __wbg_adapter_43);
19571957
return ret;
19581958
};
19591959
imports.wbg.__wbindgen_cast_7c316abdc43840a3 = function(arg0, arg1) {
@@ -1963,17 +1963,17 @@ function __wbg_get_imports() {
19631963
};
19641964
imports.wbg.__wbindgen_cast_8272795099d4badf = function(arg0, arg1) {
19651965
// Cast intrinsic for `Closure(Closure { dtor_idx: 93, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 94, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1966-
const ret = makeMutClosure(arg0, arg1, 93, __wbg_adapter_11);
1966+
const ret = makeMutClosure(arg0, arg1, 93, __wbg_adapter_6);
19671967
return ret;
19681968
};
19691969
imports.wbg.__wbindgen_cast_85919dcafd8d9c79 = function(arg0, arg1) {
19701970
// Cast intrinsic for `Closure(Closure { dtor_idx: 738, function: Function { arguments: [NamedExternref("WheelEvent")], shim_idx: 770, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1971-
const ret = makeMutClosure(arg0, arg1, 738, __wbg_adapter_8);
1971+
const ret = makeMutClosure(arg0, arg1, 738, __wbg_adapter_38);
19721972
return ret;
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_28);
1976+
const ret = makeMutClosure(arg0, arg1, 737, __wbg_adapter_17);
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_98fbf23e8ebae120 = function(arg0, arg1) {
19851985
// Cast intrinsic for `Closure(Closure { dtor_idx: 736, function: Function { arguments: [NamedExternref("PageTransitionEvent")], shim_idx: 773, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1986-
const ret = makeMutClosure(arg0, arg1, 736, __wbg_adapter_25);
1986+
const ret = makeMutClosure(arg0, arg1, 736, __wbg_adapter_51);
19871987
return ret;
19881988
};
19891989
imports.wbg.__wbindgen_cast_bbb4883c6389f1de = function(arg0, arg1) {
@@ -2003,7 +2003,7 @@ function __wbg_get_imports() {
20032003
};
20042004
imports.wbg.__wbindgen_cast_d239e5cb56f291b6 = function(arg0, arg1) {
20052005
// Cast intrinsic for `Closure(Closure { dtor_idx: 91, function: Function { arguments: [NamedExternref("FocusEvent")], shim_idx: 92, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2006-
const ret = makeMutClosure(arg0, arg1, 91, __wbg_adapter_45);
2006+
const ret = makeMutClosure(arg0, arg1, 91, __wbg_adapter_35);
20072007
return ret;
20082008
};
20092009
imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) {

examples/webgl2_bg.wasm

0 Bytes
Binary file not shown.

examples/webgpu.js

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -244,47 +244,47 @@ function makeMutClosure(arg0, arg1, dtor, f) {
244244
return real;
245245
}
246246
function __wbg_adapter_6(arg0, arg1, arg2) {
247-
wasm.closure991_externref_shim(arg0, arg1, arg2);
247+
wasm.closure1011_externref_shim(arg0, arg1, arg2);
248248
}
249249

250250
function __wbg_adapter_9(arg0, arg1, arg2) {
251-
wasm.closure1011_externref_shim(arg0, arg1, arg2);
251+
wasm.closure750_externref_shim(arg0, arg1, arg2);
252252
}
253253

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

258258
function __wbg_adapter_15(arg0, arg1, arg2) {
259-
wasm.closure139_externref_shim(arg0, arg1, arg2);
259+
wasm.closure751_externref_shim(arg0, arg1, arg2);
260260
}
261261

262262
function __wbg_adapter_18(arg0, arg1, arg2) {
263-
wasm.closure141_externref_shim(arg0, arg1, arg2);
263+
wasm.closure139_externref_shim(arg0, arg1, arg2);
264264
}
265265

266-
function __wbg_adapter_23(arg0, arg1) {
267-
wasm.wasm_bindgen__convert__closures_____invoke__h76b6e0bbdb1c9803(arg0, arg1);
266+
function __wbg_adapter_21(arg0, arg1, arg2) {
267+
wasm.closure752_externref_shim(arg0, arg1, arg2);
268268
}
269269

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

274-
function __wbg_adapter_31(arg0, arg1, arg2) {
275-
wasm.closure753_externref_shim(arg0, arg1, arg2);
274+
function __wbg_adapter_27(arg0, arg1, arg2) {
275+
wasm.closure754_externref_shim(arg0, arg1, arg2);
276276
}
277277

278-
function __wbg_adapter_36(arg0, arg1, arg2, arg3) {
279-
wasm.closure143_externref_shim(arg0, arg1, arg2, arg3);
278+
function __wbg_adapter_30(arg0, arg1, arg2) {
279+
wasm.closure753_externref_shim(arg0, arg1, arg2);
280280
}
281281

282-
function __wbg_adapter_39(arg0, arg1, arg2) {
283-
wasm.closure754_externref_shim(arg0, arg1, arg2);
282+
function __wbg_adapter_33(arg0, arg1, arg2) {
283+
wasm.closure991_externref_shim(arg0, arg1, arg2);
284284
}
285285

286-
function __wbg_adapter_42(arg0, arg1, arg2) {
287-
wasm.closure750_externref_shim(arg0, arg1, arg2);
286+
function __wbg_adapter_42(arg0, arg1, arg2, arg3) {
287+
wasm.closure143_externref_shim(arg0, arg1, arg2, arg3);
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_18);
22352235
return ret;
22362236
};
22372237
imports.wbg.__wbindgen_cast_1acaf804ea002854 = function(arg0, arg1) {
22382238
// Cast intrinsic for `Closure(Closure { dtor_idx: 718, function: Function { arguments: [NamedExternref("PointerEvent")], shim_idx: 752, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2239-
const ret = makeMutClosure(arg0, arg1, 718, __wbg_adapter_26);
2239+
const ret = makeMutClosure(arg0, arg1, 718, __wbg_adapter_21);
22402240
return ret;
22412241
};
22422242
imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
@@ -2246,42 +2246,42 @@ function __wbg_get_imports() {
22462246
};
22472247
imports.wbg.__wbindgen_cast_2957dfb7ea7daa32 = function(arg0, arg1) {
22482248
// Cast intrinsic for `Closure(Closure { dtor_idx: 142, function: Function { arguments: [NamedExternref("Array<any>"), NamedExternref("ResizeObserver")], shim_idx: 143, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2249-
const ret = makeMutClosure(arg0, arg1, 142, __wbg_adapter_36);
2249+
const ret = makeMutClosure(arg0, arg1, 142, __wbg_adapter_42);
22502250
return ret;
22512251
};
22522252
imports.wbg.__wbindgen_cast_2b97e819b4bb7831 = function(arg0, arg1) {
22532253
// Cast intrinsic for `Closure(Closure { dtor_idx: 1010, function: Function { arguments: [Externref], shim_idx: 1011, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2254-
const ret = makeMutClosure(arg0, arg1, 1010, __wbg_adapter_9);
2254+
const ret = makeMutClosure(arg0, arg1, 1010, __wbg_adapter_6);
22552255
return ret;
22562256
};
22572257
imports.wbg.__wbindgen_cast_505a160a1e4b5c72 = function(arg0, arg1) {
22582258
// Cast intrinsic for `Closure(Closure { dtor_idx: 719, function: Function { arguments: [NamedExternref("KeyboardEvent")], shim_idx: 753, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2259-
const ret = makeMutClosure(arg0, arg1, 719, __wbg_adapter_31);
2259+
const ret = makeMutClosure(arg0, arg1, 719, __wbg_adapter_30);
22602260
return ret;
22612261
};
22622262
imports.wbg.__wbindgen_cast_735783d4a0eb2408 = function(arg0, arg1) {
22632263
// Cast intrinsic for `Closure(Closure { dtor_idx: 715, function: Function { arguments: [NamedExternref("Event")], shim_idx: 754, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2264-
const ret = makeMutClosure(arg0, arg1, 715, __wbg_adapter_39);
2264+
const ret = makeMutClosure(arg0, arg1, 715, __wbg_adapter_27);
22652265
return ret;
22662266
};
22672267
imports.wbg.__wbindgen_cast_7c893160b1e54606 = function(arg0, arg1) {
22682268
// Cast intrinsic for `Closure(Closure { dtor_idx: 974, function: Function { arguments: [NamedExternref("GPUUncapturedErrorEvent")], shim_idx: 991, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2269-
const ret = makeMutClosure(arg0, arg1, 974, __wbg_adapter_6);
2269+
const ret = makeMutClosure(arg0, arg1, 974, __wbg_adapter_33);
22702270
return ret;
22712271
};
22722272
imports.wbg.__wbindgen_cast_8fb265344c4cf93e = function(arg0, arg1) {
22732273
// Cast intrinsic for `Closure(Closure { dtor_idx: 140, function: Function { arguments: [NamedExternref("FocusEvent")], shim_idx: 141, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2274-
const ret = makeMutClosure(arg0, arg1, 140, __wbg_adapter_18);
2274+
const ret = makeMutClosure(arg0, arg1, 140, __wbg_adapter_24);
22752275
return ret;
22762276
};
22772277
imports.wbg.__wbindgen_cast_9a27123672834023 = function(arg0, arg1) {
22782278
// Cast intrinsic for `Closure(Closure { dtor_idx: 717, function: Function { arguments: [NamedExternref("PageTransitionEvent")], shim_idx: 750, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2279-
const ret = makeMutClosure(arg0, arg1, 717, __wbg_adapter_42);
2279+
const ret = makeMutClosure(arg0, arg1, 717, __wbg_adapter_9);
22802280
return ret;
22812281
};
22822282
imports.wbg.__wbindgen_cast_9b25fe4b3a299971 = function(arg0, arg1) {
22832283
// Cast intrinsic for `Closure(Closure { dtor_idx: 716, function: Function { arguments: [], shim_idx: 749, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2284-
const ret = makeMutClosure(arg0, arg1, 716, __wbg_adapter_23);
2284+
const ret = makeMutClosure(arg0, arg1, 716, __wbg_adapter_12);
22852285
return ret;
22862286
};
22872287
imports.wbg.__wbindgen_cast_cb9088102bce6b30 = function(arg0, arg1) {
@@ -2291,7 +2291,7 @@ function __wbg_get_imports() {
22912291
};
22922292
imports.wbg.__wbindgen_cast_d31f2c08a114a081 = function(arg0, arg1) {
22932293
// Cast intrinsic for `Closure(Closure { dtor_idx: 714, function: Function { arguments: [NamedExternref("WheelEvent")], shim_idx: 751, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2294-
const ret = makeMutClosure(arg0, arg1, 714, __wbg_adapter_12);
2294+
const ret = makeMutClosure(arg0, arg1, 714, __wbg_adapter_15);
22952295
return ret;
22962296
};
22972297
imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) {

examples/webgpu_bg.wasm

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)