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