Skip to content

Commit 4d8684d

Browse files
committed
Deploying to master from @ gfx-rs/wgpu@98c3458 🚀
1 parent 686047e commit 4d8684d

File tree

4 files changed

+53
-53
lines changed

4 files changed

+53
-53
lines changed

examples/webgl2.js

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -313,12 +313,12 @@ 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, arg3) {
317-
wasm.closure51_externref_shim(arg0, arg1, arg2, arg3);
316+
function __wbg_adapter_8(arg0, arg1, arg2) {
317+
wasm.closure49_externref_shim(arg0, arg1, arg2);
318318
}
319319

320-
function __wbg_adapter_15(arg0, arg1, arg2) {
321-
wasm.closure773_externref_shim(arg0, arg1, arg2);
320+
function __wbg_adapter_15(arg0, arg1, arg2, arg3) {
321+
wasm.closure51_externref_shim(arg0, arg1, arg2, arg3);
322322
}
323323

324324
function __wbg_adapter_18(arg0, arg1) {
@@ -329,28 +329,28 @@ function __wbg_adapter_21(arg0, arg1, arg2) {
329329
wasm.closure845_externref_shim(arg0, arg1, arg2);
330330
}
331331

332-
function __wbg_adapter_24(arg0, arg1, arg2) {
333-
wasm.closure772_externref_shim(arg0, arg1, arg2);
334-
}
335-
336-
function __wbg_adapter_27(arg0, arg1, arg2) {
332+
function __wbg_adapter_26(arg0, arg1, arg2) {
337333
wasm.closure774_externref_shim(arg0, arg1, arg2);
338334
}
339335

340-
function __wbg_adapter_30(arg0, arg1, arg2) {
336+
function __wbg_adapter_31(arg0, arg1, arg2) {
341337
wasm.closure53_externref_shim(arg0, arg1, arg2);
342338
}
343339

344-
function __wbg_adapter_33(arg0, arg1, arg2) {
340+
function __wbg_adapter_36(arg0, arg1, arg2) {
341+
wasm.closure771_externref_shim(arg0, arg1, arg2);
342+
}
343+
344+
function __wbg_adapter_43(arg0, arg1, arg2) {
345345
wasm.closure770_externref_shim(arg0, arg1, arg2);
346346
}
347347

348-
function __wbg_adapter_40(arg0, arg1, arg2) {
349-
wasm.closure771_externref_shim(arg0, arg1, arg2);
348+
function __wbg_adapter_46(arg0, arg1, arg2) {
349+
wasm.closure772_externref_shim(arg0, arg1, arg2);
350350
}
351351

352-
function __wbg_adapter_47(arg0, arg1, arg2) {
353-
wasm.closure49_externref_shim(arg0, arg1, arg2);
352+
function __wbg_adapter_49(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"];
@@ -1938,7 +1938,7 @@ 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_24);
1941+
const ret = makeMutClosure(arg0, arg1, 736, __wbg_adapter_46);
19421942
return ret;
19431943
};
19441944
imports.wbg.__wbindgen_cast_70e25009561e94df = function(arg0, arg1) {
@@ -1948,7 +1948,7 @@ function __wbg_get_imports() {
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_47);
1951+
const ret = makeMutClosure(arg0, arg1, 48, __wbg_adapter_8);
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_40);
1961+
const ret = makeMutClosure(arg0, arg1, 734, __wbg_adapter_36);
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_8);
1971+
const ret = makeMutClosure(arg0, arg1, 50, __wbg_adapter_15);
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_30);
1996+
const ret = makeMutClosure(arg0, arg1, 52, __wbg_adapter_31);
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_27);
2006+
const ret = makeMutClosure(arg0, arg1, 739, __wbg_adapter_26);
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_15);
2011+
const ret = makeMutClosure(arg0, arg1, 737, __wbg_adapter_49);
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_33);
2021+
const ret = makeMutClosure(arg0, arg1, 735, __wbg_adapter_43);
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: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -244,49 +244,49 @@ function makeMutClosure(arg0, arg1, dtor, f) {
244244
return real;
245245
}
246246
function __wbg_adapter_6(arg0, arg1, arg2) {
247-
wasm.closure1011_externref_shim(arg0, arg1, arg2);
247+
wasm.closure143_externref_shim(arg0, arg1, arg2);
248248
}
249249

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

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

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

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

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

270-
function __wbg_adapter_30(arg0, arg1, arg2) {
270+
function __wbg_adapter_26(arg0, arg1) {
271+
wasm.wasm_bindgen__convert__closures_____invoke__h55585bb753588d83(arg0, arg1);
272+
}
273+
274+
function __wbg_adapter_29(arg0, arg1, arg2) {
271275
wasm.closure752_externref_shim(arg0, arg1, arg2);
272276
}
273277

274-
function __wbg_adapter_33(arg0, arg1, arg2) {
278+
function __wbg_adapter_32(arg0, arg1, arg2) {
275279
wasm.closure753_externref_shim(arg0, arg1, arg2);
276280
}
277281

278-
function __wbg_adapter_36(arg0, arg1) {
279-
wasm.wasm_bindgen__convert__closures_____invoke__h55585bb753588d83(arg0, arg1);
282+
function __wbg_adapter_35(arg0, arg1, arg2) {
283+
wasm.closure994_externref_shim(arg0, arg1, arg2);
280284
}
281285

282-
function __wbg_adapter_39(arg0, arg1, arg2, arg3) {
286+
function __wbg_adapter_42(arg0, arg1, arg2, arg3) {
283287
wasm.closure141_externref_shim(arg0, arg1, arg2, arg3);
284288
}
285289

286-
function __wbg_adapter_42(arg0, arg1, arg2) {
287-
wasm.closure750_externref_shim(arg0, arg1, arg2);
288-
}
289-
290290
const __wbindgen_enum_GpuAddressMode = ["clamp-to-edge", "repeat", "mirror-repeat"];
291291

292292
const __wbindgen_enum_GpuBlendFactor = ["zero", "one", "src", "one-minus-src", "src-alpha", "one-minus-src-alpha", "dst", "one-minus-dst", "dst-alpha", "one-minus-dst-alpha", "src-alpha-saturated", "constant", "one-minus-constant", "src1", "one-minus-src1", "src1-alpha", "one-minus-src1-alpha"];
@@ -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_17);
2234+
const ret = makeMutClosure(arg0, arg1, 138, __wbg_adapter_9);
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_11);
2239+
const ret = makeMutClosure(arg0, arg1, 142, __wbg_adapter_6);
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_6);
2249+
const ret = makeMutClosure(arg0, arg1, 1010, __wbg_adapter_18);
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_39);
2254+
const ret = makeMutClosure(arg0, arg1, 140, __wbg_adapter_42);
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_33);
2259+
const ret = makeMutClosure(arg0, arg1, 716, __wbg_adapter_32);
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_27);
2264+
const ret = makeMutClosure(arg0, arg1, 718, __wbg_adapter_23);
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_24);
2279+
const ret = makeMutClosure(arg0, arg1, 993, __wbg_adapter_35);
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_36);
2284+
const ret = makeMutClosure(arg0, arg1, 719, __wbg_adapter_26);
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_14);
2289+
const ret = makeMutClosure(arg0, arg1, 720, __wbg_adapter_15);
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_30);
2294+
const ret = makeMutClosure(arg0, arg1, 717, __wbg_adapter_29);
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_42);
2299+
const ret = makeMutClosure(arg0, arg1, 721, __wbg_adapter_12);
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)