Skip to content

Commit 3168ba5

Browse files
committed
Deploying to master from @ gfx-rs/wgpu@482a983 🚀
1 parent 7b6e90d commit 3168ba5

File tree

4 files changed

+448
-448
lines changed

4 files changed

+448
-448
lines changed

examples/webgl2.js

Lines changed: 58 additions & 58 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.closure845_externref_shim(arg0, arg1, arg2);
316+
function __wbg_adapter_16(arg0, arg1, arg2) {
317+
wasm.closure770_externref_shim(arg0, arg1, arg2);
318318
}
319319

320-
function __wbg_adapter_17(arg0, arg1, arg2) {
321-
wasm.closure51_externref_shim(arg0, arg1, arg2);
320+
function __wbg_adapter_19(arg0, arg1, arg2) {
321+
wasm.closure771_externref_shim(arg0, arg1, arg2);
322322
}
323323

324-
function __wbg_adapter_22(arg0, arg1, arg2) {
325-
wasm.closure773_externref_shim(arg0, arg1, arg2);
324+
function __wbg_adapter_24(arg0, arg1) {
325+
wasm.wasm_bindgen__convert__closures_____invoke__h05d4bf13764f056c(arg0, arg1);
326326
}
327327

328-
function __wbg_adapter_27(arg0, arg1) {
329-
wasm.wasm_bindgen__convert__closures_____invoke__h05d4bf13764f056c(arg0, arg1);
328+
function __wbg_adapter_27(arg0, arg1, arg2) {
329+
wasm.closure769_externref_shim(arg0, arg1, arg2);
330330
}
331331

332-
function __wbg_adapter_30(arg0, arg1, arg2) {
333-
wasm.closure772_externref_shim(arg0, arg1, arg2);
332+
function __wbg_adapter_30(arg0, arg1, arg2, arg3) {
333+
wasm.closure51_externref_shim(arg0, arg1, arg2, arg3);
334334
}
335335

336-
function __wbg_adapter_39(arg0, arg1, arg2) {
337-
wasm.closure770_externref_shim(arg0, arg1, arg2);
336+
function __wbg_adapter_35(arg0, arg1, arg2) {
337+
wasm.closure773_externref_shim(arg0, arg1, arg2);
338338
}
339339

340-
function __wbg_adapter_42(arg0, arg1, arg2) {
341-
wasm.closure49_externref_shim(arg0, arg1, arg2);
340+
function __wbg_adapter_38(arg0, arg1, arg2) {
341+
wasm.closure772_externref_shim(arg0, arg1, arg2);
342342
}
343343

344-
function __wbg_adapter_45(arg0, arg1, arg2) {
345-
wasm.closure771_externref_shim(arg0, arg1, arg2);
344+
function __wbg_adapter_43(arg0, arg1, arg2) {
345+
wasm.closure53_externref_shim(arg0, arg1, arg2);
346346
}
347347

348-
function __wbg_adapter_48(arg0, arg1, arg2) {
349-
wasm.closure774_externref_shim(arg0, arg1, arg2);
348+
function __wbg_adapter_46(arg0, arg1, arg2) {
349+
wasm.closure844_externref_shim(arg0, arg1, arg2);
350350
}
351351

352-
function __wbg_adapter_51(arg0, arg1, arg2, arg3) {
353-
wasm.closure53_externref_shim(arg0, arg1, arg2, arg3);
352+
function __wbg_adapter_49(arg0, arg1, arg2) {
353+
wasm.closure49_externref_shim(arg0, arg1, arg2);
354354
}
355355

356356
const __wbindgen_enum_ResizeObserverBoxOptions = ["border-box", "content-box", "device-pixel-content-box"];
@@ -1926,46 +1926,71 @@ function __wbg_get_imports() {
19261926
const ret = arg0.width;
19271927
return ret;
19281928
};
1929-
imports.wbg.__wbindgen_cast_210f7c9393c7bc4a = function(arg0, arg1) {
1930-
// Cast intrinsic for `Closure(Closure { dtor_idx: 738, function: Function { arguments: [], shim_idx: 769, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1931-
const ret = makeMutClosure(arg0, arg1, 738, __wbg_adapter_27);
1929+
imports.wbg.__wbindgen_cast_0edfce14bf9d86c0 = function(arg0, arg1) {
1930+
// Cast intrinsic for `Closure(Closure { dtor_idx: 736, function: Function { arguments: [NamedExternref("PointerEvent")], shim_idx: 772, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1931+
const ret = makeMutClosure(arg0, arg1, 736, __wbg_adapter_38);
1932+
return ret;
1933+
};
1934+
imports.wbg.__wbindgen_cast_18650aa678724c97 = function(arg0, arg1) {
1935+
// Cast intrinsic for `Closure(Closure { dtor_idx: 738, function: Function { arguments: [NamedExternref("PageTransitionEvent")], shim_idx: 773, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1936+
const ret = makeMutClosure(arg0, arg1, 738, __wbg_adapter_35);
19321937
return ret;
19331938
};
19341939
imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
19351940
// Cast intrinsic for `Ref(String) -> Externref`.
19361941
const ret = getStringFromWasm0(arg0, arg1);
19371942
return ret;
19381943
};
1944+
imports.wbg.__wbindgen_cast_3612ddb46db948cd = function(arg0, arg1) {
1945+
// Cast intrinsic for `Closure(Closure { dtor_idx: 735, function: Function { arguments: [NamedExternref("Event")], shim_idx: 771, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1946+
const ret = makeMutClosure(arg0, arg1, 735, __wbg_adapter_19);
1947+
return ret;
1948+
};
19391949
imports.wbg.__wbindgen_cast_433ce8df44576a50 = function(arg0, arg1) {
19401950
// Cast intrinsic for `Closure(Closure { dtor_idx: 48, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 49, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1941-
const ret = makeMutClosure(arg0, arg1, 48, __wbg_adapter_42);
1951+
const ret = makeMutClosure(arg0, arg1, 48, __wbg_adapter_49);
19421952
return ret;
19431953
};
1944-
imports.wbg.__wbindgen_cast_44a5fbd39bcde7b1 = function(arg0, arg1) {
1945-
// 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`.
1946-
const ret = makeMutClosure(arg0, arg1, 736, __wbg_adapter_30);
1954+
imports.wbg.__wbindgen_cast_4f47f49c9dbdf471 = function(arg0, arg1) {
1955+
// Cast intrinsic for `Closure(Closure { dtor_idx: 843, function: Function { arguments: [Externref], shim_idx: 844, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1956+
const ret = makeMutClosure(arg0, arg1, 843, __wbg_adapter_46);
19471957
return ret;
19481958
};
1949-
imports.wbg.__wbindgen_cast_70e25009561e94df = function(arg0, arg1) {
1950-
// Cast intrinsic for `Closure(Closure { dtor_idx: 844, function: Function { arguments: [Externref], shim_idx: 845, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1951-
const ret = makeMutClosure(arg0, arg1, 844, __wbg_adapter_8);
1959+
imports.wbg.__wbindgen_cast_540a779f907aaf22 = function(arg0, arg1) {
1960+
// Cast intrinsic for `Closure(Closure { dtor_idx: 733, function: Function { arguments: [NamedExternref("WheelEvent")], shim_idx: 770, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1961+
const ret = makeMutClosure(arg0, arg1, 733, __wbg_adapter_16);
19521962
return ret;
19531963
};
19541964
imports.wbg.__wbindgen_cast_7c316abdc43840a3 = function(arg0, arg1) {
19551965
// Cast intrinsic for `Ref(Slice(U32)) -> NamedExternref("Uint32Array")`.
19561966
const ret = getArrayU32FromWasm0(arg0, arg1);
19571967
return ret;
19581968
};
1959-
imports.wbg.__wbindgen_cast_8c80eb5392fed215 = function(arg0, arg1) {
1960-
// 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_45);
1969+
imports.wbg.__wbindgen_cast_86c668a28602b187 = function(arg0, arg1) {
1970+
// Cast intrinsic for `Closure(Closure { dtor_idx: 737, function: Function { arguments: [], shim_idx: 768, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1971+
const ret = makeMutClosure(arg0, arg1, 737, __wbg_adapter_24);
1972+
return ret;
1973+
};
1974+
imports.wbg.__wbindgen_cast_8e9e83ef1582753a = function(arg0, arg1) {
1975+
// Cast intrinsic for `Closure(Closure { dtor_idx: 52, function: Function { arguments: [NamedExternref("FocusEvent")], shim_idx: 53, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1976+
const ret = makeMutClosure(arg0, arg1, 52, __wbg_adapter_43);
19621977
return ret;
19631978
};
19641979
imports.wbg.__wbindgen_cast_9575fb55a66c262b = function(arg0, arg1) {
19651980
// Cast intrinsic for `Ref(Slice(I32)) -> NamedExternref("Int32Array")`.
19661981
const ret = getArrayI32FromWasm0(arg0, arg1);
19671982
return ret;
19681983
};
1984+
imports.wbg.__wbindgen_cast_a71bbc002eafca84 = function(arg0, arg1) {
1985+
// Cast intrinsic for `Closure(Closure { dtor_idx: 734, function: Function { arguments: [NamedExternref("KeyboardEvent")], shim_idx: 769, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1986+
const ret = makeMutClosure(arg0, arg1, 734, __wbg_adapter_27);
1987+
return ret;
1988+
};
1989+
imports.wbg.__wbindgen_cast_adfd85c3a999ff8d = function(arg0, arg1) {
1990+
// 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`.
1991+
const ret = makeMutClosure(arg0, arg1, 50, __wbg_adapter_30);
1992+
return ret;
1993+
};
19691994
imports.wbg.__wbindgen_cast_bbb4883c6389f1de = function(arg0, arg1) {
19701995
// Cast intrinsic for `Ref(Slice(U16)) -> NamedExternref("Uint16Array")`.
19711996
const ret = getArrayU16FromWasm0(arg0, arg1);
@@ -1981,11 +2006,6 @@ function __wbg_get_imports() {
19812006
const ret = getArrayF32FromWasm0(arg0, arg1);
19822007
return ret;
19832008
};
1984-
imports.wbg.__wbindgen_cast_d47ce2f0c86f2365 = function(arg0, arg1) {
1985-
// Cast intrinsic for `Closure(Closure { dtor_idx: 50, function: Function { arguments: [NamedExternref("FocusEvent")], shim_idx: 51, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1986-
const ret = makeMutClosure(arg0, arg1, 50, __wbg_adapter_17);
1987-
return ret;
1988-
};
19892009
imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) {
19902010
// Cast intrinsic for `F64 -> Externref`.
19912011
const ret = arg0;
@@ -1996,31 +2016,11 @@ function __wbg_get_imports() {
19962016
const ret = getArrayI16FromWasm0(arg0, arg1);
19972017
return ret;
19982018
};
1999-
imports.wbg.__wbindgen_cast_eaa6fa9dada20a90 = function(arg0, arg1) {
2000-
// 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`.
2001-
const ret = makeMutClosure(arg0, arg1, 739, __wbg_adapter_48);
2002-
return ret;
2003-
};
2004-
imports.wbg.__wbindgen_cast_ebd415010d6a6bdf = function(arg0, arg1) {
2005-
// Cast intrinsic for `Closure(Closure { dtor_idx: 52, function: Function { arguments: [NamedExternref("Array<any>"), NamedExternref("ResizeObserver")], shim_idx: 53, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2006-
const ret = makeMutClosure(arg0, arg1, 52, __wbg_adapter_51);
2007-
return ret;
2008-
};
2009-
imports.wbg.__wbindgen_cast_fa080c5e21d14348 = function(arg0, arg1) {
2010-
// 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_22);
2012-
return ret;
2013-
};
20142019
imports.wbg.__wbindgen_cast_feefb5fadd6457fd = function(arg0, arg1) {
20152020
// Cast intrinsic for `Ref(Slice(I8)) -> NamedExternref("Int8Array")`.
20162021
const ret = getArrayI8FromWasm0(arg0, arg1);
20172022
return ret;
20182023
};
2019-
imports.wbg.__wbindgen_cast_ff4dfb5df7ad3f78 = function(arg0, arg1) {
2020-
// 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_39);
2022-
return ret;
2023-
};
20242024
imports.wbg.__wbindgen_init_externref_table = function() {
20252025
const table = wasm.__wbindgen_export_1;
20262026
const offset = table.grow(4);

examples/webgl2_bg.wasm

6.13 KB
Binary file not shown.

0 commit comments

Comments
 (0)