Skip to content

Commit f295382

Browse files
committed
Deploying to master from @ gfx-rs/wgpu@0a3818a 🚀
1 parent 16bd8d2 commit f295382

File tree

4 files changed

+67
-67
lines changed

4 files changed

+67
-67
lines changed

examples/webgl2.js

Lines changed: 32 additions & 32 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__ha84fb8b7ed581c63(arg0, arg1, arg2) {
315-
wasm.wasm_bindgen__convert__closures_____invoke__ha84fb8b7ed581c63(arg0, arg1, arg2);
316-
}
317-
318-
function wasm_bindgen__convert__closures_____invoke__hb5a6c23ec69e0fa1(arg0, arg1, arg2) {
319-
wasm.wasm_bindgen__convert__closures_____invoke__hb5a6c23ec69e0fa1(arg0, arg1, arg2);
320-
}
321-
322-
function wasm_bindgen__convert__closures_____invoke__h2694bd8d7d0b9d52(arg0, arg1, arg2) {
323-
wasm.wasm_bindgen__convert__closures_____invoke__h2694bd8d7d0b9d52(arg0, arg1, arg2);
324-
}
325-
326-
function wasm_bindgen__convert__closures_____invoke__he57b4c04e00b521c(arg0, arg1, arg2) {
327-
wasm.wasm_bindgen__convert__closures_____invoke__he57b4c04e00b521c(arg0, arg1, arg2);
314+
function wasm_bindgen__convert__closures_____invoke__hc75a51d1444df4fd(arg0, arg1, arg2, arg3) {
315+
wasm.wasm_bindgen__convert__closures_____invoke__hc75a51d1444df4fd(arg0, arg1, arg2, arg3);
328316
}
329317

330-
function wasm_bindgen__convert__closures_____invoke__h3127ddf34b7e787f(arg0, arg1, arg2) {
331-
wasm.wasm_bindgen__convert__closures_____invoke__h3127ddf34b7e787f(arg0, arg1, arg2);
318+
function wasm_bindgen__convert__closures_____invoke__haf8645104312ecc3(arg0, arg1, arg2) {
319+
wasm.wasm_bindgen__convert__closures_____invoke__haf8645104312ecc3(arg0, arg1, arg2);
332320
}
333321

334322
function wasm_bindgen__convert__closures_____invoke__h510cd8bf95d07dc2(arg0, arg1, arg2) {
335323
wasm.wasm_bindgen__convert__closures_____invoke__h510cd8bf95d07dc2(arg0, arg1, arg2);
336324
}
337325

338-
function wasm_bindgen__convert__closures_____invoke__haf8645104312ecc3(arg0, arg1, arg2) {
339-
wasm.wasm_bindgen__convert__closures_____invoke__haf8645104312ecc3(arg0, arg1, arg2);
326+
function wasm_bindgen__convert__closures_____invoke__hb5a6c23ec69e0fa1(arg0, arg1, arg2) {
327+
wasm.wasm_bindgen__convert__closures_____invoke__hb5a6c23ec69e0fa1(arg0, arg1, arg2);
328+
}
329+
330+
function wasm_bindgen__convert__closures_____invoke__he57b4c04e00b521c(arg0, arg1, arg2) {
331+
wasm.wasm_bindgen__convert__closures_____invoke__he57b4c04e00b521c(arg0, arg1, arg2);
340332
}
341333

342334
function wasm_bindgen__convert__closures_____invoke__h27a0c6857b56185f(arg0, arg1) {
343335
wasm.wasm_bindgen__convert__closures_____invoke__h27a0c6857b56185f(arg0, arg1);
344336
}
345337

346-
function wasm_bindgen__convert__closures_____invoke__hc75a51d1444df4fd(arg0, arg1, arg2, arg3) {
347-
wasm.wasm_bindgen__convert__closures_____invoke__hc75a51d1444df4fd(arg0, arg1, arg2, arg3);
338+
function wasm_bindgen__convert__closures_____invoke__ha84fb8b7ed581c63(arg0, arg1, arg2) {
339+
wasm.wasm_bindgen__convert__closures_____invoke__ha84fb8b7ed581c63(arg0, arg1, arg2);
340+
}
341+
342+
function wasm_bindgen__convert__closures_____invoke__h2694bd8d7d0b9d52(arg0, arg1, arg2) {
343+
wasm.wasm_bindgen__convert__closures_____invoke__h2694bd8d7d0b9d52(arg0, arg1, arg2);
348344
}
349345

350346
function wasm_bindgen__convert__closures_____invoke__h683b5abc1cceaada(arg0, arg1, arg2) {
351347
wasm.wasm_bindgen__convert__closures_____invoke__h683b5abc1cceaada(arg0, arg1, arg2);
352348
}
353349

350+
function wasm_bindgen__convert__closures_____invoke__h3127ddf34b7e787f(arg0, arg1, arg2) {
351+
wasm.wasm_bindgen__convert__closures_____invoke__h3127ddf34b7e787f(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;
@@ -1950,6 +1950,11 @@ function __wbg_get_imports() {
19501950
const ret = getStringFromWasm0(arg0, arg1);
19511951
return ret;
19521952
};
1953+
imports.wbg.__wbindgen_cast_33e715fa98a68827 = function(arg0, arg1) {
1954+
// Cast intrinsic for `Closure(Closure { dtor_idx: 343, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 344, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1955+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h20b3be45f216728a, wasm_bindgen__convert__closures_____invoke__h2694bd8d7d0b9d52);
1956+
return ret;
1957+
};
19531958
imports.wbg.__wbindgen_cast_35764fab5bcba2ec = function(arg0, arg1) {
19541959
// Cast intrinsic for `Closure(Closure { dtor_idx: 821, function: Function { arguments: [NamedExternref("KeyboardEvent")], shim_idx: 728, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
19551960
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hb6f63f2ec7a3fc33, wasm_bindgen__convert__closures_____invoke__hb5a6c23ec69e0fa1);
@@ -1970,16 +1975,6 @@ function __wbg_get_imports() {
19701975
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hb92119648a75d2a8, wasm_bindgen__convert__closures_____invoke__he57b4c04e00b521c);
19711976
return ret;
19721977
};
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`.
1980-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h20b3be45f216728a, wasm_bindgen__convert__closures_____invoke__h2694bd8d7d0b9d52);
1981-
return ret;
1982-
};
19831978
imports.wbg.__wbindgen_cast_735924eb459caf35 = function(arg0, arg1) {
19841979
// Cast intrinsic for `Closure(Closure { dtor_idx: 825, function: Function { arguments: [NamedExternref("PageTransitionEvent")], shim_idx: 727, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
19851980
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h10a92ea2f4d1d60c, wasm_bindgen__convert__closures_____invoke__h3127ddf34b7e787f);
@@ -2000,8 +1995,13 @@ function __wbg_get_imports() {
20001995
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hbce29abe72f013d9, wasm_bindgen__convert__closures_____invoke__h27a0c6857b56185f);
20011996
return ret;
20021997
};
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`.
1998+
imports.wbg.__wbindgen_cast_af51b8893e5f8d36 = function(arg0, arg1) {
1999+
// Cast intrinsic for `Closure(Closure { dtor_idx: 347, function: Function { arguments: [NamedExternref("FocusEvent")], shim_idx: 348, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2000+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h4e62058c7ca01d32, wasm_bindgen__convert__closures_____invoke__h510cd8bf95d07dc2);
2001+
return ret;
2002+
};
2003+
imports.wbg.__wbindgen_cast_b8d25a766f6e0b54 = function(arg0, arg1) {
2004+
// Cast intrinsic for `Closure(Closure { dtor_idx: 345, function: Function { arguments: [NamedExternref("Array<any>"), NamedExternref("ResizeObserver")], shim_idx: 346, 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

840 Bytes
Binary file not shown.

examples/webgpu.js

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -241,50 +241,50 @@ function makeMutClosure(arg0, arg1, dtor, f) {
241241
CLOSURE_DTORS.register(real, state, state);
242242
return real;
243243
}
244-
function wasm_bindgen__convert__closures_____invoke__h683b5abc1cceaada(arg0, arg1, arg2) {
245-
wasm.wasm_bindgen__convert__closures_____invoke__h683b5abc1cceaada(arg0, arg1, arg2);
246-
}
247-
248-
function wasm_bindgen__convert__closures_____invoke__h247410c5488aec5b(arg0, arg1, arg2) {
249-
wasm.wasm_bindgen__convert__closures_____invoke__h247410c5488aec5b(arg0, arg1, arg2);
250-
}
251-
252-
function wasm_bindgen__convert__closures_____invoke__hbf84b18beab3e8cf(arg0, arg1, arg2) {
253-
wasm.wasm_bindgen__convert__closures_____invoke__hbf84b18beab3e8cf(arg0, arg1, arg2);
254-
}
255-
256-
function wasm_bindgen__convert__closures_____invoke__h76d37fd43a071de2(arg0, arg1, arg2) {
257-
wasm.wasm_bindgen__convert__closures_____invoke__h76d37fd43a071de2(arg0, arg1, arg2);
258-
}
259-
260244
function wasm_bindgen__convert__closures_____invoke__h88c0d286acc74222(arg0, arg1, arg2) {
261245
wasm.wasm_bindgen__convert__closures_____invoke__h88c0d286acc74222(arg0, arg1, arg2);
262246
}
263247

264-
function wasm_bindgen__convert__closures_____invoke__h6fd3f54e3c5346d6(arg0, arg1, arg2) {
265-
wasm.wasm_bindgen__convert__closures_____invoke__h6fd3f54e3c5346d6(arg0, arg1, arg2);
266-
}
267-
268248
function wasm_bindgen__convert__closures_____invoke__hb182ed550b45d29f(arg0, arg1, arg2, arg3) {
269249
wasm.wasm_bindgen__convert__closures_____invoke__hb182ed550b45d29f(arg0, arg1, arg2, arg3);
270250
}
271251

252+
function wasm_bindgen__convert__closures_____invoke__h762d0aed7f1d6aa9(arg0, arg1, arg2) {
253+
wasm.wasm_bindgen__convert__closures_____invoke__h762d0aed7f1d6aa9(arg0, arg1, arg2);
254+
}
255+
272256
function wasm_bindgen__convert__closures_____invoke__h0e01be35b0ebc1f4(arg0, arg1) {
273257
wasm.wasm_bindgen__convert__closures_____invoke__h0e01be35b0ebc1f4(arg0, arg1);
274258
}
275259

276-
function wasm_bindgen__convert__closures_____invoke__h762d0aed7f1d6aa9(arg0, arg1, arg2) {
277-
wasm.wasm_bindgen__convert__closures_____invoke__h762d0aed7f1d6aa9(arg0, arg1, arg2);
260+
function wasm_bindgen__convert__closures_____invoke__h683b5abc1cceaada(arg0, arg1, arg2) {
261+
wasm.wasm_bindgen__convert__closures_____invoke__h683b5abc1cceaada(arg0, arg1, arg2);
262+
}
263+
264+
function wasm_bindgen__convert__closures_____invoke__h76d37fd43a071de2(arg0, arg1, arg2) {
265+
wasm.wasm_bindgen__convert__closures_____invoke__h76d37fd43a071de2(arg0, arg1, arg2);
278266
}
279267

280268
function wasm_bindgen__convert__closures_____invoke__haa9804fd94512da7(arg0, arg1, arg2) {
281269
wasm.wasm_bindgen__convert__closures_____invoke__haa9804fd94512da7(arg0, arg1, arg2);
282270
}
283271

272+
function wasm_bindgen__convert__closures_____invoke__h6fd3f54e3c5346d6(arg0, arg1, arg2) {
273+
wasm.wasm_bindgen__convert__closures_____invoke__h6fd3f54e3c5346d6(arg0, arg1, arg2);
274+
}
275+
276+
function wasm_bindgen__convert__closures_____invoke__hbf84b18beab3e8cf(arg0, arg1, arg2) {
277+
wasm.wasm_bindgen__convert__closures_____invoke__hbf84b18beab3e8cf(arg0, arg1, arg2);
278+
}
279+
284280
function wasm_bindgen__convert__closures_____invoke__h9d96d4f961742adb(arg0, arg1, arg2) {
285281
wasm.wasm_bindgen__convert__closures_____invoke__h9d96d4f961742adb(arg0, arg1, arg2);
286282
}
287283

284+
function wasm_bindgen__convert__closures_____invoke__h247410c5488aec5b(arg0, arg1, arg2) {
285+
wasm.wasm_bindgen__convert__closures_____invoke__h247410c5488aec5b(arg0, arg1, arg2);
286+
}
287+
288288
function wasm_bindgen__convert__closures_____invoke__h9caeef9660fec018(arg0, arg1) {
289289
const ret = wasm.wasm_bindgen__convert__closures_____invoke__h9caeef9660fec018(arg0, arg1);
290290
return ret !== 0;
@@ -2251,9 +2251,9 @@ 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);
2254+
imports.wbg.__wbindgen_cast_1850d799a55cfa03 = function(arg0, arg1) {
2255+
// Cast intrinsic for `Closure(Closure { dtor_idx: 404, function: Function { arguments: [NamedExternref("FocusEvent")], shim_idx: 405, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2256+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h8cf0771ae8982ce2, wasm_bindgen__convert__closures_____invoke__h247410c5488aec5b);
22572257
return ret;
22582258
};
22592259
imports.wbg.__wbindgen_cast_1960df9d0b254aa3 = function(arg0, arg1) {
@@ -2266,16 +2266,16 @@ function __wbg_get_imports() {
22662266
const ret = getStringFromWasm0(arg0, arg1);
22672267
return ret;
22682268
};
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-
};
22742269
imports.wbg.__wbindgen_cast_2f2e576aeb6c434e = function(arg0, arg1) {
22752270
// 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`.
22762271
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h97326d85928cc485, wasm_bindgen__convert__closures_____invoke__h9d96d4f961742adb);
22772272
return ret;
22782273
};
2274+
imports.wbg.__wbindgen_cast_30163bc8ba70b00c = function(arg0, arg1) {
2275+
// Cast intrinsic for `Closure(Closure { dtor_idx: 402, function: Function { arguments: [NamedExternref("Array<any>"), NamedExternref("ResizeObserver")], shim_idx: 403, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2276+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hb5a7b1dcc6d4936a, wasm_bindgen__convert__closures_____invoke__hb182ed550b45d29f);
2277+
return ret;
2278+
};
22792279
imports.wbg.__wbindgen_cast_4e21f9c8d3a4e852 = function(arg0, arg1) {
22802280
// Cast intrinsic for `Closure(Closure { dtor_idx: 803, function: Function { arguments: [NamedExternref("PageTransitionEvent")], shim_idx: 709, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
22812281
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hcac721ae1872077d, wasm_bindgen__convert__closures_____invoke__h76d37fd43a071de2);
@@ -2296,16 +2296,16 @@ function __wbg_get_imports() {
22962296
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h3147af46aad0ef6b, wasm_bindgen__convert__closures_____invoke__h683b5abc1cceaada);
22972297
return ret;
22982298
};
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);
2302-
return ret;
2303-
};
23042299
imports.wbg.__wbindgen_cast_bb1e737bb8b6eed5 = function(arg0, arg1) {
23052300
// Cast intrinsic for `Closure(Closure { dtor_idx: 804, function: Function { arguments: [], shim_idx: 705, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
23062301
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h98a9929ac0d079e9, wasm_bindgen__convert__closures_____invoke__h0e01be35b0ebc1f4);
23072302
return ret;
23082303
};
2304+
imports.wbg.__wbindgen_cast_c2a37649911474ea = function(arg0, arg1) {
2305+
// Cast intrinsic for `Closure(Closure { dtor_idx: 400, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 401, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2306+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hee5fa19597702f8a, wasm_bindgen__convert__closures_____invoke__h88c0d286acc74222);
2307+
return ret;
2308+
};
23092309
imports.wbg.__wbindgen_cast_cb9088102bce6b30 = function(arg0, arg1) {
23102310
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
23112311
const ret = getArrayU8FromWasm0(arg0, arg1);

examples/webgpu_bg.wasm

810 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)