@mediapipe/tasks-genai 0.10.27 → 0.10.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/genai.d.ts +16 -4
- package/genai_bundle.cjs +1 -1
- package/genai_bundle.cjs.map +1 -1
- package/genai_bundle.js +2 -0
- package/genai_bundle.mjs +1 -1
- package/genai_bundle.mjs.map +1 -1
- package/package.json +2 -1
- package/wasm/genai_wasm_internal.js +661 -557
- package/wasm/genai_wasm_internal.wasm +0 -0
- package/wasm/genai_wasm_module_internal.js +664 -560
- package/wasm/genai_wasm_module_internal.wasm +0 -0
- package/wasm/genai_wasm_nosimd_internal.js +660 -556
- package/wasm/genai_wasm_nosimd_internal.wasm +0 -0
|
@@ -42,7 +42,7 @@ var ENVIRONMENT_IS_NODE = globalThis.process?.versions?.node && globalThis.proce
|
|
|
42
42
|
|
|
43
43
|
// --pre-jses are emitted after the Module integration code, so that they can
|
|
44
44
|
// refer to Module (if they choose; they can also define Module)
|
|
45
|
-
var
|
|
45
|
+
var programArgs = [];
|
|
46
46
|
|
|
47
47
|
var thisProgram = "./this.program";
|
|
48
48
|
|
|
@@ -92,7 +92,7 @@ if (ENVIRONMENT_IS_NODE) {
|
|
|
92
92
|
if (process.argv.length > 1) {
|
|
93
93
|
thisProgram = process.argv[1].replace(/\\/g, "/");
|
|
94
94
|
}
|
|
95
|
-
|
|
95
|
+
programArgs = process.argv.slice(2);
|
|
96
96
|
quit_ = (status, toThrow) => {
|
|
97
97
|
process.exitCode = status;
|
|
98
98
|
throw toThrow;
|
|
@@ -199,14 +199,17 @@ var EXITSTATUS;
|
|
|
199
199
|
// include: runtime_stack_check.js
|
|
200
200
|
// end include: runtime_stack_check.js
|
|
201
201
|
// include: runtime_exceptions.js
|
|
202
|
+
// Base Emscripten EH error class
|
|
203
|
+
class EmscriptenEH {}
|
|
204
|
+
|
|
205
|
+
class EmscriptenSjLj extends EmscriptenEH {}
|
|
206
|
+
|
|
202
207
|
// end include: runtime_exceptions.js
|
|
203
208
|
// include: runtime_debug.js
|
|
204
209
|
// end include: runtime_debug.js
|
|
205
210
|
var readyPromiseResolve, readyPromiseReject;
|
|
206
211
|
|
|
207
212
|
// Memory management
|
|
208
|
-
var /** @type {!Int8Array} */ HEAP8, /** @type {!Uint8Array} */ HEAPU8, /** @type {!Int16Array} */ HEAP16, /** @type {!Uint16Array} */ HEAPU16, /** @type {!Int32Array} */ HEAP32, /** @type {!Uint32Array} */ HEAPU32, /** @type {!Float32Array} */ HEAPF32, /** @type {!Float64Array} */ HEAPF64;
|
|
209
|
-
|
|
210
213
|
var runtimeInitialized = false;
|
|
211
214
|
|
|
212
215
|
function updateMemoryViews() {
|
|
@@ -241,7 +244,7 @@ function initRuntime() {
|
|
|
241
244
|
if (!Module["noFSInit"] && !FS.initialized) FS.init();
|
|
242
245
|
TTY.init();
|
|
243
246
|
// End ATINITS hooks
|
|
244
|
-
wasmExports["
|
|
247
|
+
wasmExports["wc"]();
|
|
245
248
|
// Begin ATPOSTCTORS hooks
|
|
246
249
|
FS.ignorePermissions = false;
|
|
247
250
|
}
|
|
@@ -258,9 +261,11 @@ function postRun() {
|
|
|
258
261
|
callRuntimeCallbacks(onPostRuns);
|
|
259
262
|
}
|
|
260
263
|
|
|
261
|
-
/**
|
|
264
|
+
/**
|
|
265
|
+
* @param {string|number=} what
|
|
266
|
+
*/ function abort(what) {
|
|
262
267
|
Module["onAbort"]?.(what);
|
|
263
|
-
what =
|
|
268
|
+
what = `Aborted(${what})`;
|
|
264
269
|
// TODO(sbc): Should we remove printing and leave it up to whoever
|
|
265
270
|
// catches the exception?
|
|
266
271
|
err(what);
|
|
@@ -794,13 +799,8 @@ var Browser = {
|
|
|
794
799
|
// in the coordinates.
|
|
795
800
|
var canvas = Browser.getCanvas();
|
|
796
801
|
var rect = canvas.getBoundingClientRect();
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
// (see: http://www.w3.org/TR/2013/WD-cssom-view-20131217/)
|
|
800
|
-
var scrollX = ((typeof window.scrollX != "undefined") ? window.scrollX : window.pageXOffset);
|
|
801
|
-
var scrollY = ((typeof window.scrollY != "undefined") ? window.scrollY : window.pageYOffset);
|
|
802
|
-
var adjustedX = pageX - (scrollX + rect.left);
|
|
803
|
-
var adjustedY = pageY - (scrollY + rect.top);
|
|
802
|
+
var adjustedX = pageX - (window.scrollX + rect.left);
|
|
803
|
+
var adjustedY = pageY - (window.scrollY + rect.top);
|
|
804
804
|
// the canvas might be CSS-scaled compared to its backbuffer;
|
|
805
805
|
// SDL-using content will want mouse coordinates in terms
|
|
806
806
|
// of backbuffer units.
|
|
@@ -933,6 +933,22 @@ var Browser = {
|
|
|
933
933
|
}
|
|
934
934
|
};
|
|
935
935
|
|
|
936
|
+
/** @type {!Int16Array} */ var HEAP16;
|
|
937
|
+
|
|
938
|
+
/** @type {!Int32Array} */ var HEAP32;
|
|
939
|
+
|
|
940
|
+
/** @type {!Int8Array} */ var HEAP8;
|
|
941
|
+
|
|
942
|
+
/** @type {!Float32Array} */ var HEAPF32;
|
|
943
|
+
|
|
944
|
+
/** @type {!Float64Array} */ var HEAPF64;
|
|
945
|
+
|
|
946
|
+
/** @type {!Uint16Array} */ var HEAPU16;
|
|
947
|
+
|
|
948
|
+
/** @type {!Uint32Array} */ var HEAPU32;
|
|
949
|
+
|
|
950
|
+
/** @type {!Uint8Array} */ var HEAPU8;
|
|
951
|
+
|
|
936
952
|
var callRuntimeCallbacks = callbacks => {
|
|
937
953
|
while (callbacks.length > 0) {
|
|
938
954
|
// Pass the module as the first argument.
|
|
@@ -1016,8 +1032,6 @@ class ExceptionInfo {
|
|
|
1016
1032
|
}
|
|
1017
1033
|
}
|
|
1018
1034
|
|
|
1019
|
-
var exceptionLast = 0;
|
|
1020
|
-
|
|
1021
1035
|
var uncaughtExceptionCount = 0;
|
|
1022
1036
|
|
|
1023
1037
|
var convertI32PairToI53Checked = (lo, hi) => ((hi + 2097152) >>> 0 < 4194305 - !!lo) ? (lo >>> 0) + hi * 4294967296 : NaN;
|
|
@@ -1029,9 +1043,8 @@ function ___cxa_throw(ptr, type, destructor) {
|
|
|
1029
1043
|
var info = new ExceptionInfo(ptr);
|
|
1030
1044
|
// Initialize ExceptionInfo content after it was allocated in __cxa_allocate_exception.
|
|
1031
1045
|
info.init(type, destructor);
|
|
1032
|
-
exceptionLast = ptr;
|
|
1033
1046
|
uncaughtExceptionCount++;
|
|
1034
|
-
|
|
1047
|
+
abort();
|
|
1035
1048
|
}
|
|
1036
1049
|
|
|
1037
1050
|
function __Unwind_RaiseException(ex) {
|
|
@@ -1104,13 +1117,10 @@ var initRandomFill = () => {
|
|
|
1104
1117
|
var nodeCrypto = require("node:crypto");
|
|
1105
1118
|
return view => nodeCrypto.randomFillSync(view);
|
|
1106
1119
|
}
|
|
1107
|
-
return view => crypto.getRandomValues(view);
|
|
1120
|
+
return view => (crypto.getRandomValues(view), 0);
|
|
1108
1121
|
};
|
|
1109
1122
|
|
|
1110
|
-
var randomFill = view =>
|
|
1111
|
-
// Lazily init on the first invocation.
|
|
1112
|
-
(randomFill = initRandomFill())(view);
|
|
1113
|
-
};
|
|
1123
|
+
var randomFill = view => (randomFill = initRandomFill())(view);
|
|
1114
1124
|
|
|
1115
1125
|
var PATH_FS = {
|
|
1116
1126
|
resolve: (...args) => {
|
|
@@ -1507,12 +1517,14 @@ var MEMFS = {
|
|
|
1507
1517
|
} else if (FS.isFile(node.mode)) {
|
|
1508
1518
|
node.node_ops = MEMFS.ops_table.file.node;
|
|
1509
1519
|
node.stream_ops = MEMFS.ops_table.file.stream;
|
|
1520
|
+
// The actual number of bytes used in the typed array, as opposed to
|
|
1521
|
+
// contents.length which gives the whole capacity.
|
|
1510
1522
|
node.usedBytes = 0;
|
|
1511
|
-
// The
|
|
1512
|
-
//
|
|
1513
|
-
//
|
|
1514
|
-
//
|
|
1515
|
-
node.contents =
|
|
1523
|
+
// The byte data of the file is stored in a typed array.
|
|
1524
|
+
// Note: typed arrays are not resizable like normal JS arrays are, so
|
|
1525
|
+
// there is a small penalty involved for appending file writes that
|
|
1526
|
+
// continuously grow a file similar to std::vector capacity vs used.
|
|
1527
|
+
node.contents = MEMFS.emptyFileContents ??= new Uint8Array(0);
|
|
1516
1528
|
} else if (FS.isLink(node.mode)) {
|
|
1517
1529
|
node.node_ops = MEMFS.ops_table.link.node;
|
|
1518
1530
|
node.stream_ops = MEMFS.ops_table.link.stream;
|
|
@@ -1529,42 +1541,34 @@ var MEMFS = {
|
|
|
1529
1541
|
return node;
|
|
1530
1542
|
},
|
|
1531
1543
|
getFileDataAsTypedArray(node) {
|
|
1532
|
-
|
|
1533
|
-
if (node.contents.subarray) return node.contents.subarray(0, node.usedBytes);
|
|
1534
|
-
// Make sure to not return excess unused bytes.
|
|
1535
|
-
return new Uint8Array(node.contents);
|
|
1544
|
+
return node.contents.subarray(0, node.usedBytes);
|
|
1536
1545
|
},
|
|
1537
1546
|
expandFileStorage(node, newCapacity) {
|
|
1538
|
-
var prevCapacity = node.contents
|
|
1547
|
+
var prevCapacity = node.contents.length;
|
|
1539
1548
|
if (prevCapacity >= newCapacity) return;
|
|
1540
1549
|
// No need to expand, the storage was already large enough.
|
|
1541
|
-
// Don't expand strictly to the given requested limit if it's only a very
|
|
1542
|
-
//
|
|
1543
|
-
//
|
|
1550
|
+
// Don't expand strictly to the given requested limit if it's only a very
|
|
1551
|
+
// small increase, but instead geometrically grow capacity.
|
|
1552
|
+
// For small filesizes (<1MB), perform size*2 geometric increase, but for
|
|
1553
|
+
// large sizes, do a much more conservative size*1.125 increase to avoid
|
|
1554
|
+
// overshooting the allocation cap by a very large margin.
|
|
1544
1555
|
var CAPACITY_DOUBLING_MAX = 1024 * 1024;
|
|
1545
1556
|
newCapacity = Math.max(newCapacity, (prevCapacity * (prevCapacity < CAPACITY_DOUBLING_MAX ? 2 : 1.125)) >>> 0);
|
|
1546
|
-
if (prevCapacity
|
|
1557
|
+
if (prevCapacity) newCapacity = Math.max(newCapacity, 256);
|
|
1547
1558
|
// At minimum allocate 256b for each file when expanding.
|
|
1548
|
-
var oldContents = node
|
|
1559
|
+
var oldContents = MEMFS.getFileDataAsTypedArray(node);
|
|
1549
1560
|
node.contents = new Uint8Array(newCapacity);
|
|
1550
1561
|
// Allocate new storage.
|
|
1551
|
-
|
|
1562
|
+
node.contents.set(oldContents);
|
|
1552
1563
|
},
|
|
1553
1564
|
resizeFileStorage(node, newSize) {
|
|
1554
1565
|
if (node.usedBytes == newSize) return;
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
node.contents = new Uint8Array(newSize);
|
|
1562
|
-
// Allocate new storage.
|
|
1563
|
-
if (oldContents) {
|
|
1564
|
-
node.contents.set(oldContents.subarray(0, Math.min(newSize, node.usedBytes)));
|
|
1565
|
-
}
|
|
1566
|
-
node.usedBytes = newSize;
|
|
1567
|
-
}
|
|
1566
|
+
var oldContents = node.contents;
|
|
1567
|
+
node.contents = new Uint8Array(newSize);
|
|
1568
|
+
// Allocate new storage.
|
|
1569
|
+
node.contents.set(oldContents.subarray(0, Math.min(newSize, node.usedBytes)));
|
|
1570
|
+
// Copy old data over to the new storage.
|
|
1571
|
+
node.usedBytes = newSize;
|
|
1568
1572
|
},
|
|
1569
1573
|
node_ops: {
|
|
1570
1574
|
getattr(node) {
|
|
@@ -1669,12 +1673,7 @@ var MEMFS = {
|
|
|
1669
1673
|
var contents = stream.node.contents;
|
|
1670
1674
|
if (position >= stream.node.usedBytes) return 0;
|
|
1671
1675
|
var size = Math.min(stream.node.usedBytes - position, length);
|
|
1672
|
-
|
|
1673
|
-
// non-trivial, and typed array
|
|
1674
|
-
buffer.set(contents.subarray(position, position + size), offset);
|
|
1675
|
-
} else {
|
|
1676
|
-
for (var i = 0; i < size; i++) buffer[offset + i] = contents[position + i];
|
|
1677
|
-
}
|
|
1676
|
+
buffer.set(contents.subarray(position, position + size), offset);
|
|
1678
1677
|
return size;
|
|
1679
1678
|
},
|
|
1680
1679
|
write(stream, buffer, offset, length, position, canOwn) {
|
|
@@ -1688,34 +1687,19 @@ var MEMFS = {
|
|
|
1688
1687
|
if (!length) return 0;
|
|
1689
1688
|
var node = stream.node;
|
|
1690
1689
|
node.mtime = node.ctime = Date.now();
|
|
1691
|
-
if (
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
node.usedBytes = length;
|
|
1701
|
-
return length;
|
|
1702
|
-
} else if (position + length <= node.usedBytes) {
|
|
1703
|
-
// Writing to an already allocated and used subrange of the file?
|
|
1704
|
-
node.contents.set(buffer.subarray(offset, offset + length), position);
|
|
1705
|
-
return length;
|
|
1706
|
-
}
|
|
1707
|
-
}
|
|
1708
|
-
// Appending to an existing file and we need to reallocate, or source data did not come as a typed array.
|
|
1709
|
-
MEMFS.expandFileStorage(node, position + length);
|
|
1710
|
-
if (node.contents.subarray && buffer.subarray) {
|
|
1690
|
+
if (canOwn) {
|
|
1691
|
+
node.contents = buffer.subarray(offset, offset + length);
|
|
1692
|
+
node.usedBytes = length;
|
|
1693
|
+
} else if (node.usedBytes === 0 && position === 0) {
|
|
1694
|
+
// If this is a simple first write to an empty file, do a fast set since we don't need to care about old data.
|
|
1695
|
+
node.contents = buffer.slice(offset, offset + length);
|
|
1696
|
+
node.usedBytes = length;
|
|
1697
|
+
} else {
|
|
1698
|
+
MEMFS.expandFileStorage(node, position + length);
|
|
1711
1699
|
// Use typed array write which is available.
|
|
1712
1700
|
node.contents.set(buffer.subarray(offset, offset + length), position);
|
|
1713
|
-
|
|
1714
|
-
for (var i = 0; i < length; i++) {
|
|
1715
|
-
node.contents[position + i] = buffer[offset + i];
|
|
1716
|
-
}
|
|
1701
|
+
node.usedBytes = Math.max(node.usedBytes, position + length);
|
|
1717
1702
|
}
|
|
1718
|
-
node.usedBytes = Math.max(node.usedBytes, position + length);
|
|
1719
1703
|
return length;
|
|
1720
1704
|
},
|
|
1721
1705
|
llseek(stream, offset, whence) {
|
|
@@ -1740,7 +1724,7 @@ var MEMFS = {
|
|
|
1740
1724
|
var allocated;
|
|
1741
1725
|
var contents = stream.node.contents;
|
|
1742
1726
|
// Only make a new copy when MAP_PRIVATE is specified.
|
|
1743
|
-
if (!(flags & 2) && contents
|
|
1727
|
+
if (!(flags & 2) && contents.buffer === HEAP8.buffer) {
|
|
1744
1728
|
// We can't emulate MAP_SHARED when the file is not backed by the
|
|
1745
1729
|
// buffer we're mapping to (e.g. the HEAP buffer).
|
|
1746
1730
|
allocated = false;
|
|
@@ -1777,6 +1761,7 @@ var MEMFS = {
|
|
|
1777
1761
|
};
|
|
1778
1762
|
|
|
1779
1763
|
var FS_modeStringToFlags = str => {
|
|
1764
|
+
if (typeof str != "string") return str;
|
|
1780
1765
|
var flagModes = {
|
|
1781
1766
|
"r": 0,
|
|
1782
1767
|
"r+": 2,
|
|
@@ -1792,6 +1777,16 @@ var FS_modeStringToFlags = str => {
|
|
|
1792
1777
|
return flags;
|
|
1793
1778
|
};
|
|
1794
1779
|
|
|
1780
|
+
var FS_fileDataToTypedArray = data => {
|
|
1781
|
+
if (typeof data == "string") {
|
|
1782
|
+
data = intArrayFromString(data, true);
|
|
1783
|
+
}
|
|
1784
|
+
if (!data.subarray) {
|
|
1785
|
+
data = new Uint8Array(data);
|
|
1786
|
+
}
|
|
1787
|
+
return data;
|
|
1788
|
+
};
|
|
1789
|
+
|
|
1795
1790
|
var FS_getMode = (canRead, canWrite) => {
|
|
1796
1791
|
var mode = 0;
|
|
1797
1792
|
if (canRead) mode |= 292 | 73;
|
|
@@ -1967,7 +1962,7 @@ var FS = {
|
|
|
1967
1962
|
if (!PATH.isAbs(path)) {
|
|
1968
1963
|
path = FS.cwd() + "/" + path;
|
|
1969
1964
|
}
|
|
1970
|
-
// limit max consecutive symlinks to
|
|
1965
|
+
// limit max consecutive symlinks to SYMLOOP_MAX.
|
|
1971
1966
|
linkloop: for (var nlinks = 0; nlinks < 40; nlinks++) {
|
|
1972
1967
|
// split the absolute path
|
|
1973
1968
|
var parts = path.split("/").filter(p => !!p);
|
|
@@ -2250,7 +2245,14 @@ var FS = {
|
|
|
2250
2245
|
var arg = setattr ? stream : node;
|
|
2251
2246
|
setattr ??= node.node_ops.setattr;
|
|
2252
2247
|
FS.checkOpExists(setattr, 63);
|
|
2253
|
-
|
|
2248
|
+
try {
|
|
2249
|
+
setattr(arg, attr);
|
|
2250
|
+
} catch (e) {
|
|
2251
|
+
if (e instanceof RangeError) {
|
|
2252
|
+
throw new FS.ErrnoError(22);
|
|
2253
|
+
}
|
|
2254
|
+
throw e;
|
|
2255
|
+
}
|
|
2254
2256
|
},
|
|
2255
2257
|
chrdev_stream_ops: {
|
|
2256
2258
|
open(stream) {
|
|
@@ -2768,7 +2770,7 @@ var FS = {
|
|
|
2768
2770
|
if (path === "") {
|
|
2769
2771
|
throw new FS.ErrnoError(44);
|
|
2770
2772
|
}
|
|
2771
|
-
flags =
|
|
2773
|
+
flags = FS_modeStringToFlags(flags);
|
|
2772
2774
|
if ((flags & 64)) {
|
|
2773
2775
|
mode = (mode & 4095) | 32768;
|
|
2774
2776
|
} else {
|
|
@@ -2981,8 +2983,8 @@ var FS = {
|
|
|
2981
2983
|
return stream.stream_ops.ioctl(stream, cmd, arg);
|
|
2982
2984
|
},
|
|
2983
2985
|
readFile(path, opts = {}) {
|
|
2984
|
-
opts.flags = opts.flags
|
|
2985
|
-
opts.encoding = opts.encoding
|
|
2986
|
+
opts.flags = opts.flags ?? 0;
|
|
2987
|
+
opts.encoding = opts.encoding ?? "binary";
|
|
2986
2988
|
if (opts.encoding !== "utf8" && opts.encoding !== "binary") {
|
|
2987
2989
|
abort(`Invalid encoding type "${opts.encoding}"`);
|
|
2988
2990
|
}
|
|
@@ -2998,16 +3000,10 @@ var FS = {
|
|
|
2998
3000
|
return buf;
|
|
2999
3001
|
},
|
|
3000
3002
|
writeFile(path, data, opts = {}) {
|
|
3001
|
-
opts.flags = opts.flags
|
|
3003
|
+
opts.flags = opts.flags ?? 577;
|
|
3002
3004
|
var stream = FS.open(path, opts.flags, opts.mode);
|
|
3003
|
-
|
|
3004
|
-
|
|
3005
|
-
}
|
|
3006
|
-
if (ArrayBuffer.isView(data)) {
|
|
3007
|
-
FS.write(stream, data, 0, data.byteLength, undefined, opts.canOwn);
|
|
3008
|
-
} else {
|
|
3009
|
-
abort("Unsupported data type");
|
|
3010
|
-
}
|
|
3005
|
+
data = FS_fileDataToTypedArray(data);
|
|
3006
|
+
FS.write(stream, data, 0, data.byteLength, undefined, opts.canOwn);
|
|
3011
3007
|
FS.close(stream);
|
|
3012
3008
|
},
|
|
3013
3009
|
cwd: () => FS.currentPath,
|
|
@@ -3237,11 +3233,7 @@ var FS = {
|
|
|
3237
3233
|
var mode = FS_getMode(canRead, canWrite);
|
|
3238
3234
|
var node = FS.create(path, mode);
|
|
3239
3235
|
if (data) {
|
|
3240
|
-
|
|
3241
|
-
var arr = new Array(data.length);
|
|
3242
|
-
for (var i = 0, len = data.length; i < len; ++i) arr[i] = data.charCodeAt(i);
|
|
3243
|
-
data = arr;
|
|
3244
|
-
}
|
|
3236
|
+
data = FS_fileDataToTypedArray(data);
|
|
3245
3237
|
// make sure we can write to the file
|
|
3246
3238
|
FS.chmod(node, mode | 146);
|
|
3247
3239
|
var stream = FS.open(node, 577);
|
|
@@ -3350,8 +3342,8 @@ var FS = {
|
|
|
3350
3342
|
if (!hasByteServing) chunkSize = datalength;
|
|
3351
3343
|
// Function to get a range from the remote URL.
|
|
3352
3344
|
var doXHR = (from, to) => {
|
|
3353
|
-
if (from > to) abort(
|
|
3354
|
-
if (to > datalength - 1) abort(
|
|
3345
|
+
if (from > to) abort(`invalid range (${from}, ${to}) or no bytes requested!`);
|
|
3346
|
+
if (to > datalength - 1) abort(`only ${datalength} bytes available! programmer error!`);
|
|
3355
3347
|
// TODO: Use mozResponseArrayBuffer, responseStream, etc. if available.
|
|
3356
3348
|
var xhr = new XMLHttpRequest;
|
|
3357
3349
|
xhr.open("GET", url, false);
|
|
@@ -3366,7 +3358,7 @@ var FS = {
|
|
|
3366
3358
|
if (xhr.response !== undefined) {
|
|
3367
3359
|
return new Uint8Array(/** @type{Array<number>} */ (xhr.response || []));
|
|
3368
3360
|
}
|
|
3369
|
-
return intArrayFromString(xhr.responseText
|
|
3361
|
+
return intArrayFromString(xhr.responseText ?? "", true);
|
|
3370
3362
|
};
|
|
3371
3363
|
var lazyArray = this;
|
|
3372
3364
|
lazyArray.setDataGetter(chunkNum => {
|
|
@@ -3505,6 +3497,7 @@ var FS = {
|
|
|
3505
3497
|
};
|
|
3506
3498
|
|
|
3507
3499
|
var SYSCALLS = {
|
|
3500
|
+
currentUmask: 18,
|
|
3508
3501
|
calculateAt(dirfd, path, allowEmpty) {
|
|
3509
3502
|
if (PATH.isAbs(path)) {
|
|
3510
3503
|
return path;
|
|
@@ -3675,7 +3668,8 @@ function ___syscall_fcntl64(fd, cmd, varargs) {
|
|
|
3675
3668
|
case 4:
|
|
3676
3669
|
{
|
|
3677
3670
|
var arg = syscallGetVarargI();
|
|
3678
|
-
|
|
3671
|
+
var mask = 289792;
|
|
3672
|
+
stream.flags = (stream.flags & ~mask) | (arg & mask);
|
|
3679
3673
|
return 0;
|
|
3680
3674
|
}
|
|
3681
3675
|
|
|
@@ -3716,7 +3710,7 @@ function ___syscall_fstat64(fd, buf) {
|
|
|
3716
3710
|
function ___syscall_ftruncate64(fd, length_low, length_high) {
|
|
3717
3711
|
var length = convertI32PairToI53Checked(length_low, length_high);
|
|
3718
3712
|
try {
|
|
3719
|
-
if (isNaN(length)) return -
|
|
3713
|
+
if (isNaN(length)) return -22;
|
|
3720
3714
|
FS.ftruncate(fd, length);
|
|
3721
3715
|
return 0;
|
|
3722
3716
|
} catch (e) {
|
|
@@ -3943,6 +3937,7 @@ function ___syscall_mkdirat(dirfd, path, mode) {
|
|
|
3943
3937
|
try {
|
|
3944
3938
|
path = SYSCALLS.getStr(path);
|
|
3945
3939
|
path = SYSCALLS.calculateAt(dirfd, path);
|
|
3940
|
+
mode &= ~SYSCALLS.currentUmask;
|
|
3946
3941
|
FS.mkdir(path, mode, 0);
|
|
3947
3942
|
return 0;
|
|
3948
3943
|
} catch (e) {
|
|
@@ -3975,6 +3970,9 @@ function ___syscall_openat(dirfd, path, flags, varargs) {
|
|
|
3975
3970
|
path = SYSCALLS.getStr(path);
|
|
3976
3971
|
path = SYSCALLS.calculateAt(dirfd, path);
|
|
3977
3972
|
var mode = varargs ? syscallGetVarargI() : 0;
|
|
3973
|
+
if (flags & 64) {
|
|
3974
|
+
mode &= ~SYSCALLS.currentUmask;
|
|
3975
|
+
}
|
|
3978
3976
|
return FS.open(path, flags, mode).fd;
|
|
3979
3977
|
} catch (e) {
|
|
3980
3978
|
if (typeof FS == "undefined" || !(e.name === "ErrnoError")) throw e;
|
|
@@ -3982,6 +3980,40 @@ function ___syscall_openat(dirfd, path, flags, varargs) {
|
|
|
3982
3980
|
}
|
|
3983
3981
|
}
|
|
3984
3982
|
|
|
3983
|
+
function ___syscall_readlinkat(dirfd, path, buf, bufsize) {
|
|
3984
|
+
path >>>= 0;
|
|
3985
|
+
buf >>>= 0;
|
|
3986
|
+
bufsize >>>= 0;
|
|
3987
|
+
try {
|
|
3988
|
+
path = SYSCALLS.getStr(path);
|
|
3989
|
+
path = SYSCALLS.calculateAt(dirfd, path);
|
|
3990
|
+
if (bufsize <= 0) return -28;
|
|
3991
|
+
var ret = FS.readlink(path);
|
|
3992
|
+
var len = Math.min(bufsize, lengthBytesUTF8(ret));
|
|
3993
|
+
var endChar = HEAP8[buf + len >>> 0];
|
|
3994
|
+
stringToUTF8(ret, buf, bufsize + 1);
|
|
3995
|
+
// readlink is one of the rare functions that write out a C string, but does never append a null to the output buffer(!)
|
|
3996
|
+
// stringToUTF8() always appends a null byte, so restore the character under the null byte after the write.
|
|
3997
|
+
HEAP8[buf + len >>> 0] = endChar;
|
|
3998
|
+
return len;
|
|
3999
|
+
} catch (e) {
|
|
4000
|
+
if (typeof FS == "undefined" || !(e.name === "ErrnoError")) throw e;
|
|
4001
|
+
return -e.errno;
|
|
4002
|
+
}
|
|
4003
|
+
}
|
|
4004
|
+
|
|
4005
|
+
function ___syscall_rmdir(path) {
|
|
4006
|
+
path >>>= 0;
|
|
4007
|
+
try {
|
|
4008
|
+
path = SYSCALLS.getStr(path);
|
|
4009
|
+
FS.rmdir(path);
|
|
4010
|
+
return 0;
|
|
4011
|
+
} catch (e) {
|
|
4012
|
+
if (typeof FS == "undefined" || !(e.name === "ErrnoError")) throw e;
|
|
4013
|
+
return -e.errno;
|
|
4014
|
+
}
|
|
4015
|
+
}
|
|
4016
|
+
|
|
3985
4017
|
function ___syscall_stat64(path, buf) {
|
|
3986
4018
|
path >>>= 0;
|
|
3987
4019
|
buf >>>= 0;
|
|
@@ -3994,6 +4026,70 @@ function ___syscall_stat64(path, buf) {
|
|
|
3994
4026
|
}
|
|
3995
4027
|
}
|
|
3996
4028
|
|
|
4029
|
+
function ___syscall_unlinkat(dirfd, path, flags) {
|
|
4030
|
+
path >>>= 0;
|
|
4031
|
+
try {
|
|
4032
|
+
path = SYSCALLS.getStr(path);
|
|
4033
|
+
path = SYSCALLS.calculateAt(dirfd, path);
|
|
4034
|
+
if (!flags) {
|
|
4035
|
+
FS.unlink(path);
|
|
4036
|
+
} else if (flags === 512) {
|
|
4037
|
+
FS.rmdir(path);
|
|
4038
|
+
} else {
|
|
4039
|
+
return -28;
|
|
4040
|
+
}
|
|
4041
|
+
return 0;
|
|
4042
|
+
} catch (e) {
|
|
4043
|
+
if (typeof FS == "undefined" || !(e.name === "ErrnoError")) throw e;
|
|
4044
|
+
return -e.errno;
|
|
4045
|
+
}
|
|
4046
|
+
}
|
|
4047
|
+
|
|
4048
|
+
var readI53FromI64 = ptr => HEAPU32[((ptr) >>> 2) >>> 0] + HEAP32[(((ptr) + (4)) >>> 2) >>> 0] * 4294967296;
|
|
4049
|
+
|
|
4050
|
+
function ___syscall_utimensat(dirfd, path, times, flags) {
|
|
4051
|
+
path >>>= 0;
|
|
4052
|
+
times >>>= 0;
|
|
4053
|
+
try {
|
|
4054
|
+
path = SYSCALLS.getStr(path);
|
|
4055
|
+
path = SYSCALLS.calculateAt(dirfd, path, true);
|
|
4056
|
+
var now = Date.now(), atime, mtime;
|
|
4057
|
+
if (!times) {
|
|
4058
|
+
atime = now;
|
|
4059
|
+
mtime = now;
|
|
4060
|
+
} else {
|
|
4061
|
+
var seconds = readI53FromI64(times);
|
|
4062
|
+
var nanoseconds = HEAP32[(((times) + (8)) >>> 2) >>> 0];
|
|
4063
|
+
if (nanoseconds == 1073741823) {
|
|
4064
|
+
atime = now;
|
|
4065
|
+
} else if (nanoseconds == 1073741822) {
|
|
4066
|
+
atime = null;
|
|
4067
|
+
} else {
|
|
4068
|
+
atime = (seconds * 1e3) + (nanoseconds / (1e3 * 1e3));
|
|
4069
|
+
}
|
|
4070
|
+
times += 16;
|
|
4071
|
+
seconds = readI53FromI64(times);
|
|
4072
|
+
nanoseconds = HEAP32[(((times) + (8)) >>> 2) >>> 0];
|
|
4073
|
+
if (nanoseconds == 1073741823) {
|
|
4074
|
+
mtime = now;
|
|
4075
|
+
} else if (nanoseconds == 1073741822) {
|
|
4076
|
+
mtime = null;
|
|
4077
|
+
} else {
|
|
4078
|
+
mtime = (seconds * 1e3) + (nanoseconds / (1e3 * 1e3));
|
|
4079
|
+
}
|
|
4080
|
+
}
|
|
4081
|
+
// null here means UTIME_OMIT was passed. If both were set to UTIME_OMIT then
|
|
4082
|
+
// we can skip the call completely.
|
|
4083
|
+
if ((mtime ?? atime) !== null) {
|
|
4084
|
+
FS.utime(path, atime, mtime);
|
|
4085
|
+
}
|
|
4086
|
+
return 0;
|
|
4087
|
+
} catch (e) {
|
|
4088
|
+
if (typeof FS == "undefined" || !(e.name === "ErrnoError")) throw e;
|
|
4089
|
+
return -e.errno;
|
|
4090
|
+
}
|
|
4091
|
+
}
|
|
4092
|
+
|
|
3997
4093
|
var __abort_js = () => abort("");
|
|
3998
4094
|
|
|
3999
4095
|
function __embind_register_bigint(primitiveType, name, size, minRange, maxRange) {
|
|
@@ -4082,6 +4178,7 @@ var emval_handles = [ 0, 1, , 1, null, 1, true, 1, false, 1 ];
|
|
|
4082
4178
|
function __emval_decref(handle) {
|
|
4083
4179
|
handle >>>= 0;
|
|
4084
4180
|
if (handle > 9 && 0 === --emval_handles[handle + 1]) {
|
|
4181
|
+
var value = emval_handles[handle];
|
|
4085
4182
|
emval_handles[handle] = undefined;
|
|
4086
4183
|
emval_freelist.push(handle);
|
|
4087
4184
|
}
|
|
@@ -5090,6 +5187,9 @@ var __mktime_js = function(tmPtr) {
|
|
|
5090
5187
|
tmPtr >>>= 0;
|
|
5091
5188
|
var ret = (() => {
|
|
5092
5189
|
var date = new Date(HEAP32[(((tmPtr) + (20)) >>> 2) >>> 0] + 1900, HEAP32[(((tmPtr) + (16)) >>> 2) >>> 0], HEAP32[(((tmPtr) + (12)) >>> 2) >>> 0], HEAP32[(((tmPtr) + (8)) >>> 2) >>> 0], HEAP32[(((tmPtr) + (4)) >>> 2) >>> 0], HEAP32[((tmPtr) >>> 2) >>> 0], 0);
|
|
5190
|
+
if (isNaN(date.getTime())) {
|
|
5191
|
+
return -1;
|
|
5192
|
+
}
|
|
5093
5193
|
// There's an ambiguous hour when the time goes back; the tm_isdst field is
|
|
5094
5194
|
// used to disambiguate it. Date() basically guesses, so we fix it up if it
|
|
5095
5195
|
// guessed wrong, or fill in tm_isdst with the guess if it's -1.
|
|
@@ -5119,12 +5219,8 @@ var __mktime_js = function(tmPtr) {
|
|
|
5119
5219
|
HEAP32[(((tmPtr) + (12)) >>> 2) >>> 0] = date.getDate();
|
|
5120
5220
|
HEAP32[(((tmPtr) + (16)) >>> 2) >>> 0] = date.getMonth();
|
|
5121
5221
|
HEAP32[(((tmPtr) + (20)) >>> 2) >>> 0] = date.getYear();
|
|
5122
|
-
|
|
5123
|
-
|
|
5124
|
-
return -1;
|
|
5125
|
-
}
|
|
5126
|
-
// Return time in microseconds
|
|
5127
|
-
return timeMs / 1e3;
|
|
5222
|
+
// Return time in seconds
|
|
5223
|
+
return date.getTime() / 1e3;
|
|
5128
5224
|
})();
|
|
5129
5225
|
return (setTempRet0((tempDouble = ret, (+(Math.abs(tempDouble))) >= 1 ? (tempDouble > 0 ? (+(Math.floor((tempDouble) / 4294967296))) >>> 0 : (~~((+(Math.ceil((tempDouble - +(((~~(tempDouble))) >>> 0)) / 4294967296))))) >>> 0) : 0)),
|
|
5130
5226
|
ret >>> 0);
|
|
@@ -5507,7 +5603,7 @@ var getEmscriptenSupportedExtensions = ctx => {
|
|
|
5507
5603
|
"EXT_color_buffer_float", "EXT_conservative_depth", "EXT_disjoint_timer_query_webgl2", "EXT_texture_norm16", "NV_shader_noperspective_interpolation", "WEBGL_clip_cull_distance", // WebGL 1 and WebGL 2 extensions
|
|
5508
5604
|
"EXT_clip_control", "EXT_color_buffer_half_float", "EXT_depth_clamp", "EXT_float_blend", "EXT_polygon_offset_clamp", "EXT_texture_compression_bptc", "EXT_texture_compression_rgtc", "EXT_texture_filter_anisotropic", "KHR_parallel_shader_compile", "OES_texture_float_linear", "WEBGL_blend_func_extended", "WEBGL_compressed_texture_astc", "WEBGL_compressed_texture_etc", "WEBGL_compressed_texture_etc1", "WEBGL_compressed_texture_s3tc", "WEBGL_compressed_texture_s3tc_srgb", "WEBGL_debug_renderer_info", "WEBGL_debug_shaders", "WEBGL_lose_context", "WEBGL_multi_draw", "WEBGL_polygon_mode" ];
|
|
5509
5605
|
// .getSupportedExtensions() can return null if context is lost, so coerce to empty array.
|
|
5510
|
-
return
|
|
5606
|
+
return ctx.getSupportedExtensions()?.filter(ext => supportedExtensions.includes(ext)) ?? [];
|
|
5511
5607
|
};
|
|
5512
5608
|
|
|
5513
5609
|
var registerPreMainLoop = f => {
|
|
@@ -5515,6 +5611,10 @@ var registerPreMainLoop = f => {
|
|
|
5515
5611
|
typeof MainLoop != "undefined" && MainLoop.preMainLoop.push(f);
|
|
5516
5612
|
};
|
|
5517
5613
|
|
|
5614
|
+
var webglBufferSubData = (target, offset, size, data, src = HEAPU8) => {
|
|
5615
|
+
GLctx.bufferSubData(target, offset, src.subarray(data, data + size));
|
|
5616
|
+
};
|
|
5617
|
+
|
|
5518
5618
|
var GL = {
|
|
5519
5619
|
counter: 1,
|
|
5520
5620
|
buffers: [],
|
|
@@ -5691,7 +5791,7 @@ var GL = {
|
|
|
5691
5791
|
var size = GL.calcBufLength(cb.size, cb.type, cb.stride, count);
|
|
5692
5792
|
var buf = GL.getTempVertexBuffer(size);
|
|
5693
5793
|
GLctx.bindBuffer(34962, buf);
|
|
5694
|
-
|
|
5794
|
+
webglBufferSubData(34962, 0, size, cb.ptr);
|
|
5695
5795
|
cb.vertexAttribPointerAdaptor.call(GLctx, i, cb.size, cb.type, cb.normalized, cb.stride, 0);
|
|
5696
5796
|
}
|
|
5697
5797
|
},
|
|
@@ -5941,8 +6041,6 @@ var writeI53ToI64 = (ptr, num) => {
|
|
|
5941
6041
|
HEAPU32[(((ptr) + (4)) >>> 2) >>> 0] = (num - lower) / 4294967296;
|
|
5942
6042
|
};
|
|
5943
6043
|
|
|
5944
|
-
var readI53FromI64 = ptr => HEAPU32[((ptr) >>> 2) >>> 0] + HEAP32[(((ptr) + (4)) >>> 2) >>> 0] * 4294967296;
|
|
5945
|
-
|
|
5946
6044
|
var WebGPU = {
|
|
5947
6045
|
Internals: {
|
|
5948
6046
|
jsObjects: [],
|
|
@@ -6443,6 +6541,7 @@ var WebGPU = {
|
|
|
6443
6541
|
20: "texture-formats-tier2",
|
|
6444
6542
|
21: "primitive-index",
|
|
6445
6543
|
22: "texture-component-swizzle",
|
|
6544
|
+
23: "subgroup-size-control",
|
|
6446
6545
|
327692: "chromium-experimental-unorm16-texture-formats",
|
|
6447
6546
|
327729: "chromium-experimental-multi-draw-indirect"
|
|
6448
6547
|
},
|
|
@@ -6471,7 +6570,7 @@ var WebGPU = {
|
|
|
6471
6570
|
ToneMappingMode: [ , "standard", "extended" ],
|
|
6472
6571
|
VertexFormat: [ , "uint8", "uint8x2", "uint8x4", "sint8", "sint8x2", "sint8x4", "unorm8", "unorm8x2", "unorm8x4", "snorm8", "snorm8x2", "snorm8x4", "uint16", "uint16x2", "uint16x4", "sint16", "sint16x2", "sint16x4", "unorm16", "unorm16x2", "unorm16x4", "snorm16", "snorm16x2", "snorm16x4", "float16", "float16x2", "float16x4", "float32", "float32x2", "float32x3", "float32x4", "uint32", "uint32x2", "uint32x3", "uint32x4", "sint32", "sint32x2", "sint32x3", "sint32x4", "unorm10-10-10-2", "unorm8x4-bgra" ],
|
|
6473
6572
|
VertexStepMode: [ , "vertex", "instance" ],
|
|
6474
|
-
WGSLLanguageFeatureName: [ , "readonly_and_readwrite_storage_textures", "packed_4x8_integer_dot_product", "unrestricted_pointer_parameters", "pointer_composite_access", "uniform_buffer_standard_layout", "subgroup_id", "texture_and_sampler_let", "subgroup_uniformity", "texture_formats_tier1" ]
|
|
6573
|
+
WGSLLanguageFeatureName: [ , "readonly_and_readwrite_storage_textures", "packed_4x8_integer_dot_product", "unrestricted_pointer_parameters", "pointer_composite_access", "uniform_buffer_standard_layout", "subgroup_id", "texture_and_sampler_let", "subgroup_uniformity", "texture_formats_tier1", "linear_indexing", "immediate_address_space" ]
|
|
6475
6574
|
};
|
|
6476
6575
|
|
|
6477
6576
|
function _emscripten_webgpu_get_device() {
|
|
@@ -6679,12 +6778,11 @@ _emwgpuWaitAny.isAsync = true;
|
|
|
6679
6778
|
|
|
6680
6779
|
var ENV = {};
|
|
6681
6780
|
|
|
6682
|
-
var getExecutableName = () => thisProgram
|
|
6781
|
+
var getExecutableName = () => thisProgram;
|
|
6683
6782
|
|
|
6684
6783
|
var getEnvStrings = () => {
|
|
6685
6784
|
if (!getEnvStrings.strings) {
|
|
6686
6785
|
// Default values.
|
|
6687
|
-
// Browser language detection #8751
|
|
6688
6786
|
var lang = (globalThis.navigator?.language ?? "C").replace("-", "_") + ".UTF-8";
|
|
6689
6787
|
var env = {
|
|
6690
6788
|
"USER": "web_user",
|
|
@@ -6773,7 +6871,7 @@ function _fd_pread(fd, iov, iovcnt, offset_low, offset_high, pnum) {
|
|
|
6773
6871
|
var offset = convertI32PairToI53Checked(offset_low, offset_high);
|
|
6774
6872
|
pnum >>>= 0;
|
|
6775
6873
|
try {
|
|
6776
|
-
if (isNaN(offset)) return
|
|
6874
|
+
if (isNaN(offset)) return 22;
|
|
6777
6875
|
var stream = SYSCALLS.getStreamFromFD(fd);
|
|
6778
6876
|
var num = doReadv(stream, iov, iovcnt, offset);
|
|
6779
6877
|
HEAPU32[((pnum) >>> 2) >>> 0] = num;
|
|
@@ -6803,7 +6901,7 @@ function _fd_seek(fd, offset_low, offset_high, whence, newOffset) {
|
|
|
6803
6901
|
var offset = convertI32PairToI53Checked(offset_low, offset_high);
|
|
6804
6902
|
newOffset >>>= 0;
|
|
6805
6903
|
try {
|
|
6806
|
-
if (isNaN(offset)) return
|
|
6904
|
+
if (isNaN(offset)) return 22;
|
|
6807
6905
|
var stream = SYSCALLS.getStreamFromFD(fd);
|
|
6808
6906
|
FS.llseek(stream, offset, whence);
|
|
6809
6907
|
(tempI64 = [ stream.position >>> 0, (tempDouble = stream.position, (+(Math.abs(tempDouble))) >= 1 ? (tempDouble > 0 ? (+(Math.floor((tempDouble) / 4294967296))) >>> 0 : (~~((+(Math.ceil((tempDouble - +(((~~(tempDouble))) >>> 0)) / 4294967296))))) >>> 0) : 0) ],
|
|
@@ -7549,7 +7647,7 @@ var heapObjectForWebGLType = type => {
|
|
|
7549
7647
|
|
|
7550
7648
|
var toTypedArrayIndex = (pointer, heap) => pointer >>> (31 - Math.clz32(heap.BYTES_PER_ELEMENT));
|
|
7551
7649
|
|
|
7552
|
-
var emscriptenWebGLGetTexPixelData = (type, format, width, height, pixels
|
|
7650
|
+
var emscriptenWebGLGetTexPixelData = (type, format, width, height, pixels) => {
|
|
7553
7651
|
var heap = heapObjectForWebGLType(type);
|
|
7554
7652
|
var sizePerPixel = colorChannelsInGlTextureFormat(format) * heap.BYTES_PER_ELEMENT;
|
|
7555
7653
|
var bytes = computeUnpackAlignedImageSize(width, height, sizePerPixel);
|
|
@@ -7564,7 +7662,7 @@ function _emscripten_glReadPixels(x, y, width, height, format, type, pixels) {
|
|
|
7564
7662
|
return;
|
|
7565
7663
|
}
|
|
7566
7664
|
}
|
|
7567
|
-
var pixelData = emscriptenWebGLGetTexPixelData(type, format, width, height, pixels
|
|
7665
|
+
var pixelData = emscriptenWebGLGetTexPixelData(type, format, width, height, pixels);
|
|
7568
7666
|
if (!pixelData) {
|
|
7569
7667
|
GL.recordError(1280);
|
|
7570
7668
|
return;
|
|
@@ -7591,7 +7689,7 @@ function _emscripten_glTexImage2D(target, level, internalFormat, width, height,
|
|
|
7591
7689
|
return;
|
|
7592
7690
|
}
|
|
7593
7691
|
}
|
|
7594
|
-
var pixelData = pixels ? emscriptenWebGLGetTexPixelData(type, format, width, height, pixels
|
|
7692
|
+
var pixelData = pixels ? emscriptenWebGLGetTexPixelData(type, format, width, height, pixels) : null;
|
|
7595
7693
|
GLctx.texImage2D(target, level, internalFormat, width, height, border, format, type, pixelData);
|
|
7596
7694
|
}
|
|
7597
7695
|
|
|
@@ -7605,16 +7703,15 @@ var _emscripten_glTexStorage2D = (x0, x1, x2, x3, x4) => GLctx.texStorage2D(x0,
|
|
|
7605
7703
|
|
|
7606
7704
|
var _glTexStorage2D = _emscripten_glTexStorage2D;
|
|
7607
7705
|
|
|
7608
|
-
var
|
|
7609
|
-
|
|
7610
|
-
|
|
7611
|
-
|
|
7612
|
-
// p.uniformLocsById[location] stores either an integer, or a
|
|
7706
|
+
var webglGetProgramUniformLocation = (program, location) => {
|
|
7707
|
+
if (program) {
|
|
7708
|
+
var webglLoc = program.uniformLocsById[location];
|
|
7709
|
+
// program.uniformLocsById[location] stores either an integer, or a
|
|
7613
7710
|
// WebGLUniformLocation.
|
|
7614
7711
|
// If an integer, we have not yet bound the location, so do it now. The
|
|
7615
7712
|
// integer value specifies the array index we should bind to.
|
|
7616
7713
|
if (typeof webglLoc == "number") {
|
|
7617
|
-
|
|
7714
|
+
program.uniformLocsById[location] = webglLoc = GLctx.getUniformLocation(program, program.uniformArrayNamesById[location] + (webglLoc > 0 ? `[${webglLoc}]` : ""));
|
|
7618
7715
|
}
|
|
7619
7716
|
// Else an already cached WebGLUniformLocation, return it.
|
|
7620
7717
|
return webglLoc;
|
|
@@ -7623,6 +7720,8 @@ var webglGetUniformLocation = location => {
|
|
|
7623
7720
|
}
|
|
7624
7721
|
};
|
|
7625
7722
|
|
|
7723
|
+
var webglGetUniformLocation = location => webglGetProgramUniformLocation(GLctx.currentProgram, location);
|
|
7724
|
+
|
|
7626
7725
|
var _emscripten_glUniform1i = (location, v0) => {
|
|
7627
7726
|
GLctx.uniform1i(webglGetUniformLocation(location), v0);
|
|
7628
7727
|
};
|
|
@@ -7649,7 +7748,7 @@ function _emscripten_glVertexAttribPointer(index, size, type, normalized, stride
|
|
|
7649
7748
|
cb.stride = stride;
|
|
7650
7749
|
cb.ptr = ptr;
|
|
7651
7750
|
cb.clientside = true;
|
|
7652
|
-
cb.vertexAttribPointerAdaptor = function(index, size, type, normalized, stride, ptr) {
|
|
7751
|
+
cb.vertexAttribPointerAdaptor = /** @this {WebGLRenderingContext} */ function(index, size, type, normalized, stride, ptr) {
|
|
7653
7752
|
this.vertexAttribPointer(index, size, type, normalized, stride, ptr);
|
|
7654
7753
|
};
|
|
7655
7754
|
return;
|
|
@@ -7667,13 +7766,7 @@ var _glViewport = _emscripten_glViewport;
|
|
|
7667
7766
|
function _random_get(buffer, size) {
|
|
7668
7767
|
buffer >>>= 0;
|
|
7669
7768
|
size >>>= 0;
|
|
7670
|
-
|
|
7671
|
-
randomFill(HEAPU8.subarray(buffer >>> 0, buffer + size >>> 0));
|
|
7672
|
-
return 0;
|
|
7673
|
-
} catch (e) {
|
|
7674
|
-
if (typeof FS == "undefined" || !(e.name === "ErrnoError")) throw e;
|
|
7675
|
-
return e.errno;
|
|
7676
|
-
}
|
|
7769
|
+
return randomFill(HEAPU8.subarray(buffer >>> 0, buffer + size >>> 0));
|
|
7677
7770
|
}
|
|
7678
7771
|
|
|
7679
7772
|
var _wgpuBufferGetSize = function(bufferPtr) {
|
|
@@ -7956,7 +8049,8 @@ function _wgpuDeviceCreatePipelineLayout(devicePtr, descriptor) {
|
|
|
7956
8049
|
}
|
|
7957
8050
|
var desc = {
|
|
7958
8051
|
"label": WebGPU.makeStringFromOptionalStringView(descriptor + 4),
|
|
7959
|
-
"bindGroupLayouts": bgls
|
|
8052
|
+
"bindGroupLayouts": bgls,
|
|
8053
|
+
"immediateSize": HEAPU32[(((descriptor) + (20)) >>> 2) >>> 0]
|
|
7960
8054
|
};
|
|
7961
8055
|
var device = WebGPU.getJsObject(devicePtr);
|
|
7962
8056
|
var ptr = _emwgpuCreatePipelineLayout(0);
|
|
@@ -8247,7 +8341,7 @@ registerPreMainLoop(() => GL.newRenderingFrameStarted());
|
|
|
8247
8341
|
if (Module["printErr"]) err = Module["printErr"];
|
|
8248
8342
|
if (Module["wasmBinary"]) wasmBinary = Module["wasmBinary"];
|
|
8249
8343
|
// End ATMODULES hooks
|
|
8250
|
-
if (Module["arguments"])
|
|
8344
|
+
if (Module["arguments"]) programArgs = Module["arguments"];
|
|
8251
8345
|
if (Module["thisProgram"]) thisProgram = Module["thisProgram"];
|
|
8252
8346
|
if (Module["preInit"]) {
|
|
8253
8347
|
if (typeof Module["preInit"] == "function") Module["preInit"] = [ Module["preInit"] ];
|
|
@@ -8283,18 +8377,18 @@ Module["FS_createLazyFile"] = FS_createLazyFile;
|
|
|
8283
8377
|
// End JS library exports
|
|
8284
8378
|
// end include: postlibrary.js
|
|
8285
8379
|
var ASM_CONSTS = {
|
|
8286
|
-
|
|
8287
|
-
|
|
8380
|
+
2087324: () => !!Module["preinitializedWebGPUDevice"],
|
|
8381
|
+
2087375: () => {
|
|
8288
8382
|
const retVal = Module.LLM_CANCEL_FLAG;
|
|
8289
8383
|
Module.LLM_CANCEL_FLAG = undefined;
|
|
8290
8384
|
return retVal || 0;
|
|
8291
8385
|
},
|
|
8292
|
-
|
|
8386
|
+
2087474: $0 => {
|
|
8293
8387
|
const device = WebGPU.getJsObject($0);
|
|
8294
8388
|
return device.features.has("subgroups");
|
|
8295
8389
|
},
|
|
8296
|
-
|
|
8297
|
-
|
|
8390
|
+
2087558: () => !!Module["preinitializedWebGPUDevice"],
|
|
8391
|
+
2087609: () => {
|
|
8298
8392
|
specialHTMLTargets["#canvas"] = Module.canvas;
|
|
8299
8393
|
}
|
|
8300
8394
|
};
|
|
@@ -8468,13 +8562,6 @@ function GetAdapterVendor() {
|
|
|
8468
8562
|
return stringToNewUTF8(vendor);
|
|
8469
8563
|
}
|
|
8470
8564
|
|
|
8471
|
-
function JsWrapErrorListener(code, message) {
|
|
8472
|
-
if (Module.errorListener) {
|
|
8473
|
-
const stringMessage = UTF8ToString(message);
|
|
8474
|
-
Module.errorListener(code, stringMessage);
|
|
8475
|
-
}
|
|
8476
|
-
}
|
|
8477
|
-
|
|
8478
8565
|
function UseBottomLeftGpuOrigin() {
|
|
8479
8566
|
return (Module && Module.gpuOriginForWebTexturesIsBottomLeft);
|
|
8480
8567
|
}
|
|
@@ -8492,446 +8579,463 @@ function custom_emscripten_dbgn(str, len) {
|
|
|
8492
8579
|
}
|
|
8493
8580
|
}
|
|
8494
8581
|
|
|
8582
|
+
function JsWrapErrorListenerInternal(code, message) {
|
|
8583
|
+
if (Module.errorListener) {
|
|
8584
|
+
const stringMessage = UTF8ToString(message);
|
|
8585
|
+
Module.errorListener(code, stringMessage);
|
|
8586
|
+
}
|
|
8587
|
+
}
|
|
8588
|
+
|
|
8495
8589
|
// Imports from the Wasm binary.
|
|
8496
|
-
var _free, _CreateLlmInferenceEngineConverted, _DeleteLlmInferenceEngine, _MakeSessionForPredict, _AddTextQueryChunk, _AddImageQueryChunk, _AddAudioQueryChunk, _malloc, _PredictSession, _FreeSession, _GetSizeInTokens, _wgpuDeviceAddRef, _registerModelResourcesGraphService, _bindTextureToStream, _addBoundTextureToStream, _addDoubleToInputStream, _addFloatToInputStream, _addBoolToInputStream, _addIntToInputStream, _addUintToInputStream, _addStringToInputStream, _addRawDataSpanToInputStream, _allocateBoolVector, _allocateFloatVector, _allocateDoubleVector, _allocateIntVector, _allocateUintVector, _allocateStringVector, _addBoolVectorEntry, _addFloatVectorEntry, _addDoubleVectorEntry, _addIntVectorEntry, _addUintVectorEntry, _addStringVectorEntry, _addBoolVectorToInputStream, _addFloatVectorToInputStream, _addDoubleVectorToInputStream, _addIntVectorToInputStream, _addUintVectorToInputStream, _addStringVectorToInputStream, _addFlatHashMapToInputStream, _addProtoToInputStream, _addEmptyPacketToInputStream, _addBoolToInputSidePacket, _addDoubleToInputSidePacket, _addFloatToInputSidePacket, _addIntToInputSidePacket, _addUintToInputSidePacket, _addStringToInputSidePacket, _addRawDataSpanToInputSidePacket, _addProtoToInputSidePacket, _addBoolVectorToInputSidePacket, _addDoubleVectorToInputSidePacket, _addFloatVectorToInputSidePacket, _addIntVectorToInputSidePacket, _addUintVectorToInputSidePacket, _addStringVectorToInputSidePacket, _attachBoolListener, _attachBoolVectorListener, _attachDoubleListener, _attachDoubleVectorListener, _attachFloatListener, _attachFloatVectorListener, _attachIntListener, _attachIntVectorListener, _attachUintListener, _attachUintVectorListener, _attachStringListener, _attachStringVectorListener, _attachProtoListener, _attachProtoVectorListener, _getGraphConfig, ___getTypeName, _emwgpuCreateBindGroup, _emwgpuCreateBindGroupLayout, _emwgpuCreateCommandBuffer, _emwgpuCreateCommandEncoder, _emwgpuCreateComputePassEncoder, _emwgpuCreateComputePipeline, _emwgpuCreateExternalTexture, _emwgpuCreatePipelineLayout, _emwgpuCreateQuerySet, _emwgpuCreateRenderBundle, _emwgpuCreateRenderBundleEncoder, _emwgpuCreateRenderPassEncoder, _emwgpuCreateRenderPipeline, _emwgpuCreateSampler, _emwgpuCreateSurface, _emwgpuCreateTexture, _emwgpuCreateTextureView, _emwgpuCreateAdapter, _emwgpuImportBuffer, _emwgpuCreateDevice, _emwgpuCreateQueue, _emwgpuCreateShaderModule, _emwgpuOnCreateComputePipelineCompleted, _emwgpuOnWorkDoneCompleted, _clearSubgraphs, _pushBinarySubgraph, _pushTextSubgraph, _changeBinaryGraph, _changeTextGraph, _processGl, _process, _bindTextureToCanvas, _requestShaderRefreshOnGraphChange, _waitUntilIdle, _closeGraph, _setAutoRenderToScreen, _emscripten_builtin_memalign, _memalign, __emscripten_tempret_set, __emscripten_stack_restore, __emscripten_stack_alloc, _emscripten_stack_get_current, dynCall_vii, dynCall_viiiiiii, dynCall_viiiiii, dynCall_v, dynCall_ii, dynCall_vi, dynCall_iiiii, dynCall_iii, dynCall_viii, dynCall_i, dynCall_ji,
|
|
8590
|
+
var _free, _CreateLlmInferenceEngineConverted, _DeleteLlmInferenceEngine, _MakeSessionForPredict, _AddTextQueryChunk, _AddImageQueryChunk, _AddAudioQueryChunk, _malloc, _PredictSession, _FreeSession, _GetLiteRtModelOffset, _GetSizeInTokens, _wgpuDeviceAddRef, _registerModelResourcesGraphService, _bindTextureToStream, _addBoundTextureToStream, _addDoubleToInputStream, _addFloatToInputStream, _addBoolToInputStream, _addIntToInputStream, _addUintToInputStream, _addStringToInputStream, _addRawDataSpanToInputStream, _allocateBoolVector, _allocateFloatVector, _allocateDoubleVector, _allocateIntVector, _allocateUintVector, _allocateStringVector, _addBoolVectorEntry, _addFloatVectorEntry, _addDoubleVectorEntry, _addIntVectorEntry, _addUintVectorEntry, _addStringVectorEntry, _addBoolVectorToInputStream, _addFloatVectorToInputStream, _addDoubleVectorToInputStream, _addIntVectorToInputStream, _addUintVectorToInputStream, _addStringVectorToInputStream, _addFlatHashMapToInputStream, _addProtoToInputStream, _addEmptyPacketToInputStream, _addBoolToInputSidePacket, _addDoubleToInputSidePacket, _addFloatToInputSidePacket, _addIntToInputSidePacket, _addUintToInputSidePacket, _addStringToInputSidePacket, _addRawDataSpanToInputSidePacket, _addProtoToInputSidePacket, _addBoolVectorToInputSidePacket, _addDoubleVectorToInputSidePacket, _addFloatVectorToInputSidePacket, _addIntVectorToInputSidePacket, _addUintVectorToInputSidePacket, _addStringVectorToInputSidePacket, _attachBoolListener, _attachBoolVectorListener, _attachDoubleListener, _attachDoubleVectorListener, _attachFloatListener, _attachFloatVectorListener, _attachIntListener, _attachIntVectorListener, _attachUintListener, _attachUintVectorListener, _attachStringListener, _attachStringVectorListener, _attachProtoListener, _attachProtoVectorListener, _getGraphConfig, ___getTypeName, _emwgpuCreateBindGroup, _emwgpuCreateBindGroupLayout, _emwgpuCreateCommandBuffer, _emwgpuCreateCommandEncoder, _emwgpuCreateComputePassEncoder, _emwgpuCreateComputePipeline, _emwgpuCreateExternalTexture, _emwgpuCreatePipelineLayout, _emwgpuCreateQuerySet, _emwgpuCreateRenderBundle, _emwgpuCreateRenderBundleEncoder, _emwgpuCreateRenderPassEncoder, _emwgpuCreateRenderPipeline, _emwgpuCreateSampler, _emwgpuCreateSurface, _emwgpuCreateTexture, _emwgpuCreateTextureView, _emwgpuCreateAdapter, _emwgpuImportBuffer, _emwgpuCreateDevice, _emwgpuCreateQueue, _emwgpuCreateShaderModule, _emwgpuOnCreateComputePipelineCompleted, _emwgpuOnWorkDoneCompleted, _clearSubgraphs, _pushBinarySubgraph, _pushTextSubgraph, _changeBinaryGraph, _changeTextGraph, _processGl, _process, _bindTextureToCanvas, _requestShaderRefreshOnGraphChange, _waitUntilIdle, _closeGraph, _setAutoRenderToScreen, _emscripten_builtin_memalign, _memalign, __emscripten_tempret_set, __emscripten_stack_restore, __emscripten_stack_alloc, _emscripten_stack_get_current, dynCall_vii, dynCall_viiiiiii, dynCall_viiiiii, dynCall_v, dynCall_ii, dynCall_vi, dynCall_iiiii, dynCall_iii, dynCall_viii, dynCall_iiii, dynCall_iiiijij, dynCall_i, dynCall_ji, dynCall_viiii, dynCall_viiiii, dynCall_jii, dynCall_ff, dynCall_did, dynCall_iiiiiii, dynCall_iiiiii, dynCall_iiiiiiiiiii, dynCall_iiiiiiiiiiii, dynCall_iiiiiiiiiiiii, dynCall_viijj, dynCall_vijiii, dynCall_iiiiiiiii, dynCall_viiiiiiii, dynCall_iiiif, dynCall_viiiiiiiiiiiiiii, dynCall_viff, dynCall_viiffii, dynCall_viiffi, dynCall_viiiiiiiiii, dynCall_fi, dynCall_viiffff, dynCall_viiiiij, dynCall_vij, dynCall_viiiiiffii, dynCall_vif, dynCall_ddd, dynCall_dddd, dynCall_idd, dynCall_di, dynCall_jiiiijiiiii, dynCall_viiij, dynCall_viid, dynCall_vidd, dynCall_vifd, dynCall_viji, dynCall_viiiiiiiiiii, dynCall_iiif, dynCall_jiii, dynCall_iiiiiiii, dynCall_iiiiiiiiii, dynCall_iij, dynCall_iiiijj, dynCall_viiijjj, dynCall_fff, dynCall_viifii, dynCall_iff, dynCall_ijj, dynCall_fii, dynCall_vfiii, dynCall_jjj, dynCall_fiii, dynCall_viiiiiiiii, dynCall_viiiffii, dynCall_iiiiiffi, dynCall_viiiiiff, dynCall_viiiiiiiiiiiii, dynCall_viiiiiiiiiiii, dynCall_viiiiiiiiiiiiiiiii, dynCall_iifff, dynCall_iiff, dynCall_iiifiii, dynCall_iiffi, dynCall_iiffii, dynCall_viiiiiiiiiiiiii, dynCall_iif, dynCall_viijii, dynCall_iiiji, dynCall_viiif, dynCall_viiifiii, dynCall_fiif, dynCall_iiiifi, dynCall_iiiifiii, dynCall_iiifi, dynCall_viiiif, dynCall_viiiifii, dynCall_dii, dynCall_vifi, dynCall_vidi, dynCall_vijjj, dynCall_vj, dynCall_viij, dynCall_jiji, dynCall_iidiiiii, dynCall_iiiiij, dynCall_iiiiid, dynCall_iiiiijj, dynCall_iiiiiijj, _asyncify_start_unwind, _asyncify_stop_unwind, _asyncify_start_rewind, _asyncify_stop_rewind, memory, _kVersionStampBuildChangelistStr, _kVersionStampCitcSnapshotStr, _kVersionStampCitcWorkspaceIdStr, _kVersionStampSourceUriStr, _kVersionStampBuildClientStr, _kVersionStampBuildClientMintStatusStr, _kVersionStampBuildCompilerStr, _kVersionStampBuildDateTimePstStr, _kVersionStampBuildDepotPathStr, _kVersionStampBuildIdStr, _kVersionStampBuildInfoStr, _kVersionStampBuildLabelStr, _kVersionStampBuildTargetStr, _kVersionStampBuildTimestampStr, _kVersionStampBuildToolStr, _kVersionStampG3BuildTargetStr, _kVersionStampVerifiableStr, _kVersionStampBuildFdoTypeStr, _kVersionStampBuildBaselineChangelistStr, _kVersionStampBuildLtoTypeStr, _kVersionStampBuildPropellerTypeStr, _kVersionStampBuildPghoTypeStr, _kVersionStampBuildFdoProfileChangelistStr, _kVersionStampBuildMemprofProfileChangelistStr, _kVersionStampBuildUsernameStr, _kVersionStampBuildHostnameStr, _kVersionStampBuildDirectoryStr, _kVersionStampBuildChangelistInt, _kVersionStampCitcSnapshotInt, _kVersionStampBuildClientMintStatusInt, _kVersionStampBuildTimestampInt, _kVersionStampVerifiableInt, _kVersionStampBuildCoverageEnabledInt, _kVersionStampBuildBaselineChangelistInt, _kVersionStampPrecookedTimestampStr, _kVersionStampPrecookedClientInfoStr, __indirect_function_table, _kVersionStampBuildHasHardeningProtobuf, wasmMemory;
|
|
8497
8591
|
|
|
8498
8592
|
function assignWasmExports(wasmExports) {
|
|
8499
|
-
_free = Module["_free"] = wasmExports["
|
|
8500
|
-
_CreateLlmInferenceEngineConverted = Module["_CreateLlmInferenceEngineConverted"] = wasmExports["
|
|
8501
|
-
_DeleteLlmInferenceEngine = Module["_DeleteLlmInferenceEngine"] = wasmExports["
|
|
8502
|
-
_MakeSessionForPredict = Module["_MakeSessionForPredict"] = wasmExports["
|
|
8503
|
-
_AddTextQueryChunk = Module["_AddTextQueryChunk"] = wasmExports["
|
|
8504
|
-
_AddImageQueryChunk = Module["_AddImageQueryChunk"] = wasmExports["
|
|
8505
|
-
_AddAudioQueryChunk = Module["_AddAudioQueryChunk"] = wasmExports["
|
|
8506
|
-
_malloc = Module["_malloc"] = wasmExports["
|
|
8507
|
-
_PredictSession = Module["_PredictSession"] = wasmExports["
|
|
8508
|
-
_FreeSession = Module["_FreeSession"] = wasmExports["
|
|
8509
|
-
|
|
8510
|
-
|
|
8511
|
-
|
|
8512
|
-
|
|
8513
|
-
|
|
8514
|
-
|
|
8515
|
-
|
|
8516
|
-
|
|
8517
|
-
|
|
8518
|
-
|
|
8519
|
-
|
|
8520
|
-
|
|
8521
|
-
|
|
8522
|
-
|
|
8523
|
-
|
|
8524
|
-
|
|
8525
|
-
|
|
8526
|
-
|
|
8527
|
-
|
|
8528
|
-
|
|
8529
|
-
|
|
8530
|
-
|
|
8531
|
-
|
|
8532
|
-
|
|
8533
|
-
|
|
8534
|
-
|
|
8535
|
-
|
|
8536
|
-
|
|
8537
|
-
|
|
8538
|
-
|
|
8539
|
-
|
|
8540
|
-
|
|
8541
|
-
|
|
8542
|
-
|
|
8543
|
-
|
|
8544
|
-
|
|
8545
|
-
|
|
8546
|
-
|
|
8547
|
-
|
|
8548
|
-
|
|
8549
|
-
|
|
8550
|
-
|
|
8551
|
-
|
|
8552
|
-
|
|
8553
|
-
|
|
8554
|
-
|
|
8555
|
-
|
|
8556
|
-
|
|
8557
|
-
|
|
8558
|
-
|
|
8559
|
-
|
|
8560
|
-
|
|
8561
|
-
|
|
8562
|
-
|
|
8563
|
-
|
|
8564
|
-
|
|
8565
|
-
|
|
8566
|
-
|
|
8567
|
-
|
|
8568
|
-
|
|
8569
|
-
|
|
8570
|
-
|
|
8571
|
-
|
|
8572
|
-
|
|
8573
|
-
|
|
8574
|
-
|
|
8575
|
-
|
|
8576
|
-
|
|
8577
|
-
|
|
8578
|
-
|
|
8579
|
-
|
|
8580
|
-
|
|
8581
|
-
|
|
8582
|
-
|
|
8583
|
-
|
|
8584
|
-
|
|
8585
|
-
|
|
8586
|
-
|
|
8587
|
-
|
|
8588
|
-
|
|
8589
|
-
|
|
8590
|
-
|
|
8591
|
-
|
|
8592
|
-
|
|
8593
|
-
|
|
8594
|
-
|
|
8595
|
-
|
|
8596
|
-
|
|
8597
|
-
|
|
8598
|
-
|
|
8599
|
-
|
|
8600
|
-
|
|
8601
|
-
|
|
8602
|
-
|
|
8603
|
-
|
|
8604
|
-
|
|
8605
|
-
|
|
8606
|
-
|
|
8607
|
-
|
|
8608
|
-
|
|
8609
|
-
|
|
8610
|
-
|
|
8611
|
-
|
|
8612
|
-
|
|
8613
|
-
|
|
8614
|
-
|
|
8615
|
-
|
|
8616
|
-
|
|
8617
|
-
|
|
8618
|
-
|
|
8619
|
-
|
|
8620
|
-
|
|
8621
|
-
|
|
8622
|
-
|
|
8623
|
-
|
|
8624
|
-
|
|
8625
|
-
|
|
8626
|
-
|
|
8627
|
-
|
|
8628
|
-
|
|
8629
|
-
|
|
8630
|
-
|
|
8631
|
-
|
|
8632
|
-
|
|
8633
|
-
|
|
8634
|
-
|
|
8635
|
-
|
|
8636
|
-
|
|
8637
|
-
|
|
8638
|
-
|
|
8639
|
-
|
|
8640
|
-
|
|
8641
|
-
|
|
8642
|
-
|
|
8643
|
-
|
|
8644
|
-
|
|
8645
|
-
|
|
8646
|
-
|
|
8647
|
-
|
|
8648
|
-
|
|
8649
|
-
|
|
8650
|
-
|
|
8651
|
-
|
|
8652
|
-
|
|
8653
|
-
|
|
8654
|
-
|
|
8655
|
-
|
|
8656
|
-
|
|
8657
|
-
|
|
8658
|
-
|
|
8659
|
-
|
|
8660
|
-
|
|
8661
|
-
|
|
8662
|
-
|
|
8663
|
-
|
|
8664
|
-
|
|
8665
|
-
|
|
8666
|
-
|
|
8667
|
-
|
|
8668
|
-
|
|
8669
|
-
|
|
8670
|
-
|
|
8671
|
-
|
|
8672
|
-
|
|
8673
|
-
|
|
8674
|
-
|
|
8675
|
-
|
|
8676
|
-
|
|
8677
|
-
|
|
8678
|
-
|
|
8679
|
-
|
|
8680
|
-
|
|
8681
|
-
|
|
8682
|
-
|
|
8683
|
-
|
|
8684
|
-
|
|
8685
|
-
|
|
8686
|
-
|
|
8687
|
-
|
|
8688
|
-
|
|
8689
|
-
|
|
8690
|
-
|
|
8691
|
-
|
|
8692
|
-
|
|
8693
|
-
|
|
8694
|
-
|
|
8695
|
-
|
|
8696
|
-
|
|
8697
|
-
|
|
8698
|
-
|
|
8699
|
-
|
|
8700
|
-
|
|
8701
|
-
|
|
8702
|
-
|
|
8703
|
-
|
|
8704
|
-
|
|
8705
|
-
|
|
8706
|
-
|
|
8707
|
-
|
|
8708
|
-
|
|
8709
|
-
|
|
8710
|
-
|
|
8711
|
-
|
|
8712
|
-
|
|
8713
|
-
|
|
8714
|
-
|
|
8715
|
-
|
|
8716
|
-
|
|
8717
|
-
|
|
8718
|
-
|
|
8719
|
-
|
|
8720
|
-
|
|
8721
|
-
|
|
8722
|
-
|
|
8723
|
-
|
|
8724
|
-
|
|
8725
|
-
|
|
8726
|
-
|
|
8727
|
-
|
|
8728
|
-
|
|
8729
|
-
|
|
8730
|
-
|
|
8731
|
-
|
|
8732
|
-
|
|
8733
|
-
|
|
8734
|
-
|
|
8735
|
-
|
|
8736
|
-
|
|
8737
|
-
|
|
8738
|
-
|
|
8739
|
-
|
|
8740
|
-
|
|
8741
|
-
|
|
8742
|
-
|
|
8743
|
-
|
|
8744
|
-
|
|
8745
|
-
|
|
8746
|
-
|
|
8747
|
-
|
|
8748
|
-
|
|
8749
|
-
|
|
8750
|
-
|
|
8751
|
-
|
|
8593
|
+
_free = Module["_free"] = wasmExports["fd"];
|
|
8594
|
+
_CreateLlmInferenceEngineConverted = Module["_CreateLlmInferenceEngineConverted"] = wasmExports["gd"];
|
|
8595
|
+
_DeleteLlmInferenceEngine = Module["_DeleteLlmInferenceEngine"] = wasmExports["hd"];
|
|
8596
|
+
_MakeSessionForPredict = Module["_MakeSessionForPredict"] = wasmExports["id"];
|
|
8597
|
+
_AddTextQueryChunk = Module["_AddTextQueryChunk"] = wasmExports["jd"];
|
|
8598
|
+
_AddImageQueryChunk = Module["_AddImageQueryChunk"] = wasmExports["kd"];
|
|
8599
|
+
_AddAudioQueryChunk = Module["_AddAudioQueryChunk"] = wasmExports["ld"];
|
|
8600
|
+
_malloc = Module["_malloc"] = wasmExports["md"];
|
|
8601
|
+
_PredictSession = Module["_PredictSession"] = wasmExports["nd"];
|
|
8602
|
+
_FreeSession = Module["_FreeSession"] = wasmExports["od"];
|
|
8603
|
+
_GetLiteRtModelOffset = Module["_GetLiteRtModelOffset"] = wasmExports["pd"];
|
|
8604
|
+
_GetSizeInTokens = Module["_GetSizeInTokens"] = wasmExports["qd"];
|
|
8605
|
+
_wgpuDeviceAddRef = wasmExports["rd"];
|
|
8606
|
+
_registerModelResourcesGraphService = Module["_registerModelResourcesGraphService"] = wasmExports["sd"];
|
|
8607
|
+
_bindTextureToStream = Module["_bindTextureToStream"] = wasmExports["td"];
|
|
8608
|
+
_addBoundTextureToStream = Module["_addBoundTextureToStream"] = wasmExports["ud"];
|
|
8609
|
+
_addDoubleToInputStream = Module["_addDoubleToInputStream"] = wasmExports["vd"];
|
|
8610
|
+
_addFloatToInputStream = Module["_addFloatToInputStream"] = wasmExports["wd"];
|
|
8611
|
+
_addBoolToInputStream = Module["_addBoolToInputStream"] = wasmExports["xd"];
|
|
8612
|
+
_addIntToInputStream = Module["_addIntToInputStream"] = wasmExports["yd"];
|
|
8613
|
+
_addUintToInputStream = Module["_addUintToInputStream"] = wasmExports["zd"];
|
|
8614
|
+
_addStringToInputStream = Module["_addStringToInputStream"] = wasmExports["Ad"];
|
|
8615
|
+
_addRawDataSpanToInputStream = Module["_addRawDataSpanToInputStream"] = wasmExports["Bd"];
|
|
8616
|
+
_allocateBoolVector = Module["_allocateBoolVector"] = wasmExports["Cd"];
|
|
8617
|
+
_allocateFloatVector = Module["_allocateFloatVector"] = wasmExports["Dd"];
|
|
8618
|
+
_allocateDoubleVector = Module["_allocateDoubleVector"] = wasmExports["Ed"];
|
|
8619
|
+
_allocateIntVector = Module["_allocateIntVector"] = wasmExports["Fd"];
|
|
8620
|
+
_allocateUintVector = Module["_allocateUintVector"] = wasmExports["Gd"];
|
|
8621
|
+
_allocateStringVector = Module["_allocateStringVector"] = wasmExports["Hd"];
|
|
8622
|
+
_addBoolVectorEntry = Module["_addBoolVectorEntry"] = wasmExports["Id"];
|
|
8623
|
+
_addFloatVectorEntry = Module["_addFloatVectorEntry"] = wasmExports["Jd"];
|
|
8624
|
+
_addDoubleVectorEntry = Module["_addDoubleVectorEntry"] = wasmExports["Kd"];
|
|
8625
|
+
_addIntVectorEntry = Module["_addIntVectorEntry"] = wasmExports["Ld"];
|
|
8626
|
+
_addUintVectorEntry = Module["_addUintVectorEntry"] = wasmExports["Md"];
|
|
8627
|
+
_addStringVectorEntry = Module["_addStringVectorEntry"] = wasmExports["Nd"];
|
|
8628
|
+
_addBoolVectorToInputStream = Module["_addBoolVectorToInputStream"] = wasmExports["Od"];
|
|
8629
|
+
_addFloatVectorToInputStream = Module["_addFloatVectorToInputStream"] = wasmExports["Pd"];
|
|
8630
|
+
_addDoubleVectorToInputStream = Module["_addDoubleVectorToInputStream"] = wasmExports["Qd"];
|
|
8631
|
+
_addIntVectorToInputStream = Module["_addIntVectorToInputStream"] = wasmExports["Rd"];
|
|
8632
|
+
_addUintVectorToInputStream = Module["_addUintVectorToInputStream"] = wasmExports["Sd"];
|
|
8633
|
+
_addStringVectorToInputStream = Module["_addStringVectorToInputStream"] = wasmExports["Td"];
|
|
8634
|
+
_addFlatHashMapToInputStream = Module["_addFlatHashMapToInputStream"] = wasmExports["Ud"];
|
|
8635
|
+
_addProtoToInputStream = Module["_addProtoToInputStream"] = wasmExports["Vd"];
|
|
8636
|
+
_addEmptyPacketToInputStream = Module["_addEmptyPacketToInputStream"] = wasmExports["Wd"];
|
|
8637
|
+
_addBoolToInputSidePacket = Module["_addBoolToInputSidePacket"] = wasmExports["Xd"];
|
|
8638
|
+
_addDoubleToInputSidePacket = Module["_addDoubleToInputSidePacket"] = wasmExports["Yd"];
|
|
8639
|
+
_addFloatToInputSidePacket = Module["_addFloatToInputSidePacket"] = wasmExports["Zd"];
|
|
8640
|
+
_addIntToInputSidePacket = Module["_addIntToInputSidePacket"] = wasmExports["_d"];
|
|
8641
|
+
_addUintToInputSidePacket = Module["_addUintToInputSidePacket"] = wasmExports["$d"];
|
|
8642
|
+
_addStringToInputSidePacket = Module["_addStringToInputSidePacket"] = wasmExports["ae"];
|
|
8643
|
+
_addRawDataSpanToInputSidePacket = Module["_addRawDataSpanToInputSidePacket"] = wasmExports["be"];
|
|
8644
|
+
_addProtoToInputSidePacket = Module["_addProtoToInputSidePacket"] = wasmExports["ce"];
|
|
8645
|
+
_addBoolVectorToInputSidePacket = Module["_addBoolVectorToInputSidePacket"] = wasmExports["de"];
|
|
8646
|
+
_addDoubleVectorToInputSidePacket = Module["_addDoubleVectorToInputSidePacket"] = wasmExports["ee"];
|
|
8647
|
+
_addFloatVectorToInputSidePacket = Module["_addFloatVectorToInputSidePacket"] = wasmExports["fe"];
|
|
8648
|
+
_addIntVectorToInputSidePacket = Module["_addIntVectorToInputSidePacket"] = wasmExports["ge"];
|
|
8649
|
+
_addUintVectorToInputSidePacket = Module["_addUintVectorToInputSidePacket"] = wasmExports["he"];
|
|
8650
|
+
_addStringVectorToInputSidePacket = Module["_addStringVectorToInputSidePacket"] = wasmExports["ie"];
|
|
8651
|
+
_attachBoolListener = Module["_attachBoolListener"] = wasmExports["je"];
|
|
8652
|
+
_attachBoolVectorListener = Module["_attachBoolVectorListener"] = wasmExports["ke"];
|
|
8653
|
+
_attachDoubleListener = Module["_attachDoubleListener"] = wasmExports["le"];
|
|
8654
|
+
_attachDoubleVectorListener = Module["_attachDoubleVectorListener"] = wasmExports["me"];
|
|
8655
|
+
_attachFloatListener = Module["_attachFloatListener"] = wasmExports["ne"];
|
|
8656
|
+
_attachFloatVectorListener = Module["_attachFloatVectorListener"] = wasmExports["oe"];
|
|
8657
|
+
_attachIntListener = Module["_attachIntListener"] = wasmExports["pe"];
|
|
8658
|
+
_attachIntVectorListener = Module["_attachIntVectorListener"] = wasmExports["qe"];
|
|
8659
|
+
_attachUintListener = Module["_attachUintListener"] = wasmExports["re"];
|
|
8660
|
+
_attachUintVectorListener = Module["_attachUintVectorListener"] = wasmExports["se"];
|
|
8661
|
+
_attachStringListener = Module["_attachStringListener"] = wasmExports["te"];
|
|
8662
|
+
_attachStringVectorListener = Module["_attachStringVectorListener"] = wasmExports["ue"];
|
|
8663
|
+
_attachProtoListener = Module["_attachProtoListener"] = wasmExports["ve"];
|
|
8664
|
+
_attachProtoVectorListener = Module["_attachProtoVectorListener"] = wasmExports["we"];
|
|
8665
|
+
_getGraphConfig = Module["_getGraphConfig"] = wasmExports["xe"];
|
|
8666
|
+
___getTypeName = wasmExports["ye"];
|
|
8667
|
+
_emwgpuCreateBindGroup = wasmExports["ze"];
|
|
8668
|
+
_emwgpuCreateBindGroupLayout = wasmExports["Ae"];
|
|
8669
|
+
_emwgpuCreateCommandBuffer = wasmExports["Be"];
|
|
8670
|
+
_emwgpuCreateCommandEncoder = wasmExports["Ce"];
|
|
8671
|
+
_emwgpuCreateComputePassEncoder = wasmExports["De"];
|
|
8672
|
+
_emwgpuCreateComputePipeline = wasmExports["Ee"];
|
|
8673
|
+
_emwgpuCreateExternalTexture = wasmExports["Fe"];
|
|
8674
|
+
_emwgpuCreatePipelineLayout = wasmExports["Ge"];
|
|
8675
|
+
_emwgpuCreateQuerySet = wasmExports["He"];
|
|
8676
|
+
_emwgpuCreateRenderBundle = wasmExports["Ie"];
|
|
8677
|
+
_emwgpuCreateRenderBundleEncoder = wasmExports["Je"];
|
|
8678
|
+
_emwgpuCreateRenderPassEncoder = wasmExports["Ke"];
|
|
8679
|
+
_emwgpuCreateRenderPipeline = wasmExports["Le"];
|
|
8680
|
+
_emwgpuCreateSampler = wasmExports["Me"];
|
|
8681
|
+
_emwgpuCreateSurface = wasmExports["Ne"];
|
|
8682
|
+
_emwgpuCreateTexture = wasmExports["Oe"];
|
|
8683
|
+
_emwgpuCreateTextureView = wasmExports["Pe"];
|
|
8684
|
+
_emwgpuCreateAdapter = wasmExports["Qe"];
|
|
8685
|
+
_emwgpuImportBuffer = wasmExports["Re"];
|
|
8686
|
+
_emwgpuCreateDevice = wasmExports["Se"];
|
|
8687
|
+
_emwgpuCreateQueue = wasmExports["Te"];
|
|
8688
|
+
_emwgpuCreateShaderModule = wasmExports["Ue"];
|
|
8689
|
+
_emwgpuOnCreateComputePipelineCompleted = wasmExports["Ve"];
|
|
8690
|
+
_emwgpuOnWorkDoneCompleted = wasmExports["We"];
|
|
8691
|
+
_clearSubgraphs = Module["_clearSubgraphs"] = wasmExports["Xe"];
|
|
8692
|
+
_pushBinarySubgraph = Module["_pushBinarySubgraph"] = wasmExports["Ye"];
|
|
8693
|
+
_pushTextSubgraph = Module["_pushTextSubgraph"] = wasmExports["Ze"];
|
|
8694
|
+
_changeBinaryGraph = Module["_changeBinaryGraph"] = wasmExports["_e"];
|
|
8695
|
+
_changeTextGraph = Module["_changeTextGraph"] = wasmExports["$e"];
|
|
8696
|
+
_processGl = Module["_processGl"] = wasmExports["af"];
|
|
8697
|
+
_process = Module["_process"] = wasmExports["bf"];
|
|
8698
|
+
_bindTextureToCanvas = Module["_bindTextureToCanvas"] = wasmExports["cf"];
|
|
8699
|
+
_requestShaderRefreshOnGraphChange = Module["_requestShaderRefreshOnGraphChange"] = wasmExports["df"];
|
|
8700
|
+
_waitUntilIdle = Module["_waitUntilIdle"] = wasmExports["ef"];
|
|
8701
|
+
_closeGraph = Module["_closeGraph"] = wasmExports["ff"];
|
|
8702
|
+
_setAutoRenderToScreen = Module["_setAutoRenderToScreen"] = wasmExports["gf"];
|
|
8703
|
+
_emscripten_builtin_memalign = wasmExports["jf"];
|
|
8704
|
+
_memalign = wasmExports["kf"];
|
|
8705
|
+
__emscripten_tempret_set = wasmExports["lf"];
|
|
8706
|
+
__emscripten_stack_restore = wasmExports["mf"];
|
|
8707
|
+
__emscripten_stack_alloc = wasmExports["nf"];
|
|
8708
|
+
_emscripten_stack_get_current = wasmExports["of"];
|
|
8709
|
+
dynCall_vii = dynCalls["vii"] = wasmExports["pf"];
|
|
8710
|
+
dynCall_viiiiiii = dynCalls["viiiiiii"] = wasmExports["qf"];
|
|
8711
|
+
dynCall_viiiiii = dynCalls["viiiiii"] = wasmExports["rf"];
|
|
8712
|
+
dynCall_v = dynCalls["v"] = wasmExports["sf"];
|
|
8713
|
+
dynCall_ii = dynCalls["ii"] = wasmExports["tf"];
|
|
8714
|
+
dynCall_vi = dynCalls["vi"] = wasmExports["uf"];
|
|
8715
|
+
dynCall_iiiii = dynCalls["iiiii"] = wasmExports["vf"];
|
|
8716
|
+
dynCall_iii = dynCalls["iii"] = wasmExports["wf"];
|
|
8717
|
+
dynCall_viii = dynCalls["viii"] = wasmExports["xf"];
|
|
8718
|
+
dynCall_iiii = dynCalls["iiii"] = wasmExports["yf"];
|
|
8719
|
+
dynCall_iiiijij = dynCalls["iiiijij"] = wasmExports["zf"];
|
|
8720
|
+
dynCall_i = dynCalls["i"] = wasmExports["Af"];
|
|
8721
|
+
dynCall_ji = dynCalls["ji"] = wasmExports["Bf"];
|
|
8722
|
+
dynCall_viiii = dynCalls["viiii"] = wasmExports["Cf"];
|
|
8723
|
+
dynCall_viiiii = dynCalls["viiiii"] = wasmExports["Df"];
|
|
8724
|
+
dynCall_jii = dynCalls["jii"] = wasmExports["Ef"];
|
|
8725
|
+
dynCall_ff = dynCalls["ff"] = wasmExports["Ff"];
|
|
8726
|
+
dynCall_did = dynCalls["did"] = wasmExports["Gf"];
|
|
8727
|
+
dynCall_iiiiiii = dynCalls["iiiiiii"] = wasmExports["Hf"];
|
|
8728
|
+
dynCall_iiiiii = dynCalls["iiiiii"] = wasmExports["If"];
|
|
8729
|
+
dynCall_iiiiiiiiiii = dynCalls["iiiiiiiiiii"] = wasmExports["Jf"];
|
|
8730
|
+
dynCall_iiiiiiiiiiii = dynCalls["iiiiiiiiiiii"] = wasmExports["Kf"];
|
|
8731
|
+
dynCall_iiiiiiiiiiiii = dynCalls["iiiiiiiiiiiii"] = wasmExports["Lf"];
|
|
8732
|
+
dynCall_viijj = dynCalls["viijj"] = wasmExports["Mf"];
|
|
8733
|
+
dynCall_vijiii = dynCalls["vijiii"] = wasmExports["Nf"];
|
|
8734
|
+
dynCall_iiiiiiiii = dynCalls["iiiiiiiii"] = wasmExports["Of"];
|
|
8735
|
+
dynCall_viiiiiiii = dynCalls["viiiiiiii"] = wasmExports["Pf"];
|
|
8736
|
+
dynCall_iiiif = dynCalls["iiiif"] = wasmExports["Qf"];
|
|
8737
|
+
dynCall_viiiiiiiiiiiiiii = dynCalls["viiiiiiiiiiiiiii"] = wasmExports["Rf"];
|
|
8738
|
+
dynCall_viff = dynCalls["viff"] = wasmExports["Sf"];
|
|
8739
|
+
dynCall_viiffii = dynCalls["viiffii"] = wasmExports["Tf"];
|
|
8740
|
+
dynCall_viiffi = dynCalls["viiffi"] = wasmExports["Uf"];
|
|
8741
|
+
dynCall_viiiiiiiiii = dynCalls["viiiiiiiiii"] = wasmExports["Vf"];
|
|
8742
|
+
dynCall_fi = dynCalls["fi"] = wasmExports["Wf"];
|
|
8743
|
+
dynCall_viiffff = dynCalls["viiffff"] = wasmExports["Xf"];
|
|
8744
|
+
dynCall_viiiiij = dynCalls["viiiiij"] = wasmExports["Yf"];
|
|
8745
|
+
dynCall_vij = dynCalls["vij"] = wasmExports["Zf"];
|
|
8746
|
+
dynCall_viiiiiffii = dynCalls["viiiiiffii"] = wasmExports["_f"];
|
|
8747
|
+
dynCall_vif = dynCalls["vif"] = wasmExports["$f"];
|
|
8748
|
+
dynCall_ddd = dynCalls["ddd"] = wasmExports["ag"];
|
|
8749
|
+
dynCall_dddd = dynCalls["dddd"] = wasmExports["bg"];
|
|
8750
|
+
dynCall_idd = dynCalls["idd"] = wasmExports["cg"];
|
|
8751
|
+
dynCall_di = dynCalls["di"] = wasmExports["dg"];
|
|
8752
|
+
dynCall_jiiiijiiiii = dynCalls["jiiiijiiiii"] = wasmExports["eg"];
|
|
8753
|
+
dynCall_viiij = dynCalls["viiij"] = wasmExports["fg"];
|
|
8754
|
+
dynCall_viid = dynCalls["viid"] = wasmExports["gg"];
|
|
8755
|
+
dynCall_vidd = dynCalls["vidd"] = wasmExports["hg"];
|
|
8756
|
+
dynCall_vifd = dynCalls["vifd"] = wasmExports["ig"];
|
|
8757
|
+
dynCall_viji = dynCalls["viji"] = wasmExports["jg"];
|
|
8758
|
+
dynCall_viiiiiiiiiii = dynCalls["viiiiiiiiiii"] = wasmExports["kg"];
|
|
8759
|
+
dynCall_iiif = dynCalls["iiif"] = wasmExports["lg"];
|
|
8760
|
+
dynCall_jiii = dynCalls["jiii"] = wasmExports["mg"];
|
|
8761
|
+
dynCall_iiiiiiii = dynCalls["iiiiiiii"] = wasmExports["ng"];
|
|
8762
|
+
dynCall_iiiiiiiiii = dynCalls["iiiiiiiiii"] = wasmExports["og"];
|
|
8763
|
+
dynCall_iij = dynCalls["iij"] = wasmExports["pg"];
|
|
8764
|
+
dynCall_iiiijj = dynCalls["iiiijj"] = wasmExports["qg"];
|
|
8765
|
+
dynCall_viiijjj = dynCalls["viiijjj"] = wasmExports["rg"];
|
|
8766
|
+
dynCall_fff = dynCalls["fff"] = wasmExports["sg"];
|
|
8767
|
+
dynCall_viifii = dynCalls["viifii"] = wasmExports["tg"];
|
|
8768
|
+
dynCall_iff = dynCalls["iff"] = wasmExports["ug"];
|
|
8769
|
+
dynCall_ijj = dynCalls["ijj"] = wasmExports["vg"];
|
|
8770
|
+
dynCall_fii = dynCalls["fii"] = wasmExports["wg"];
|
|
8771
|
+
dynCall_vfiii = dynCalls["vfiii"] = wasmExports["xg"];
|
|
8772
|
+
dynCall_jjj = dynCalls["jjj"] = wasmExports["yg"];
|
|
8773
|
+
dynCall_fiii = dynCalls["fiii"] = wasmExports["zg"];
|
|
8774
|
+
dynCall_viiiiiiiii = dynCalls["viiiiiiiii"] = wasmExports["Ag"];
|
|
8775
|
+
dynCall_viiiffii = dynCalls["viiiffii"] = wasmExports["Bg"];
|
|
8776
|
+
dynCall_iiiiiffi = dynCalls["iiiiiffi"] = wasmExports["Cg"];
|
|
8777
|
+
dynCall_viiiiiff = dynCalls["viiiiiff"] = wasmExports["Dg"];
|
|
8778
|
+
dynCall_viiiiiiiiiiiii = dynCalls["viiiiiiiiiiiii"] = wasmExports["Eg"];
|
|
8779
|
+
dynCall_viiiiiiiiiiii = dynCalls["viiiiiiiiiiii"] = wasmExports["Fg"];
|
|
8780
|
+
dynCall_viiiiiiiiiiiiiiiii = dynCalls["viiiiiiiiiiiiiiiii"] = wasmExports["Gg"];
|
|
8781
|
+
dynCall_iifff = dynCalls["iifff"] = wasmExports["Hg"];
|
|
8782
|
+
dynCall_iiff = dynCalls["iiff"] = wasmExports["Ig"];
|
|
8783
|
+
dynCall_iiifiii = dynCalls["iiifiii"] = wasmExports["Jg"];
|
|
8784
|
+
dynCall_iiffi = dynCalls["iiffi"] = wasmExports["Kg"];
|
|
8785
|
+
dynCall_iiffii = dynCalls["iiffii"] = wasmExports["Lg"];
|
|
8786
|
+
dynCall_viiiiiiiiiiiiii = dynCalls["viiiiiiiiiiiiii"] = wasmExports["Mg"];
|
|
8787
|
+
dynCall_iif = dynCalls["iif"] = wasmExports["Ng"];
|
|
8788
|
+
dynCall_viijii = dynCalls["viijii"] = wasmExports["Og"];
|
|
8789
|
+
dynCall_iiiji = dynCalls["iiiji"] = wasmExports["Pg"];
|
|
8790
|
+
dynCall_viiif = dynCalls["viiif"] = wasmExports["Qg"];
|
|
8791
|
+
dynCall_viiifiii = dynCalls["viiifiii"] = wasmExports["Rg"];
|
|
8792
|
+
dynCall_fiif = dynCalls["fiif"] = wasmExports["Sg"];
|
|
8793
|
+
dynCall_iiiifi = dynCalls["iiiifi"] = wasmExports["Tg"];
|
|
8794
|
+
dynCall_iiiifiii = dynCalls["iiiifiii"] = wasmExports["Ug"];
|
|
8795
|
+
dynCall_iiifi = dynCalls["iiifi"] = wasmExports["Vg"];
|
|
8796
|
+
dynCall_viiiif = dynCalls["viiiif"] = wasmExports["Wg"];
|
|
8797
|
+
dynCall_viiiifii = dynCalls["viiiifii"] = wasmExports["Xg"];
|
|
8798
|
+
dynCall_dii = dynCalls["dii"] = wasmExports["Yg"];
|
|
8799
|
+
dynCall_vifi = dynCalls["vifi"] = wasmExports["Zg"];
|
|
8800
|
+
dynCall_vidi = dynCalls["vidi"] = wasmExports["_g"];
|
|
8801
|
+
dynCall_vijjj = dynCalls["vijjj"] = wasmExports["$g"];
|
|
8802
|
+
dynCall_vj = dynCalls["vj"] = wasmExports["ah"];
|
|
8803
|
+
dynCall_viij = dynCalls["viij"] = wasmExports["bh"];
|
|
8804
|
+
dynCall_jiji = dynCalls["jiji"] = wasmExports["ch"];
|
|
8805
|
+
dynCall_iidiiiii = dynCalls["iidiiiii"] = wasmExports["dh"];
|
|
8806
|
+
dynCall_iiiiij = dynCalls["iiiiij"] = wasmExports["eh"];
|
|
8807
|
+
dynCall_iiiiid = dynCalls["iiiiid"] = wasmExports["fh"];
|
|
8808
|
+
dynCall_iiiiijj = dynCalls["iiiiijj"] = wasmExports["gh"];
|
|
8809
|
+
dynCall_iiiiiijj = dynCalls["iiiiiijj"] = wasmExports["hh"];
|
|
8810
|
+
_asyncify_start_unwind = wasmExports["ih"];
|
|
8811
|
+
_asyncify_stop_unwind = wasmExports["jh"];
|
|
8812
|
+
_asyncify_start_rewind = wasmExports["kh"];
|
|
8813
|
+
_asyncify_stop_rewind = wasmExports["lh"];
|
|
8814
|
+
memory = wasmMemory = wasmExports["vc"];
|
|
8815
|
+
_kVersionStampBuildChangelistStr = Module["_kVersionStampBuildChangelistStr"] = (wasmExports["xc"].value) >>> 0;
|
|
8816
|
+
_kVersionStampCitcSnapshotStr = Module["_kVersionStampCitcSnapshotStr"] = (wasmExports["yc"].value) >>> 0;
|
|
8817
|
+
_kVersionStampCitcWorkspaceIdStr = Module["_kVersionStampCitcWorkspaceIdStr"] = (wasmExports["zc"].value) >>> 0;
|
|
8818
|
+
_kVersionStampSourceUriStr = Module["_kVersionStampSourceUriStr"] = (wasmExports["Ac"].value) >>> 0;
|
|
8819
|
+
_kVersionStampBuildClientStr = Module["_kVersionStampBuildClientStr"] = (wasmExports["Bc"].value) >>> 0;
|
|
8820
|
+
_kVersionStampBuildClientMintStatusStr = Module["_kVersionStampBuildClientMintStatusStr"] = (wasmExports["Cc"].value) >>> 0;
|
|
8821
|
+
_kVersionStampBuildCompilerStr = Module["_kVersionStampBuildCompilerStr"] = (wasmExports["Dc"].value) >>> 0;
|
|
8822
|
+
_kVersionStampBuildDateTimePstStr = Module["_kVersionStampBuildDateTimePstStr"] = (wasmExports["Ec"].value) >>> 0;
|
|
8823
|
+
_kVersionStampBuildDepotPathStr = Module["_kVersionStampBuildDepotPathStr"] = (wasmExports["Fc"].value) >>> 0;
|
|
8824
|
+
_kVersionStampBuildIdStr = Module["_kVersionStampBuildIdStr"] = (wasmExports["Gc"].value) >>> 0;
|
|
8825
|
+
_kVersionStampBuildInfoStr = Module["_kVersionStampBuildInfoStr"] = (wasmExports["Hc"].value) >>> 0;
|
|
8826
|
+
_kVersionStampBuildLabelStr = Module["_kVersionStampBuildLabelStr"] = (wasmExports["Ic"].value) >>> 0;
|
|
8827
|
+
_kVersionStampBuildTargetStr = Module["_kVersionStampBuildTargetStr"] = (wasmExports["Jc"].value) >>> 0;
|
|
8828
|
+
_kVersionStampBuildTimestampStr = Module["_kVersionStampBuildTimestampStr"] = (wasmExports["Kc"].value) >>> 0;
|
|
8829
|
+
_kVersionStampBuildToolStr = Module["_kVersionStampBuildToolStr"] = (wasmExports["Lc"].value) >>> 0;
|
|
8830
|
+
_kVersionStampG3BuildTargetStr = Module["_kVersionStampG3BuildTargetStr"] = (wasmExports["Mc"].value) >>> 0;
|
|
8831
|
+
_kVersionStampVerifiableStr = Module["_kVersionStampVerifiableStr"] = (wasmExports["Nc"].value) >>> 0;
|
|
8832
|
+
_kVersionStampBuildFdoTypeStr = Module["_kVersionStampBuildFdoTypeStr"] = (wasmExports["Oc"].value) >>> 0;
|
|
8833
|
+
_kVersionStampBuildBaselineChangelistStr = Module["_kVersionStampBuildBaselineChangelistStr"] = (wasmExports["Pc"].value) >>> 0;
|
|
8834
|
+
_kVersionStampBuildLtoTypeStr = Module["_kVersionStampBuildLtoTypeStr"] = (wasmExports["Qc"].value) >>> 0;
|
|
8835
|
+
_kVersionStampBuildPropellerTypeStr = Module["_kVersionStampBuildPropellerTypeStr"] = (wasmExports["Rc"].value) >>> 0;
|
|
8836
|
+
_kVersionStampBuildPghoTypeStr = Module["_kVersionStampBuildPghoTypeStr"] = (wasmExports["Sc"].value) >>> 0;
|
|
8837
|
+
_kVersionStampBuildFdoProfileChangelistStr = Module["_kVersionStampBuildFdoProfileChangelistStr"] = (wasmExports["Tc"].value) >>> 0;
|
|
8838
|
+
_kVersionStampBuildMemprofProfileChangelistStr = Module["_kVersionStampBuildMemprofProfileChangelistStr"] = (wasmExports["Uc"].value) >>> 0;
|
|
8839
|
+
_kVersionStampBuildUsernameStr = Module["_kVersionStampBuildUsernameStr"] = (wasmExports["Vc"].value) >>> 0;
|
|
8840
|
+
_kVersionStampBuildHostnameStr = Module["_kVersionStampBuildHostnameStr"] = (wasmExports["Wc"].value) >>> 0;
|
|
8841
|
+
_kVersionStampBuildDirectoryStr = Module["_kVersionStampBuildDirectoryStr"] = (wasmExports["Xc"].value) >>> 0;
|
|
8842
|
+
_kVersionStampBuildChangelistInt = Module["_kVersionStampBuildChangelistInt"] = (wasmExports["Yc"].value) >>> 0;
|
|
8843
|
+
_kVersionStampCitcSnapshotInt = Module["_kVersionStampCitcSnapshotInt"] = (wasmExports["Zc"].value) >>> 0;
|
|
8844
|
+
_kVersionStampBuildClientMintStatusInt = Module["_kVersionStampBuildClientMintStatusInt"] = (wasmExports["_c"].value) >>> 0;
|
|
8845
|
+
_kVersionStampBuildTimestampInt = Module["_kVersionStampBuildTimestampInt"] = (wasmExports["$c"].value) >>> 0;
|
|
8846
|
+
_kVersionStampVerifiableInt = Module["_kVersionStampVerifiableInt"] = (wasmExports["ad"].value) >>> 0;
|
|
8847
|
+
_kVersionStampBuildCoverageEnabledInt = Module["_kVersionStampBuildCoverageEnabledInt"] = (wasmExports["bd"].value) >>> 0;
|
|
8848
|
+
_kVersionStampBuildBaselineChangelistInt = Module["_kVersionStampBuildBaselineChangelistInt"] = (wasmExports["cd"].value) >>> 0;
|
|
8849
|
+
_kVersionStampPrecookedTimestampStr = Module["_kVersionStampPrecookedTimestampStr"] = (wasmExports["dd"].value) >>> 0;
|
|
8850
|
+
_kVersionStampPrecookedClientInfoStr = Module["_kVersionStampPrecookedClientInfoStr"] = (wasmExports["ed"].value) >>> 0;
|
|
8752
8851
|
__indirect_function_table = wasmExports["__indirect_function_table"];
|
|
8852
|
+
_kVersionStampBuildHasHardeningProtobuf = Module["_kVersionStampBuildHasHardeningProtobuf"] = (wasmExports["hf"].value) >>> 0;
|
|
8753
8853
|
}
|
|
8754
8854
|
|
|
8755
8855
|
var wasmImports = {
|
|
8756
|
-
/** @export */
|
|
8757
|
-
/** @export */
|
|
8758
|
-
/** @export */
|
|
8759
|
-
/** @export */
|
|
8760
|
-
/** @export */
|
|
8761
|
-
/** @export */
|
|
8762
|
-
/** @export */
|
|
8763
|
-
/** @export */
|
|
8764
|
-
/** @export */
|
|
8765
|
-
/** @export */
|
|
8766
|
-
/** @export */
|
|
8767
|
-
/** @export */
|
|
8768
|
-
/** @export */
|
|
8769
|
-
/** @export */
|
|
8770
|
-
/** @export */
|
|
8771
|
-
/** @export */
|
|
8772
|
-
/** @export */
|
|
8773
|
-
/** @export */
|
|
8774
|
-
/** @export */
|
|
8775
|
-
/** @export */
|
|
8776
|
-
/** @export */
|
|
8777
|
-
/** @export */
|
|
8778
|
-
/** @export */
|
|
8779
|
-
/** @export */
|
|
8780
|
-
/** @export */
|
|
8856
|
+
/** @export */ tc: DefaultErrorReporter,
|
|
8857
|
+
/** @export */ sc: GetAdapterArchitecture,
|
|
8858
|
+
/** @export */ rc: GetAdapterDescription,
|
|
8859
|
+
/** @export */ qc: GetAdapterDeviceName,
|
|
8860
|
+
/** @export */ pc: GetAdapterVendor,
|
|
8861
|
+
/** @export */ nc: JsGetDeviceMaxSubgroupSize,
|
|
8862
|
+
/** @export */ mc: JsGetDeviceMinSubgroupSize,
|
|
8863
|
+
/** @export */ lc: JsOnEmptyPacketListener,
|
|
8864
|
+
/** @export */ na: JsOnSimpleListenerBinaryArray,
|
|
8865
|
+
/** @export */ kc: JsOnSimpleListenerBool,
|
|
8866
|
+
/** @export */ jc: JsOnSimpleListenerDouble,
|
|
8867
|
+
/** @export */ ic: JsOnSimpleListenerFloat,
|
|
8868
|
+
/** @export */ hc: JsOnSimpleListenerInt,
|
|
8869
|
+
/** @export */ gc: JsOnSimpleListenerString,
|
|
8870
|
+
/** @export */ fc: JsOnSimpleListenerUint,
|
|
8871
|
+
/** @export */ r: JsOnVectorFinishedListener,
|
|
8872
|
+
/** @export */ ec: JsOnVectorListenerBool,
|
|
8873
|
+
/** @export */ dc: JsOnVectorListenerDouble,
|
|
8874
|
+
/** @export */ cc: JsOnVectorListenerFloat,
|
|
8875
|
+
/** @export */ bc: JsOnVectorListenerInt,
|
|
8876
|
+
/** @export */ ac: JsOnVectorListenerProto,
|
|
8877
|
+
/** @export */ $b: JsOnVectorListenerString,
|
|
8878
|
+
/** @export */ _b: JsOnVectorListenerUint,
|
|
8879
|
+
/** @export */ ma: JsProgressListener,
|
|
8880
|
+
/** @export */ Zb: JsWrapErrorListenerInternal,
|
|
8781
8881
|
/** @export */ g: JsWrapSimpleListeners,
|
|
8782
|
-
/** @export */
|
|
8783
|
-
/** @export */
|
|
8784
|
-
/** @export */
|
|
8785
|
-
/** @export */
|
|
8786
|
-
/** @export */
|
|
8787
|
-
/** @export */
|
|
8788
|
-
/** @export */
|
|
8789
|
-
/** @export */
|
|
8790
|
-
/** @export */
|
|
8791
|
-
/** @export */
|
|
8792
|
-
/** @export */
|
|
8793
|
-
/** @export */
|
|
8794
|
-
/** @export */
|
|
8795
|
-
/** @export */
|
|
8796
|
-
/** @export */
|
|
8797
|
-
/** @export */
|
|
8798
|
-
/** @export */
|
|
8799
|
-
/** @export */
|
|
8800
|
-
/** @export */
|
|
8801
|
-
/** @export */
|
|
8882
|
+
/** @export */ Yb: ThrowError,
|
|
8883
|
+
/** @export */ la: UseBottomLeftGpuOrigin,
|
|
8884
|
+
/** @export */ Xb: __Unwind_RaiseException,
|
|
8885
|
+
/** @export */ uc: __asyncjs__CallReadDataFn,
|
|
8886
|
+
/** @export */ oc: __asyncjs__InvokeReadDataFn,
|
|
8887
|
+
/** @export */ M: __asyncjs__ReadBufferDataJs,
|
|
8888
|
+
/** @export */ Ea: __asyncjs__mediapipe_map_buffer_jspi,
|
|
8889
|
+
/** @export */ Wb: ___syscall_dup,
|
|
8890
|
+
/** @export */ Vb: ___syscall_faccessat,
|
|
8891
|
+
/** @export */ n: ___syscall_fcntl64,
|
|
8892
|
+
/** @export */ Ub: ___syscall_fstat64,
|
|
8893
|
+
/** @export */ Va: ___syscall_ftruncate64,
|
|
8894
|
+
/** @export */ Tb: ___syscall_getcwd,
|
|
8895
|
+
/** @export */ Sb: ___syscall_getdents64,
|
|
8896
|
+
/** @export */ Rb: ___syscall_ioctl,
|
|
8897
|
+
/** @export */ Qb: ___syscall_lstat64,
|
|
8898
|
+
/** @export */ Pb: ___syscall_mkdirat,
|
|
8899
|
+
/** @export */ Ob: ___syscall_newfstatat,
|
|
8900
|
+
/** @export */ L: ___syscall_openat,
|
|
8901
|
+
/** @export */ Nb: ___syscall_readlinkat,
|
|
8902
|
+
/** @export */ Mb: ___syscall_rmdir,
|
|
8903
|
+
/** @export */ Lb: ___syscall_stat64,
|
|
8904
|
+
/** @export */ ka: ___syscall_unlinkat,
|
|
8905
|
+
/** @export */ Kb: ___syscall_utimensat,
|
|
8802
8906
|
/** @export */ Fb: __abort_js,
|
|
8803
|
-
/** @export */
|
|
8907
|
+
/** @export */ Ra: __embind_register_bigint,
|
|
8804
8908
|
/** @export */ Eb: __embind_register_bool,
|
|
8805
8909
|
/** @export */ Db: __embind_register_emval,
|
|
8806
|
-
/** @export */
|
|
8807
|
-
/** @export */
|
|
8808
|
-
/** @export */
|
|
8910
|
+
/** @export */ ia: __embind_register_float,
|
|
8911
|
+
/** @export */ A: __embind_register_function,
|
|
8912
|
+
/** @export */ p: __embind_register_integer,
|
|
8809
8913
|
/** @export */ e: __embind_register_memory_view,
|
|
8810
8914
|
/** @export */ Cb: __embind_register_std_string,
|
|
8811
|
-
/** @export */
|
|
8915
|
+
/** @export */ K: __embind_register_std_wstring,
|
|
8812
8916
|
/** @export */ Bb: __embind_register_void,
|
|
8813
|
-
/** @export */
|
|
8814
|
-
/** @export */
|
|
8815
|
-
/** @export */
|
|
8816
|
-
/** @export */
|
|
8817
|
-
/** @export */
|
|
8818
|
-
/** @export */
|
|
8819
|
-
/** @export */
|
|
8820
|
-
/** @export */
|
|
8821
|
-
/** @export */
|
|
8822
|
-
/** @export */
|
|
8917
|
+
/** @export */ ha: __emval_create_invoker,
|
|
8918
|
+
/** @export */ m: __emval_decref,
|
|
8919
|
+
/** @export */ q: __emval_incref,
|
|
8920
|
+
/** @export */ ga: __emval_invoke,
|
|
8921
|
+
/** @export */ fa: __emval_run_destructors,
|
|
8922
|
+
/** @export */ Qa: __gmtime_js,
|
|
8923
|
+
/** @export */ Pa: __localtime_js,
|
|
8924
|
+
/** @export */ Oa: __mktime_js,
|
|
8925
|
+
/** @export */ Na: __mmap_js,
|
|
8926
|
+
/** @export */ Ma: __munmap_js,
|
|
8823
8927
|
/** @export */ Ab: __tzset_js,
|
|
8824
|
-
/** @export */
|
|
8928
|
+
/** @export */ Ua: _clock_time_get,
|
|
8825
8929
|
/** @export */ zb: custom_emscripten_dbgn,
|
|
8826
|
-
/** @export */
|
|
8827
|
-
/** @export */
|
|
8930
|
+
/** @export */ u: _emscripten_asm_const_int,
|
|
8931
|
+
/** @export */ J: _emscripten_errn,
|
|
8828
8932
|
/** @export */ yb: _emscripten_get_heap_max,
|
|
8829
8933
|
/** @export */ d: _emscripten_get_now,
|
|
8830
|
-
/** @export */
|
|
8934
|
+
/** @export */ I: _emscripten_has_asyncify,
|
|
8831
8935
|
/** @export */ xb: _emscripten_outn,
|
|
8832
8936
|
/** @export */ wb: _emscripten_pc_get_function,
|
|
8833
8937
|
/** @export */ vb: _emscripten_resize_heap,
|
|
8834
|
-
/** @export */
|
|
8938
|
+
/** @export */ ea: _emscripten_stack_snapshot,
|
|
8835
8939
|
/** @export */ ub: _emscripten_stack_unwind_buffer,
|
|
8836
8940
|
/** @export */ tb: _emscripten_webgl_create_context,
|
|
8837
8941
|
/** @export */ sb: _emscripten_webgl_destroy_context,
|
|
8838
8942
|
/** @export */ rb: _emscripten_webgl_get_context_attributes,
|
|
8839
|
-
/** @export */
|
|
8943
|
+
/** @export */ t: _emscripten_webgl_get_current_context,
|
|
8840
8944
|
/** @export */ qb: _emscripten_webgl_make_context_current,
|
|
8841
|
-
/** @export */
|
|
8945
|
+
/** @export */ da: _emscripten_webgpu_get_device,
|
|
8842
8946
|
/** @export */ pb: _emwgpuBufferDestroy,
|
|
8843
8947
|
/** @export */ ob: _emwgpuBufferGetMappedRange,
|
|
8844
8948
|
/** @export */ nb: _emwgpuBufferUnmap,
|
|
8845
8949
|
/** @export */ mb: _emwgpuBufferWriteMappedRange,
|
|
8846
8950
|
/** @export */ f: _emwgpuDelete,
|
|
8847
8951
|
/** @export */ lb: _emwgpuDeviceCreateBuffer,
|
|
8848
|
-
/** @export */
|
|
8952
|
+
/** @export */ La: _emwgpuDeviceCreateComputePipelineAsync,
|
|
8849
8953
|
/** @export */ kb: _emwgpuDeviceCreateShaderModule,
|
|
8850
8954
|
/** @export */ jb: _emwgpuDeviceDestroy,
|
|
8851
|
-
/** @export */
|
|
8955
|
+
/** @export */ Ka: _emwgpuQueueOnSubmittedWorkDone,
|
|
8852
8956
|
/** @export */ ib: _emwgpuWaitAny,
|
|
8853
8957
|
/** @export */ Jb: _environ_get,
|
|
8854
8958
|
/** @export */ Ib: _environ_sizes_get,
|
|
8855
|
-
/** @export */
|
|
8856
|
-
/** @export */
|
|
8857
|
-
/** @export */
|
|
8858
|
-
/** @export */
|
|
8859
|
-
/** @export */
|
|
8860
|
-
/** @export */
|
|
8861
|
-
/** @export */
|
|
8862
|
-
/** @export */
|
|
8863
|
-
/** @export */
|
|
8864
|
-
/** @export */
|
|
8865
|
-
/** @export */
|
|
8866
|
-
/** @export */
|
|
8867
|
-
/** @export */
|
|
8868
|
-
/** @export */
|
|
8869
|
-
/** @export */
|
|
8870
|
-
/** @export */
|
|
8871
|
-
/** @export */
|
|
8872
|
-
/** @export */
|
|
8873
|
-
/** @export */
|
|
8874
|
-
/** @export */
|
|
8875
|
-
/** @export */
|
|
8876
|
-
/** @export */
|
|
8877
|
-
/** @export */
|
|
8878
|
-
/** @export */
|
|
8879
|
-
/** @export */
|
|
8880
|
-
/** @export */
|
|
8881
|
-
/** @export */
|
|
8882
|
-
/** @export */
|
|
8883
|
-
/** @export */
|
|
8884
|
-
/** @export */
|
|
8885
|
-
/** @export */
|
|
8886
|
-
/** @export */
|
|
8887
|
-
/** @export */
|
|
8888
|
-
/** @export */
|
|
8889
|
-
/** @export */
|
|
8890
|
-
/** @export */
|
|
8891
|
-
/** @export */
|
|
8892
|
-
/** @export */
|
|
8893
|
-
/** @export */
|
|
8894
|
-
/** @export */
|
|
8895
|
-
/** @export */
|
|
8896
|
-
/** @export */
|
|
8897
|
-
/** @export */
|
|
8898
|
-
/** @export */
|
|
8899
|
-
/** @export */
|
|
8900
|
-
/** @export */
|
|
8901
|
-
/** @export */
|
|
8959
|
+
/** @export */ ca: _exit,
|
|
8960
|
+
/** @export */ v: _fd_close,
|
|
8961
|
+
/** @export */ Ta: _fd_pread,
|
|
8962
|
+
/** @export */ ja: _fd_read,
|
|
8963
|
+
/** @export */ Sa: _fd_seek,
|
|
8964
|
+
/** @export */ B: _fd_write,
|
|
8965
|
+
/** @export */ H: _glActiveTexture,
|
|
8966
|
+
/** @export */ ba: _glAttachShader,
|
|
8967
|
+
/** @export */ hb: _glBindAttribLocation,
|
|
8968
|
+
/** @export */ o: _glBindBuffer,
|
|
8969
|
+
/** @export */ z: _glBindFramebuffer,
|
|
8970
|
+
/** @export */ l: _glBindTexture,
|
|
8971
|
+
/** @export */ G: _glBufferData,
|
|
8972
|
+
/** @export */ s: _glClientWaitSync,
|
|
8973
|
+
/** @export */ gb: _glCompileShader,
|
|
8974
|
+
/** @export */ fb: _glCreateProgram,
|
|
8975
|
+
/** @export */ eb: _glCreateShader,
|
|
8976
|
+
/** @export */ aa: _glDeleteFramebuffers,
|
|
8977
|
+
/** @export */ db: _glDeleteProgram,
|
|
8978
|
+
/** @export */ $: _glDeleteShader,
|
|
8979
|
+
/** @export */ y: _glDeleteSync,
|
|
8980
|
+
/** @export */ _: _glDeleteTextures,
|
|
8981
|
+
/** @export */ Z: _glDetachShader,
|
|
8982
|
+
/** @export */ Y: _glDisableVertexAttribArray,
|
|
8983
|
+
/** @export */ cb: _glDrawArrays,
|
|
8984
|
+
/** @export */ X: _glEnableVertexAttribArray,
|
|
8985
|
+
/** @export */ W: _glFenceSync,
|
|
8986
|
+
/** @export */ x: _glFinish,
|
|
8987
|
+
/** @export */ F: _glFramebufferTexture2D,
|
|
8988
|
+
/** @export */ V: _glGenBuffers,
|
|
8989
|
+
/** @export */ bb: _glGenFramebuffers,
|
|
8990
|
+
/** @export */ E: _glGenTextures,
|
|
8991
|
+
/** @export */ w: _glGetError,
|
|
8992
|
+
/** @export */ U: _glGetIntegerv,
|
|
8993
|
+
/** @export */ D: _glGetString,
|
|
8994
|
+
/** @export */ ab: _glGetUniformLocation,
|
|
8995
|
+
/** @export */ $a: _glLinkProgram,
|
|
8996
|
+
/** @export */ C: _glPixelStorei,
|
|
8997
|
+
/** @export */ T: _glReadPixels,
|
|
8998
|
+
/** @export */ _a: _glShaderSource,
|
|
8999
|
+
/** @export */ Za: _glTexImage2D,
|
|
9000
|
+
/** @export */ k: _glTexParameteri,
|
|
9001
|
+
/** @export */ S: _glTexStorage2D,
|
|
9002
|
+
/** @export */ Ya: _glUniform1i,
|
|
9003
|
+
/** @export */ Xa: _glUseProgram,
|
|
9004
|
+
/** @export */ R: _glVertexAttribPointer,
|
|
9005
|
+
/** @export */ Wa: _glViewport,
|
|
8902
9006
|
/** @export */ Hb: _proc_exit,
|
|
8903
9007
|
/** @export */ Gb: _random_get,
|
|
8904
|
-
/** @export */
|
|
8905
|
-
/** @export */
|
|
9008
|
+
/** @export */ Ja: _wgpuBufferGetSize,
|
|
9009
|
+
/** @export */ Ia: _wgpuBufferGetUsage,
|
|
8906
9010
|
/** @export */ i: _wgpuCommandEncoderBeginComputePass,
|
|
8907
|
-
/** @export */
|
|
8908
|
-
/** @export */
|
|
8909
|
-
/** @export */
|
|
9011
|
+
/** @export */ Ha: _wgpuCommandEncoderCopyBufferToBuffer,
|
|
9012
|
+
/** @export */ Q: _wgpuCommandEncoderCopyTextureToBuffer,
|
|
9013
|
+
/** @export */ Da: _wgpuCommandEncoderCopyTextureToTexture,
|
|
8910
9014
|
/** @export */ c: _wgpuCommandEncoderFinish,
|
|
8911
|
-
/** @export */
|
|
8912
|
-
/** @export */
|
|
9015
|
+
/** @export */ Ga: _wgpuCommandEncoderResolveQuerySet,
|
|
9016
|
+
/** @export */ j: _wgpuComputePassEncoderDispatchWorkgroups,
|
|
8913
9017
|
/** @export */ h: _wgpuComputePassEncoderEnd,
|
|
8914
|
-
/** @export */
|
|
8915
|
-
/** @export */
|
|
8916
|
-
/** @export */
|
|
8917
|
-
/** @export */
|
|
9018
|
+
/** @export */ Ca: _wgpuComputePassEncoderSetBindGroup,
|
|
9019
|
+
/** @export */ P: _wgpuComputePassEncoderSetPipeline,
|
|
9020
|
+
/** @export */ Ba: _wgpuDeviceCreateBindGroup,
|
|
9021
|
+
/** @export */ Aa: _wgpuDeviceCreateBindGroupLayout,
|
|
8918
9022
|
/** @export */ b: _wgpuDeviceCreateCommandEncoder,
|
|
8919
|
-
/** @export */
|
|
8920
|
-
/** @export */
|
|
8921
|
-
/** @export */
|
|
8922
|
-
/** @export */
|
|
8923
|
-
/** @export */
|
|
8924
|
-
/** @export */
|
|
8925
|
-
/** @export */
|
|
9023
|
+
/** @export */ za: _wgpuDeviceCreateComputePipeline,
|
|
9024
|
+
/** @export */ ya: _wgpuDeviceCreatePipelineLayout,
|
|
9025
|
+
/** @export */ xa: _wgpuDeviceCreateQuerySet,
|
|
9026
|
+
/** @export */ wa: _wgpuDeviceCreateTexture,
|
|
9027
|
+
/** @export */ O: _wgpuDeviceGetAdapterInfo,
|
|
9028
|
+
/** @export */ va: _wgpuDeviceGetLimits,
|
|
9029
|
+
/** @export */ ua: _wgpuDeviceHasFeature,
|
|
8926
9030
|
/** @export */ a: _wgpuQueueSubmit,
|
|
8927
|
-
/** @export */
|
|
8928
|
-
/** @export */
|
|
8929
|
-
/** @export */
|
|
8930
|
-
/** @export */
|
|
8931
|
-
/** @export */
|
|
8932
|
-
/** @export */
|
|
8933
|
-
/** @export */
|
|
8934
|
-
/** @export */
|
|
9031
|
+
/** @export */ Fa: _wgpuQueueWriteBuffer,
|
|
9032
|
+
/** @export */ ta: _wgpuQueueWriteTexture,
|
|
9033
|
+
/** @export */ sa: _wgpuTextureCreateView,
|
|
9034
|
+
/** @export */ N: _wgpuTextureDestroy,
|
|
9035
|
+
/** @export */ ra: _wgpuTextureGetDepthOrArrayLayers,
|
|
9036
|
+
/** @export */ qa: _wgpuTextureGetFormat,
|
|
9037
|
+
/** @export */ pa: _wgpuTextureGetHeight,
|
|
9038
|
+
/** @export */ oa: _wgpuTextureGetWidth
|
|
8935
9039
|
};
|
|
8936
9040
|
|
|
8937
9041
|
// Argument name here must shadow the `wasmExports` global so
|
|
@@ -8943,12 +9047,12 @@ function applySignatureConversions(wasmExports) {
|
|
|
8943
9047
|
var makeWrapper_pp = f => a0 => f(a0) >>> 0;
|
|
8944
9048
|
var makeWrapper_ppp = f => (a0, a1) => f(a0, a1) >>> 0;
|
|
8945
9049
|
var makeWrapper_p = f => () => f() >>> 0;
|
|
8946
|
-
wasmExports["
|
|
8947
|
-
wasmExports["
|
|
8948
|
-
wasmExports["
|
|
8949
|
-
wasmExports["
|
|
8950
|
-
wasmExports["
|
|
8951
|
-
wasmExports["
|
|
9050
|
+
wasmExports["md"] = makeWrapper_pp(wasmExports["md"]);
|
|
9051
|
+
wasmExports["ye"] = makeWrapper_pp(wasmExports["ye"]);
|
|
9052
|
+
wasmExports["jf"] = makeWrapper_ppp(wasmExports["jf"]);
|
|
9053
|
+
wasmExports["kf"] = makeWrapper_ppp(wasmExports["kf"]);
|
|
9054
|
+
wasmExports["nf"] = makeWrapper_pp(wasmExports["nf"]);
|
|
9055
|
+
wasmExports["of"] = makeWrapper_p(wasmExports["of"]);
|
|
8952
9056
|
return wasmExports;
|
|
8953
9057
|
}
|
|
8954
9058
|
|