Skip to content

Commit 955c046

Browse files
committed
Deploying to master from @ gfx-rs/wgpu@0290f08 🚀
1 parent 4201247 commit 955c046

File tree

4 files changed

+58
-58
lines changed

4 files changed

+58
-58
lines changed

examples/webgl2.js

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -311,46 +311,46 @@ function getArrayI8FromWasm0(ptr, len) {
311311
ptr = ptr >>> 0;
312312
return getInt8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
313313
}
314-
function wasm_bindgen__convert__closures_____invoke__h510cd8bf95d07dc2(arg0, arg1, arg2) {
315-
wasm.wasm_bindgen__convert__closures_____invoke__h510cd8bf95d07dc2(arg0, arg1, arg2);
316-
}
317-
318314
function wasm_bindgen__convert__closures_____invoke__ha84fb8b7ed581c63(arg0, arg1, arg2) {
319315
wasm.wasm_bindgen__convert__closures_____invoke__ha84fb8b7ed581c63(arg0, arg1, arg2);
320316
}
321317

322-
function wasm_bindgen__convert__closures_____invoke__h3127ddf34b7e787f(arg0, arg1, arg2) {
323-
wasm.wasm_bindgen__convert__closures_____invoke__h3127ddf34b7e787f(arg0, arg1, arg2);
324-
}
325-
326-
function wasm_bindgen__convert__closures_____invoke__h27a0c6857b56185f(arg0, arg1) {
327-
wasm.wasm_bindgen__convert__closures_____invoke__h27a0c6857b56185f(arg0, arg1);
318+
function wasm_bindgen__convert__closures_____invoke__hb5a6c23ec69e0fa1(arg0, arg1, arg2) {
319+
wasm.wasm_bindgen__convert__closures_____invoke__hb5a6c23ec69e0fa1(arg0, arg1, arg2);
328320
}
329321

330322
function wasm_bindgen__convert__closures_____invoke__h2694bd8d7d0b9d52(arg0, arg1, arg2) {
331323
wasm.wasm_bindgen__convert__closures_____invoke__h2694bd8d7d0b9d52(arg0, arg1, arg2);
332324
}
333325

334-
function wasm_bindgen__convert__closures_____invoke__hb5a6c23ec69e0fa1(arg0, arg1, arg2) {
335-
wasm.wasm_bindgen__convert__closures_____invoke__hb5a6c23ec69e0fa1(arg0, arg1, arg2);
326+
function wasm_bindgen__convert__closures_____invoke__he57b4c04e00b521c(arg0, arg1, arg2) {
327+
wasm.wasm_bindgen__convert__closures_____invoke__he57b4c04e00b521c(arg0, arg1, arg2);
336328
}
337329

338-
function wasm_bindgen__convert__closures_____invoke__h683b5abc1cceaada(arg0, arg1, arg2) {
339-
wasm.wasm_bindgen__convert__closures_____invoke__h683b5abc1cceaada(arg0, arg1, arg2);
330+
function wasm_bindgen__convert__closures_____invoke__h3127ddf34b7e787f(arg0, arg1, arg2) {
331+
wasm.wasm_bindgen__convert__closures_____invoke__h3127ddf34b7e787f(arg0, arg1, arg2);
340332
}
341333

342-
function wasm_bindgen__convert__closures_____invoke__he57b4c04e00b521c(arg0, arg1, arg2) {
343-
wasm.wasm_bindgen__convert__closures_____invoke__he57b4c04e00b521c(arg0, arg1, arg2);
334+
function wasm_bindgen__convert__closures_____invoke__h510cd8bf95d07dc2(arg0, arg1, arg2) {
335+
wasm.wasm_bindgen__convert__closures_____invoke__h510cd8bf95d07dc2(arg0, arg1, arg2);
344336
}
345337

346338
function wasm_bindgen__convert__closures_____invoke__haf8645104312ecc3(arg0, arg1, arg2) {
347339
wasm.wasm_bindgen__convert__closures_____invoke__haf8645104312ecc3(arg0, arg1, arg2);
348340
}
349341

342+
function wasm_bindgen__convert__closures_____invoke__h27a0c6857b56185f(arg0, arg1) {
343+
wasm.wasm_bindgen__convert__closures_____invoke__h27a0c6857b56185f(arg0, arg1);
344+
}
345+
350346
function wasm_bindgen__convert__closures_____invoke__hc75a51d1444df4fd(arg0, arg1, arg2, arg3) {
351347
wasm.wasm_bindgen__convert__closures_____invoke__hc75a51d1444df4fd(arg0, arg1, arg2, arg3);
352348
}
353349

350+
function wasm_bindgen__convert__closures_____invoke__h683b5abc1cceaada(arg0, arg1, arg2) {
351+
wasm.wasm_bindgen__convert__closures_____invoke__h683b5abc1cceaada(arg0, arg1, arg2);
352+
}
353+
354354
function wasm_bindgen__convert__closures_____invoke__h9caeef9660fec018(arg0, arg1) {
355355
const ret = wasm.wasm_bindgen__convert__closures_____invoke__h9caeef9660fec018(arg0, arg1);
356356
return ret !== 0;
@@ -1955,11 +1955,6 @@ function __wbg_get_imports() {
19551955
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hb6f63f2ec7a3fc33, wasm_bindgen__convert__closures_____invoke__hb5a6c23ec69e0fa1);
19561956
return ret;
19571957
};
1958-
imports.wbg.__wbindgen_cast_367dda96c718b7a6 = function(arg0, arg1) {
1959-
// Cast intrinsic for `Closure(Closure { dtor_idx: 369, function: Function { arguments: [NamedExternref("FocusEvent")], shim_idx: 370, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1960-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h4e62058c7ca01d32, wasm_bindgen__convert__closures_____invoke__h510cd8bf95d07dc2);
1961-
return ret;
1962-
};
19631958
imports.wbg.__wbindgen_cast_3e061f8544284017 = function(arg0, arg1) {
19641959
// Cast intrinsic for `Closure(Closure { dtor_idx: 824, function: Function { arguments: [NamedExternref("PointerEvent")], shim_idx: 726, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
19651960
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hfd867096c1aab94a, wasm_bindgen__convert__closures_____invoke__ha84fb8b7ed581c63);
@@ -1975,8 +1970,13 @@ function __wbg_get_imports() {
19751970
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hb92119648a75d2a8, wasm_bindgen__convert__closures_____invoke__he57b4c04e00b521c);
19761971
return ret;
19771972
};
1978-
imports.wbg.__wbindgen_cast_64feea9ad537dabe = function(arg0, arg1) {
1979-
// Cast intrinsic for `Closure(Closure { dtor_idx: 365, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 366, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1973+
imports.wbg.__wbindgen_cast_50e9bc745091bf60 = function(arg0, arg1) {
1974+
// Cast intrinsic for `Closure(Closure { dtor_idx: 513, function: Function { arguments: [NamedExternref("FocusEvent")], shim_idx: 514, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1975+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h4e62058c7ca01d32, wasm_bindgen__convert__closures_____invoke__h510cd8bf95d07dc2);
1976+
return ret;
1977+
};
1978+
imports.wbg.__wbindgen_cast_69d3c54dc4c295ec = function(arg0, arg1) {
1979+
// Cast intrinsic for `Closure(Closure { dtor_idx: 509, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 510, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
19801980
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h20b3be45f216728a, wasm_bindgen__convert__closures_____invoke__h2694bd8d7d0b9d52);
19811981
return ret;
19821982
};
@@ -2000,8 +2000,8 @@ function __wbg_get_imports() {
20002000
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hbce29abe72f013d9, wasm_bindgen__convert__closures_____invoke__h27a0c6857b56185f);
20012001
return ret;
20022002
};
2003-
imports.wbg.__wbindgen_cast_a59a272d20a22ee6 = function(arg0, arg1) {
2004-
// Cast intrinsic for `Closure(Closure { dtor_idx: 367, function: Function { arguments: [NamedExternref("Array<any>"), NamedExternref("ResizeObserver")], shim_idx: 368, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2003+
imports.wbg.__wbindgen_cast_a18c35051afc603b = function(arg0, arg1) {
2004+
// Cast intrinsic for `Closure(Closure { dtor_idx: 511, function: Function { arguments: [NamedExternref("Array<any>"), NamedExternref("ResizeObserver")], shim_idx: 512, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
20052005
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h2f380f9e7dd477e4, wasm_bindgen__convert__closures_____invoke__hc75a51d1444df4fd);
20062006
return ret;
20072007
};

examples/webgl2_bg.wasm

112 Bytes
Binary file not shown.

examples/webgpu.js

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -241,48 +241,48 @@ function makeMutClosure(arg0, arg1, dtor, f) {
241241
CLOSURE_DTORS.register(real, state, state);
242242
return real;
243243
}
244-
function wasm_bindgen__convert__closures_____invoke__h247410c5488aec5b(arg0, arg1, arg2) {
245-
wasm.wasm_bindgen__convert__closures_____invoke__h247410c5488aec5b(arg0, arg1, arg2);
244+
function wasm_bindgen__convert__closures_____invoke__h683b5abc1cceaada(arg0, arg1, arg2) {
245+
wasm.wasm_bindgen__convert__closures_____invoke__h683b5abc1cceaada(arg0, arg1, arg2);
246246
}
247247

248-
function wasm_bindgen__convert__closures_____invoke__hb182ed550b45d29f(arg0, arg1, arg2, arg3) {
249-
wasm.wasm_bindgen__convert__closures_____invoke__hb182ed550b45d29f(arg0, arg1, arg2, arg3);
248+
function wasm_bindgen__convert__closures_____invoke__h247410c5488aec5b(arg0, arg1, arg2) {
249+
wasm.wasm_bindgen__convert__closures_____invoke__h247410c5488aec5b(arg0, arg1, arg2);
250250
}
251251

252-
function wasm_bindgen__convert__closures_____invoke__h0e01be35b0ebc1f4(arg0, arg1) {
253-
wasm.wasm_bindgen__convert__closures_____invoke__h0e01be35b0ebc1f4(arg0, arg1);
252+
function wasm_bindgen__convert__closures_____invoke__hbf84b18beab3e8cf(arg0, arg1, arg2) {
253+
wasm.wasm_bindgen__convert__closures_____invoke__hbf84b18beab3e8cf(arg0, arg1, arg2);
254254
}
255255

256256
function wasm_bindgen__convert__closures_____invoke__h76d37fd43a071de2(arg0, arg1, arg2) {
257257
wasm.wasm_bindgen__convert__closures_____invoke__h76d37fd43a071de2(arg0, arg1, arg2);
258258
}
259259

260-
function wasm_bindgen__convert__closures_____invoke__haa9804fd94512da7(arg0, arg1, arg2) {
261-
wasm.wasm_bindgen__convert__closures_____invoke__haa9804fd94512da7(arg0, arg1, arg2);
260+
function wasm_bindgen__convert__closures_____invoke__h88c0d286acc74222(arg0, arg1, arg2) {
261+
wasm.wasm_bindgen__convert__closures_____invoke__h88c0d286acc74222(arg0, arg1, arg2);
262262
}
263263

264-
function wasm_bindgen__convert__closures_____invoke__h762d0aed7f1d6aa9(arg0, arg1, arg2) {
265-
wasm.wasm_bindgen__convert__closures_____invoke__h762d0aed7f1d6aa9(arg0, arg1, arg2);
264+
function wasm_bindgen__convert__closures_____invoke__h6fd3f54e3c5346d6(arg0, arg1, arg2) {
265+
wasm.wasm_bindgen__convert__closures_____invoke__h6fd3f54e3c5346d6(arg0, arg1, arg2);
266266
}
267267

268-
function wasm_bindgen__convert__closures_____invoke__hbf84b18beab3e8cf(arg0, arg1, arg2) {
269-
wasm.wasm_bindgen__convert__closures_____invoke__hbf84b18beab3e8cf(arg0, arg1, arg2);
268+
function wasm_bindgen__convert__closures_____invoke__hb182ed550b45d29f(arg0, arg1, arg2, arg3) {
269+
wasm.wasm_bindgen__convert__closures_____invoke__hb182ed550b45d29f(arg0, arg1, arg2, arg3);
270270
}
271271

272-
function wasm_bindgen__convert__closures_____invoke__h683b5abc1cceaada(arg0, arg1, arg2) {
273-
wasm.wasm_bindgen__convert__closures_____invoke__h683b5abc1cceaada(arg0, arg1, arg2);
272+
function wasm_bindgen__convert__closures_____invoke__h0e01be35b0ebc1f4(arg0, arg1) {
273+
wasm.wasm_bindgen__convert__closures_____invoke__h0e01be35b0ebc1f4(arg0, arg1);
274274
}
275275

276-
function wasm_bindgen__convert__closures_____invoke__h9d96d4f961742adb(arg0, arg1, arg2) {
277-
wasm.wasm_bindgen__convert__closures_____invoke__h9d96d4f961742adb(arg0, arg1, arg2);
276+
function wasm_bindgen__convert__closures_____invoke__h762d0aed7f1d6aa9(arg0, arg1, arg2) {
277+
wasm.wasm_bindgen__convert__closures_____invoke__h762d0aed7f1d6aa9(arg0, arg1, arg2);
278278
}
279279

280-
function wasm_bindgen__convert__closures_____invoke__h88c0d286acc74222(arg0, arg1, arg2) {
281-
wasm.wasm_bindgen__convert__closures_____invoke__h88c0d286acc74222(arg0, arg1, arg2);
280+
function wasm_bindgen__convert__closures_____invoke__haa9804fd94512da7(arg0, arg1, arg2) {
281+
wasm.wasm_bindgen__convert__closures_____invoke__haa9804fd94512da7(arg0, arg1, arg2);
282282
}
283283

284-
function wasm_bindgen__convert__closures_____invoke__h6fd3f54e3c5346d6(arg0, arg1, arg2) {
285-
wasm.wasm_bindgen__convert__closures_____invoke__h6fd3f54e3c5346d6(arg0, arg1, arg2);
284+
function wasm_bindgen__convert__closures_____invoke__h9d96d4f961742adb(arg0, arg1, arg2) {
285+
wasm.wasm_bindgen__convert__closures_____invoke__h9d96d4f961742adb(arg0, arg1, arg2);
286286
}
287287

288288
function wasm_bindgen__convert__closures_____invoke__h9caeef9660fec018(arg0, arg1) {
@@ -2251,6 +2251,11 @@ function __wbg_get_imports() {
22512251
imports.wbg.__wbg_writeTexture_fdedbdf9c4fe0925 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
22522252
arg0.writeTexture(arg1, arg2, arg3, arg4);
22532253
}, arguments) };
2254+
imports.wbg.__wbindgen_cast_0dfa76f82baa51a8 = function(arg0, arg1) {
2255+
// Cast intrinsic for `Closure(Closure { dtor_idx: 543, function: Function { arguments: [NamedExternref("Array<any>"), NamedExternref("ResizeObserver")], shim_idx: 544, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2256+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hb5a7b1dcc6d4936a, wasm_bindgen__convert__closures_____invoke__hb182ed550b45d29f);
2257+
return ret;
2258+
};
22542259
imports.wbg.__wbindgen_cast_1960df9d0b254aa3 = function(arg0, arg1) {
22552260
// Cast intrinsic for `Closure(Closure { dtor_idx: 805, function: Function { arguments: [NamedExternref("WheelEvent")], shim_idx: 706, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
22562261
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h0b40eac7f24feb11, wasm_bindgen__convert__closures_____invoke__h762d0aed7f1d6aa9);
@@ -2261,6 +2266,11 @@ function __wbg_get_imports() {
22612266
const ret = getStringFromWasm0(arg0, arg1);
22622267
return ret;
22632268
};
2269+
imports.wbg.__wbindgen_cast_2ecf440e8f810232 = function(arg0, arg1) {
2270+
// Cast intrinsic for `Closure(Closure { dtor_idx: 541, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 542, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2271+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hee5fa19597702f8a, wasm_bindgen__convert__closures_____invoke__h88c0d286acc74222);
2272+
return ret;
2273+
};
22642274
imports.wbg.__wbindgen_cast_2f2e576aeb6c434e = function(arg0, arg1) {
22652275
// Cast intrinsic for `Closure(Closure { dtor_idx: 801, function: Function { arguments: [NamedExternref("Event")], shim_idx: 710, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
22662276
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h97326d85928cc485, wasm_bindgen__convert__closures_____invoke__h9d96d4f961742adb);
@@ -2271,11 +2281,6 @@ function __wbg_get_imports() {
22712281
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hcac721ae1872077d, wasm_bindgen__convert__closures_____invoke__h76d37fd43a071de2);
22722282
return ret;
22732283
};
2274-
imports.wbg.__wbindgen_cast_60c3d5f3252126dc = function(arg0, arg1) {
2275-
// Cast intrinsic for `Closure(Closure { dtor_idx: 578, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 579, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2276-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hee5fa19597702f8a, wasm_bindgen__convert__closures_____invoke__h88c0d286acc74222);
2277-
return ret;
2278-
};
22792284
imports.wbg.__wbindgen_cast_7f6a27f8e2550bea = function(arg0, arg1) {
22802285
// Cast intrinsic for `Closure(Closure { dtor_idx: 802, function: Function { arguments: [NamedExternref("KeyboardEvent")], shim_idx: 708, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
22812286
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hd25559916dd5adff, wasm_bindgen__convert__closures_____invoke__haa9804fd94512da7);
@@ -2291,9 +2296,9 @@ function __wbg_get_imports() {
22912296
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h3147af46aad0ef6b, wasm_bindgen__convert__closures_____invoke__h683b5abc1cceaada);
22922297
return ret;
22932298
};
2294-
imports.wbg.__wbindgen_cast_a86224be6ab061b2 = function(arg0, arg1) {
2295-
// Cast intrinsic for `Closure(Closure { dtor_idx: 580, function: Function { arguments: [NamedExternref("Array<any>"), NamedExternref("ResizeObserver")], shim_idx: 581, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2296-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hb5a7b1dcc6d4936a, wasm_bindgen__convert__closures_____invoke__hb182ed550b45d29f);
2299+
imports.wbg.__wbindgen_cast_9f4c1a4b29861014 = function(arg0, arg1) {
2300+
// Cast intrinsic for `Closure(Closure { dtor_idx: 545, function: Function { arguments: [NamedExternref("FocusEvent")], shim_idx: 546, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2301+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h8cf0771ae8982ce2, wasm_bindgen__convert__closures_____invoke__h247410c5488aec5b);
22972302
return ret;
22982303
};
22992304
imports.wbg.__wbindgen_cast_bb1e737bb8b6eed5 = function(arg0, arg1) {
@@ -2316,11 +2321,6 @@ function __wbg_get_imports() {
23162321
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h492f36263463d95e, wasm_bindgen__convert__closures_____invoke__hbf84b18beab3e8cf);
23172322
return ret;
23182323
};
2319-
imports.wbg.__wbindgen_cast_f01b8abe683d457b = function(arg0, arg1) {
2320-
// Cast intrinsic for `Closure(Closure { dtor_idx: 582, function: Function { arguments: [NamedExternref("FocusEvent")], shim_idx: 583, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2321-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h8cf0771ae8982ce2, wasm_bindgen__convert__closures_____invoke__h247410c5488aec5b);
2322-
return ret;
2323-
};
23242324
imports.wbg.__wbindgen_init_externref_table = function() {
23252325
const table = wasm.__wbindgen_externrefs;
23262326
const offset = table.grow(4);

examples/webgpu_bg.wasm

82 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)