Skip to content

Commit 6223ab8

Browse files
committed
Deploying to master from @ gfx-rs/wgpu@d0cf78c 🚀
1 parent 29171fb commit 6223ab8

File tree

4 files changed

+61
-61
lines changed

4 files changed

+61
-61
lines changed

examples/webgl2.js

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,10 @@ 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__hcc6c6c21ed088b5c(arg0, arg1, arg2) {
315+
wasm.wasm_bindgen__convert__closures_____invoke__hcc6c6c21ed088b5c(arg0, arg1, arg2);
316+
}
317+
314318
function wasm_bindgen__convert__closures_____invoke__h28ea2c0f2730ad2c(arg0, arg1, arg2) {
315319
wasm.wasm_bindgen__convert__closures_____invoke__h28ea2c0f2730ad2c(arg0, arg1, arg2);
316320
}
@@ -319,38 +323,34 @@ function wasm_bindgen__convert__closures_____invoke__hfb228d80603c6831(arg0, arg
319323
wasm.wasm_bindgen__convert__closures_____invoke__hfb228d80603c6831(arg0, arg1, arg2);
320324
}
321325

322-
function wasm_bindgen__convert__closures_____invoke__hb2e64b0ae551d430(arg0, arg1, arg2) {
323-
wasm.wasm_bindgen__convert__closures_____invoke__hb2e64b0ae551d430(arg0, arg1, arg2);
324-
}
325-
326-
function wasm_bindgen__convert__closures_____invoke__hcc6c6c21ed088b5c(arg0, arg1, arg2) {
327-
wasm.wasm_bindgen__convert__closures_____invoke__hcc6c6c21ed088b5c(arg0, arg1, arg2);
328-
}
329-
330-
function wasm_bindgen__convert__closures_____invoke__hafaa23dadfe4feb9(arg0, arg1, arg2) {
331-
wasm.wasm_bindgen__convert__closures_____invoke__hafaa23dadfe4feb9(arg0, arg1, arg2);
332-
}
333-
334326
function wasm_bindgen__convert__closures_____invoke__hc680163ea0e32ff6(arg0, arg1, arg2) {
335327
wasm.wasm_bindgen__convert__closures_____invoke__hc680163ea0e32ff6(arg0, arg1, arg2);
336328
}
337329

338-
function wasm_bindgen__convert__closures_____invoke__hfd28620234d64e40(arg0, arg1, arg2) {
339-
wasm.wasm_bindgen__convert__closures_____invoke__hfd28620234d64e40(arg0, arg1, arg2);
340-
}
341-
342330
function wasm_bindgen__convert__closures_____invoke__h6804af94eb7c5bbd(arg0, arg1) {
343331
wasm.wasm_bindgen__convert__closures_____invoke__h6804af94eb7c5bbd(arg0, arg1);
344332
}
345333

346-
function wasm_bindgen__convert__closures_____invoke__h7b1f6f12a623eb9d(arg0, arg1, arg2) {
347-
wasm.wasm_bindgen__convert__closures_____invoke__h7b1f6f12a623eb9d(arg0, arg1, arg2);
334+
function wasm_bindgen__convert__closures_____invoke__hb2e64b0ae551d430(arg0, arg1, arg2) {
335+
wasm.wasm_bindgen__convert__closures_____invoke__hb2e64b0ae551d430(arg0, arg1, arg2);
348336
}
349337

350338
function wasm_bindgen__convert__closures_____invoke__he9fba631fad4217b(arg0, arg1, arg2, arg3) {
351339
wasm.wasm_bindgen__convert__closures_____invoke__he9fba631fad4217b(arg0, arg1, arg2, arg3);
352340
}
353341

342+
function wasm_bindgen__convert__closures_____invoke__h7b1f6f12a623eb9d(arg0, arg1, arg2) {
343+
wasm.wasm_bindgen__convert__closures_____invoke__h7b1f6f12a623eb9d(arg0, arg1, arg2);
344+
}
345+
346+
function wasm_bindgen__convert__closures_____invoke__hfd28620234d64e40(arg0, arg1, arg2) {
347+
wasm.wasm_bindgen__convert__closures_____invoke__hfd28620234d64e40(arg0, arg1, arg2);
348+
}
349+
350+
function wasm_bindgen__convert__closures_____invoke__hafaa23dadfe4feb9(arg0, arg1, arg2) {
351+
wasm.wasm_bindgen__convert__closures_____invoke__hafaa23dadfe4feb9(arg0, arg1, arg2);
352+
}
353+
354354
function wasm_bindgen__convert__closures_____invoke__h41f4ef2e109d7079(arg0, arg1) {
355355
const ret = wasm.wasm_bindgen__convert__closures_____invoke__h41f4ef2e109d7079(arg0, arg1);
356356
return ret !== 0;
@@ -1950,6 +1950,11 @@ function __wbg_get_imports() {
19501950
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hbded14ff3a0eb8c8, wasm_bindgen__convert__closures_____invoke__hfb228d80603c6831);
19511951
return ret;
19521952
};
1953+
imports.wbg.__wbindgen_cast_1b930ce217806f9d = function(arg0, arg1) {
1954+
// Cast intrinsic for `Closure(Closure { dtor_idx: 311, function: Function { arguments: [NamedExternref("Array<any>"), NamedExternref("ResizeObserver")], shim_idx: 312, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1955+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h285d76cdac851687, wasm_bindgen__convert__closures_____invoke__he9fba631fad4217b);
1956+
return ret;
1957+
};
19531958
imports.wbg.__wbindgen_cast_2140523f5944dcfa = function(arg0, arg1) {
19541959
// Cast intrinsic for `Closure(Closure { dtor_idx: 819, function: Function { arguments: [], shim_idx: 724, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
19551960
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h0e966cf6a73ddfbf, wasm_bindgen__convert__closures_____invoke__h6804af94eb7c5bbd);
@@ -1960,6 +1965,11 @@ function __wbg_get_imports() {
19601965
const ret = getStringFromWasm0(arg0, arg1);
19611966
return ret;
19621967
};
1968+
imports.wbg.__wbindgen_cast_3c8f4475976a72d9 = function(arg0, arg1) {
1969+
// Cast intrinsic for `Closure(Closure { dtor_idx: 307, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 308, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1970+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__he48f5d4102511d41, wasm_bindgen__convert__closures_____invoke__hcc6c6c21ed088b5c);
1971+
return ret;
1972+
};
19631973
imports.wbg.__wbindgen_cast_4e46f2a1376fb27f = function(arg0, arg1) {
19641974
// Cast intrinsic for `Closure(Closure { dtor_idx: 822, function: Function { arguments: [NamedExternref("Event")], shim_idx: 726, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
19651975
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hee8909169dbba34c, wasm_bindgen__convert__closures_____invoke__h28ea2c0f2730ad2c);
@@ -1970,16 +1980,16 @@ function __wbg_get_imports() {
19701980
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h0265be0077753cde, wasm_bindgen__convert__closures_____invoke__h7b1f6f12a623eb9d);
19711981
return ret;
19721982
};
1983+
imports.wbg.__wbindgen_cast_61a29dea34d5f6e5 = function(arg0, arg1) {
1984+
// Cast intrinsic for `Closure(Closure { dtor_idx: 309, function: Function { arguments: [NamedExternref("FocusEvent")], shim_idx: 310, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1985+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h7a05488ee149a8b2, wasm_bindgen__convert__closures_____invoke__hb2e64b0ae551d430);
1986+
return ret;
1987+
};
19731988
imports.wbg.__wbindgen_cast_7c316abdc43840a3 = function(arg0, arg1) {
19741989
// Cast intrinsic for `Ref(Slice(U32)) -> NamedExternref("Uint32Array")`.
19751990
const ret = getArrayU32FromWasm0(arg0, arg1);
19761991
return ret;
19771992
};
1978-
imports.wbg.__wbindgen_cast_8b38a53d956c0c81 = function(arg0, arg1) {
1979-
// Cast intrinsic for `Closure(Closure { dtor_idx: 386, function: Function { arguments: [NamedExternref("Array<any>"), NamedExternref("ResizeObserver")], shim_idx: 387, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1980-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h285d76cdac851687, wasm_bindgen__convert__closures_____invoke__he9fba631fad4217b);
1981-
return ret;
1982-
};
19831993
imports.wbg.__wbindgen_cast_9575fb55a66c262b = function(arg0, arg1) {
19841994
// Cast intrinsic for `Ref(Slice(I32)) -> NamedExternref("Int32Array")`.
19851995
const ret = getArrayI32FromWasm0(arg0, arg1);
@@ -2000,16 +2010,6 @@ function __wbg_get_imports() {
20002010
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h2e34860c67efa4a7, wasm_bindgen__convert__closures_____invoke__hc680163ea0e32ff6);
20012011
return ret;
20022012
};
2003-
imports.wbg.__wbindgen_cast_c4862c253f685653 = function(arg0, arg1) {
2004-
// Cast intrinsic for `Closure(Closure { dtor_idx: 384, function: Function { arguments: [NamedExternref("FocusEvent")], shim_idx: 385, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2005-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h7a05488ee149a8b2, wasm_bindgen__convert__closures_____invoke__hb2e64b0ae551d430);
2006-
return ret;
2007-
};
2008-
imports.wbg.__wbindgen_cast_c9d117ea9ff4067d = function(arg0, arg1) {
2009-
// Cast intrinsic for `Closure(Closure { dtor_idx: 382, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 383, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2010-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__he48f5d4102511d41, wasm_bindgen__convert__closures_____invoke__hcc6c6c21ed088b5c);
2011-
return ret;
2012-
};
20132013
imports.wbg.__wbindgen_cast_cb9088102bce6b30 = function(arg0, arg1) {
20142014
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
20152015
const ret = getArrayU8FromWasm0(arg0, arg1);

examples/webgl2_bg.wasm

2.78 KB
Binary file not shown.

examples/webgpu.js

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -241,34 +241,34 @@ function makeMutClosure(arg0, arg1, dtor, f) {
241241
CLOSURE_DTORS.register(real, state, state);
242242
return real;
243243
}
244-
function wasm_bindgen__convert__closures_____invoke__h1b060d3ff05db8eb(arg0, arg1, arg2) {
245-
wasm.wasm_bindgen__convert__closures_____invoke__h1b060d3ff05db8eb(arg0, arg1, arg2);
244+
function wasm_bindgen__convert__closures_____invoke__h0bff3140ffde8e5c(arg0, arg1, arg2) {
245+
wasm.wasm_bindgen__convert__closures_____invoke__h0bff3140ffde8e5c(arg0, arg1, arg2);
246+
}
247+
248+
function wasm_bindgen__convert__closures_____invoke__h01527cf4fef81979(arg0, arg1, arg2, arg3) {
249+
wasm.wasm_bindgen__convert__closures_____invoke__h01527cf4fef81979(arg0, arg1, arg2, arg3);
246250
}
247251

248252
function wasm_bindgen__convert__closures_____invoke__hf8690e113da0a953(arg0, arg1, arg2) {
249253
wasm.wasm_bindgen__convert__closures_____invoke__hf8690e113da0a953(arg0, arg1, arg2);
250254
}
251255

252-
function wasm_bindgen__convert__closures_____invoke__hafaa23dadfe4feb9(arg0, arg1, arg2) {
253-
wasm.wasm_bindgen__convert__closures_____invoke__hafaa23dadfe4feb9(arg0, arg1, arg2);
256+
function wasm_bindgen__convert__closures_____invoke__h659fa2d236fea163(arg0, arg1, arg2) {
257+
wasm.wasm_bindgen__convert__closures_____invoke__h659fa2d236fea163(arg0, arg1, arg2);
254258
}
255259

256-
function wasm_bindgen__convert__closures_____invoke__h7ef9a8470c6c8363(arg0, arg1, arg2) {
257-
wasm.wasm_bindgen__convert__closures_____invoke__h7ef9a8470c6c8363(arg0, arg1, arg2);
260+
function wasm_bindgen__convert__closures_____invoke__h9083cee8caee452d(arg0, arg1) {
261+
wasm.wasm_bindgen__convert__closures_____invoke__h9083cee8caee452d(arg0, arg1);
258262
}
259263

260-
function wasm_bindgen__convert__closures_____invoke__h01527cf4fef81979(arg0, arg1, arg2, arg3) {
261-
wasm.wasm_bindgen__convert__closures_____invoke__h01527cf4fef81979(arg0, arg1, arg2, arg3);
264+
function wasm_bindgen__convert__closures_____invoke__h7ef9a8470c6c8363(arg0, arg1, arg2) {
265+
wasm.wasm_bindgen__convert__closures_____invoke__h7ef9a8470c6c8363(arg0, arg1, arg2);
262266
}
263267

264268
function wasm_bindgen__convert__closures_____invoke__he181058fc7b99546(arg0, arg1, arg2) {
265269
wasm.wasm_bindgen__convert__closures_____invoke__he181058fc7b99546(arg0, arg1, arg2);
266270
}
267271

268-
function wasm_bindgen__convert__closures_____invoke__h0bff3140ffde8e5c(arg0, arg1, arg2) {
269-
wasm.wasm_bindgen__convert__closures_____invoke__h0bff3140ffde8e5c(arg0, arg1, arg2);
270-
}
271-
272272
function wasm_bindgen__convert__closures_____invoke__h2f5a6cc36f203845(arg0, arg1, arg2) {
273273
wasm.wasm_bindgen__convert__closures_____invoke__h2f5a6cc36f203845(arg0, arg1, arg2);
274274
}
@@ -277,12 +277,12 @@ function wasm_bindgen__convert__closures_____invoke__h9254d25171343015(arg0, arg
277277
wasm.wasm_bindgen__convert__closures_____invoke__h9254d25171343015(arg0, arg1, arg2);
278278
}
279279

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

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

288288
function wasm_bindgen__convert__closures_____invoke__h41f4ef2e109d7079(arg0, arg1) {
@@ -2261,13 +2261,18 @@ function __wbg_get_imports() {
22612261
const ret = getStringFromWasm0(arg0, arg1);
22622262
return ret;
22632263
};
2264+
imports.wbg.__wbindgen_cast_3c77e2c30bc8c771 = function(arg0, arg1) {
2265+
// Cast intrinsic for `Closure(Closure { dtor_idx: 559, function: Function { arguments: [NamedExternref("Array<any>"), NamedExternref("ResizeObserver")], shim_idx: 560, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2266+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hc76f6667c7da46f8, wasm_bindgen__convert__closures_____invoke__h01527cf4fef81979);
2267+
return ret;
2268+
};
22642269
imports.wbg.__wbindgen_cast_4040b2eb3ff669fa = function(arg0, arg1) {
22652270
// Cast intrinsic for `Closure(Closure { dtor_idx: 800, function: Function { arguments: [], shim_idx: 705, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
22662271
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h8563c26c948c5e82, wasm_bindgen__convert__closures_____invoke__h9083cee8caee452d);
22672272
return ret;
22682273
};
2269-
imports.wbg.__wbindgen_cast_44d1abbe5adbc24e = function(arg0, arg1) {
2270-
// Cast intrinsic for `Closure(Closure { dtor_idx: 49, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 50, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2274+
imports.wbg.__wbindgen_cast_642044f9466e5097 = function(arg0, arg1) {
2275+
// Cast intrinsic for `Closure(Closure { dtor_idx: 557, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 558, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
22712276
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h735e7e81e403f6a7, wasm_bindgen__convert__closures_____invoke__h2f5a6cc36f203845);
22722277
return ret;
22732278
};
@@ -2276,16 +2281,16 @@ function __wbg_get_imports() {
22762281
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h4021e42e6d5574a2, wasm_bindgen__convert__closures_____invoke__h0bff3140ffde8e5c);
22772282
return ret;
22782283
};
2284+
imports.wbg.__wbindgen_cast_772eec960682a2c1 = function(arg0, arg1) {
2285+
// Cast intrinsic for `Closure(Closure { dtor_idx: 561, function: Function { arguments: [NamedExternref("FocusEvent")], shim_idx: 562, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2286+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__ha5780c78ab0d57ca, wasm_bindgen__convert__closures_____invoke__hf8690e113da0a953);
2287+
return ret;
2288+
};
22792289
imports.wbg.__wbindgen_cast_7db210b8c2ec0ddf = function(arg0, arg1) {
22802290
// Cast intrinsic for `Closure(Closure { dtor_idx: 805, function: Function { arguments: [NamedExternref("KeyboardEvent")], shim_idx: 707, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
22812291
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h9c822710848dec85, wasm_bindgen__convert__closures_____invoke__he181058fc7b99546);
22822292
return ret;
22832293
};
2284-
imports.wbg.__wbindgen_cast_9e36d134daa1d33d = function(arg0, arg1) {
2285-
// Cast intrinsic for `Closure(Closure { dtor_idx: 51, function: Function { arguments: [NamedExternref("Array<any>"), NamedExternref("ResizeObserver")], shim_idx: 52, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2286-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hc76f6667c7da46f8, wasm_bindgen__convert__closures_____invoke__h01527cf4fef81979);
2287-
return ret;
2288-
};
22892294
imports.wbg.__wbindgen_cast_ab6c5d5ffd1bf724 = function(arg0, arg1) {
22902295
// Cast intrinsic for `Closure(Closure { dtor_idx: 802, function: Function { arguments: [NamedExternref("Event")], shim_idx: 710, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
22912296
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hfffabed059502b5d, wasm_bindgen__convert__closures_____invoke__h1b060d3ff05db8eb);
@@ -2311,11 +2316,6 @@ function __wbg_get_imports() {
23112316
const ret = arg0;
23122317
return ret;
23132318
};
2314-
imports.wbg.__wbindgen_cast_ea49ba157ba5efa8 = function(arg0, arg1) {
2315-
// Cast intrinsic for `Closure(Closure { dtor_idx: 53, function: Function { arguments: [NamedExternref("FocusEvent")], shim_idx: 54, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2316-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__ha5780c78ab0d57ca, wasm_bindgen__convert__closures_____invoke__hf8690e113da0a953);
2317-
return ret;
2318-
};
23192319
imports.wbg.__wbindgen_cast_f5838dcad6093fb0 = function(arg0, arg1) {
23202320
// Cast intrinsic for `Closure(Closure { dtor_idx: 1015, function: Function { arguments: [Externref], shim_idx: 1016, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
23212321
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h0cf6b75ec6f9253e, wasm_bindgen__convert__closures_____invoke__hafaa23dadfe4feb9);

examples/webgpu_bg.wasm

2.93 KB
Binary file not shown.

0 commit comments

Comments
 (0)