@mediapipe/tasks-text 0.10.34 → 0.10.35
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/package.json +1 -1
- package/text_bundle.cjs +1 -1
- package/text_bundle.cjs.map +1 -1
- package/text_bundle.mjs +1 -1
- package/text_bundle.mjs.map +1 -1
- package/wasm/text_wasm_internal.js +117 -132
- package/wasm/text_wasm_internal.wasm +0 -0
- package/wasm/text_wasm_module_internal.js +120 -135
- package/wasm/text_wasm_module_internal.wasm +0 -0
- package/wasm/text_wasm_nosimd_internal.js +117 -132
- package/wasm/text_wasm_nosimd_internal.wasm +0 -0
|
@@ -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() {
|
|
@@ -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);
|
|
@@ -931,6 +936,22 @@ var Browser = {
|
|
|
931
936
|
}
|
|
932
937
|
};
|
|
933
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
|
+
|
|
934
955
|
var callRuntimeCallbacks = callbacks => {
|
|
935
956
|
while (callbacks.length > 0) {
|
|
936
957
|
// Pass the module as the first argument.
|
|
@@ -1016,13 +1037,10 @@ var initRandomFill = () => {
|
|
|
1016
1037
|
var nodeCrypto = require("node:crypto");
|
|
1017
1038
|
return view => nodeCrypto.randomFillSync(view);
|
|
1018
1039
|
}
|
|
1019
|
-
return view => crypto.getRandomValues(view);
|
|
1040
|
+
return view => (crypto.getRandomValues(view), 0);
|
|
1020
1041
|
};
|
|
1021
1042
|
|
|
1022
|
-
var randomFill = view =>
|
|
1023
|
-
// Lazily init on the first invocation.
|
|
1024
|
-
(randomFill = initRandomFill())(view);
|
|
1025
|
-
};
|
|
1043
|
+
var randomFill = view => (randomFill = initRandomFill())(view);
|
|
1026
1044
|
|
|
1027
1045
|
var PATH_FS = {
|
|
1028
1046
|
resolve: (...args) => {
|
|
@@ -1417,12 +1435,14 @@ var MEMFS = {
|
|
|
1417
1435
|
} else if (FS.isFile(node.mode)) {
|
|
1418
1436
|
node.node_ops = MEMFS.ops_table.file.node;
|
|
1419
1437
|
node.stream_ops = MEMFS.ops_table.file.stream;
|
|
1438
|
+
// The actual number of bytes used in the typed array, as opposed to
|
|
1439
|
+
// contents.length which gives the whole capacity.
|
|
1420
1440
|
node.usedBytes = 0;
|
|
1421
|
-
// The
|
|
1422
|
-
//
|
|
1423
|
-
//
|
|
1424
|
-
//
|
|
1425
|
-
node.contents =
|
|
1441
|
+
// The byte data of the file is stored in a typed array.
|
|
1442
|
+
// Note: typed arrays are not resizable like normal JS arrays are, so
|
|
1443
|
+
// there is a small penalty involved for appending file writes that
|
|
1444
|
+
// continuously grow a file similar to std::vector capacity vs used.
|
|
1445
|
+
node.contents = MEMFS.emptyFileContents ??= new Uint8Array(0);
|
|
1426
1446
|
} else if (FS.isLink(node.mode)) {
|
|
1427
1447
|
node.node_ops = MEMFS.ops_table.link.node;
|
|
1428
1448
|
node.stream_ops = MEMFS.ops_table.link.stream;
|
|
@@ -1439,42 +1459,34 @@ var MEMFS = {
|
|
|
1439
1459
|
return node;
|
|
1440
1460
|
},
|
|
1441
1461
|
getFileDataAsTypedArray(node) {
|
|
1442
|
-
|
|
1443
|
-
if (node.contents.subarray) return node.contents.subarray(0, node.usedBytes);
|
|
1444
|
-
// Make sure to not return excess unused bytes.
|
|
1445
|
-
return new Uint8Array(node.contents);
|
|
1462
|
+
return node.contents.subarray(0, node.usedBytes);
|
|
1446
1463
|
},
|
|
1447
1464
|
expandFileStorage(node, newCapacity) {
|
|
1448
|
-
var prevCapacity = node.contents
|
|
1465
|
+
var prevCapacity = node.contents.length;
|
|
1449
1466
|
if (prevCapacity >= newCapacity) return;
|
|
1450
1467
|
// No need to expand, the storage was already large enough.
|
|
1451
|
-
// Don't expand strictly to the given requested limit if it's only a very
|
|
1452
|
-
//
|
|
1453
|
-
//
|
|
1468
|
+
// Don't expand strictly to the given requested limit if it's only a very
|
|
1469
|
+
// small increase, but instead geometrically grow capacity.
|
|
1470
|
+
// For small filesizes (<1MB), perform size*2 geometric increase, but for
|
|
1471
|
+
// large sizes, do a much more conservative size*1.125 increase to avoid
|
|
1472
|
+
// overshooting the allocation cap by a very large margin.
|
|
1454
1473
|
var CAPACITY_DOUBLING_MAX = 1024 * 1024;
|
|
1455
1474
|
newCapacity = Math.max(newCapacity, (prevCapacity * (prevCapacity < CAPACITY_DOUBLING_MAX ? 2 : 1.125)) >>> 0);
|
|
1456
|
-
if (prevCapacity
|
|
1475
|
+
if (prevCapacity) newCapacity = Math.max(newCapacity, 256);
|
|
1457
1476
|
// At minimum allocate 256b for each file when expanding.
|
|
1458
|
-
var oldContents = node
|
|
1477
|
+
var oldContents = MEMFS.getFileDataAsTypedArray(node);
|
|
1459
1478
|
node.contents = new Uint8Array(newCapacity);
|
|
1460
1479
|
// Allocate new storage.
|
|
1461
|
-
|
|
1480
|
+
node.contents.set(oldContents);
|
|
1462
1481
|
},
|
|
1463
1482
|
resizeFileStorage(node, newSize) {
|
|
1464
1483
|
if (node.usedBytes == newSize) return;
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
node.contents = new Uint8Array(newSize);
|
|
1472
|
-
// Allocate new storage.
|
|
1473
|
-
if (oldContents) {
|
|
1474
|
-
node.contents.set(oldContents.subarray(0, Math.min(newSize, node.usedBytes)));
|
|
1475
|
-
}
|
|
1476
|
-
node.usedBytes = newSize;
|
|
1477
|
-
}
|
|
1484
|
+
var oldContents = node.contents;
|
|
1485
|
+
node.contents = new Uint8Array(newSize);
|
|
1486
|
+
// Allocate new storage.
|
|
1487
|
+
node.contents.set(oldContents.subarray(0, Math.min(newSize, node.usedBytes)));
|
|
1488
|
+
// Copy old data over to the new storage.
|
|
1489
|
+
node.usedBytes = newSize;
|
|
1478
1490
|
},
|
|
1479
1491
|
node_ops: {
|
|
1480
1492
|
getattr(node) {
|
|
@@ -1579,12 +1591,7 @@ var MEMFS = {
|
|
|
1579
1591
|
var contents = stream.node.contents;
|
|
1580
1592
|
if (position >= stream.node.usedBytes) return 0;
|
|
1581
1593
|
var size = Math.min(stream.node.usedBytes - position, length);
|
|
1582
|
-
|
|
1583
|
-
// non-trivial, and typed array
|
|
1584
|
-
buffer.set(contents.subarray(position, position + size), offset);
|
|
1585
|
-
} else {
|
|
1586
|
-
for (var i = 0; i < size; i++) buffer[offset + i] = contents[position + i];
|
|
1587
|
-
}
|
|
1594
|
+
buffer.set(contents.subarray(position, position + size), offset);
|
|
1588
1595
|
return size;
|
|
1589
1596
|
},
|
|
1590
1597
|
write(stream, buffer, offset, length, position, canOwn) {
|
|
@@ -1598,34 +1605,19 @@ var MEMFS = {
|
|
|
1598
1605
|
if (!length) return 0;
|
|
1599
1606
|
var node = stream.node;
|
|
1600
1607
|
node.mtime = node.ctime = Date.now();
|
|
1601
|
-
if (
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
node.usedBytes = length;
|
|
1611
|
-
return length;
|
|
1612
|
-
} else if (position + length <= node.usedBytes) {
|
|
1613
|
-
// Writing to an already allocated and used subrange of the file?
|
|
1614
|
-
node.contents.set(buffer.subarray(offset, offset + length), position);
|
|
1615
|
-
return length;
|
|
1616
|
-
}
|
|
1617
|
-
}
|
|
1618
|
-
// Appending to an existing file and we need to reallocate, or source data did not come as a typed array.
|
|
1619
|
-
MEMFS.expandFileStorage(node, position + length);
|
|
1620
|
-
if (node.contents.subarray && buffer.subarray) {
|
|
1608
|
+
if (canOwn) {
|
|
1609
|
+
node.contents = buffer.subarray(offset, offset + length);
|
|
1610
|
+
node.usedBytes = length;
|
|
1611
|
+
} else if (node.usedBytes === 0 && position === 0) {
|
|
1612
|
+
// 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.
|
|
1613
|
+
node.contents = buffer.slice(offset, offset + length);
|
|
1614
|
+
node.usedBytes = length;
|
|
1615
|
+
} else {
|
|
1616
|
+
MEMFS.expandFileStorage(node, position + length);
|
|
1621
1617
|
// Use typed array write which is available.
|
|
1622
1618
|
node.contents.set(buffer.subarray(offset, offset + length), position);
|
|
1623
|
-
|
|
1624
|
-
for (var i = 0; i < length; i++) {
|
|
1625
|
-
node.contents[position + i] = buffer[offset + i];
|
|
1626
|
-
}
|
|
1619
|
+
node.usedBytes = Math.max(node.usedBytes, position + length);
|
|
1627
1620
|
}
|
|
1628
|
-
node.usedBytes = Math.max(node.usedBytes, position + length);
|
|
1629
1621
|
return length;
|
|
1630
1622
|
},
|
|
1631
1623
|
llseek(stream, offset, whence) {
|
|
@@ -1650,7 +1642,7 @@ var MEMFS = {
|
|
|
1650
1642
|
var allocated;
|
|
1651
1643
|
var contents = stream.node.contents;
|
|
1652
1644
|
// Only make a new copy when MAP_PRIVATE is specified.
|
|
1653
|
-
if (!(flags & 2) && contents
|
|
1645
|
+
if (!(flags & 2) && contents.buffer === HEAP8.buffer) {
|
|
1654
1646
|
// We can't emulate MAP_SHARED when the file is not backed by the
|
|
1655
1647
|
// buffer we're mapping to (e.g. the HEAP buffer).
|
|
1656
1648
|
allocated = false;
|
|
@@ -1687,6 +1679,7 @@ var MEMFS = {
|
|
|
1687
1679
|
};
|
|
1688
1680
|
|
|
1689
1681
|
var FS_modeStringToFlags = str => {
|
|
1682
|
+
if (typeof str != "string") return str;
|
|
1690
1683
|
var flagModes = {
|
|
1691
1684
|
"r": 0,
|
|
1692
1685
|
"r+": 2,
|
|
@@ -1702,6 +1695,16 @@ var FS_modeStringToFlags = str => {
|
|
|
1702
1695
|
return flags;
|
|
1703
1696
|
};
|
|
1704
1697
|
|
|
1698
|
+
var FS_fileDataToTypedArray = data => {
|
|
1699
|
+
if (typeof data == "string") {
|
|
1700
|
+
data = intArrayFromString(data, true);
|
|
1701
|
+
}
|
|
1702
|
+
if (!data.subarray) {
|
|
1703
|
+
data = new Uint8Array(data);
|
|
1704
|
+
}
|
|
1705
|
+
return data;
|
|
1706
|
+
};
|
|
1707
|
+
|
|
1705
1708
|
var FS_getMode = (canRead, canWrite) => {
|
|
1706
1709
|
var mode = 0;
|
|
1707
1710
|
if (canRead) mode |= 292 | 73;
|
|
@@ -2678,7 +2681,7 @@ var FS = {
|
|
|
2678
2681
|
if (path === "") {
|
|
2679
2682
|
throw new FS.ErrnoError(44);
|
|
2680
2683
|
}
|
|
2681
|
-
flags =
|
|
2684
|
+
flags = FS_modeStringToFlags(flags);
|
|
2682
2685
|
if ((flags & 64)) {
|
|
2683
2686
|
mode = (mode & 4095) | 32768;
|
|
2684
2687
|
} else {
|
|
@@ -2910,14 +2913,8 @@ var FS = {
|
|
|
2910
2913
|
writeFile(path, data, opts = {}) {
|
|
2911
2914
|
opts.flags = opts.flags || 577;
|
|
2912
2915
|
var stream = FS.open(path, opts.flags, opts.mode);
|
|
2913
|
-
|
|
2914
|
-
|
|
2915
|
-
}
|
|
2916
|
-
if (ArrayBuffer.isView(data)) {
|
|
2917
|
-
FS.write(stream, data, 0, data.byteLength, undefined, opts.canOwn);
|
|
2918
|
-
} else {
|
|
2919
|
-
abort("Unsupported data type");
|
|
2920
|
-
}
|
|
2916
|
+
data = FS_fileDataToTypedArray(data);
|
|
2917
|
+
FS.write(stream, data, 0, data.byteLength, undefined, opts.canOwn);
|
|
2921
2918
|
FS.close(stream);
|
|
2922
2919
|
},
|
|
2923
2920
|
cwd: () => FS.currentPath,
|
|
@@ -3147,11 +3144,7 @@ var FS = {
|
|
|
3147
3144
|
var mode = FS_getMode(canRead, canWrite);
|
|
3148
3145
|
var node = FS.create(path, mode);
|
|
3149
3146
|
if (data) {
|
|
3150
|
-
|
|
3151
|
-
var arr = new Array(data.length);
|
|
3152
|
-
for (var i = 0, len = data.length; i < len; ++i) arr[i] = data.charCodeAt(i);
|
|
3153
|
-
data = arr;
|
|
3154
|
-
}
|
|
3147
|
+
data = FS_fileDataToTypedArray(data);
|
|
3155
3148
|
// make sure we can write to the file
|
|
3156
3149
|
FS.chmod(node, mode | 146);
|
|
3157
3150
|
var stream = FS.open(node, 577);
|
|
@@ -5215,7 +5208,7 @@ var WebGPU = {
|
|
|
5215
5208
|
ToneMappingMode: [ , "standard", "extended" ],
|
|
5216
5209
|
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" ],
|
|
5217
5210
|
VertexStepMode: [ , "vertex", "instance" ],
|
|
5218
|
-
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" ]
|
|
5211
|
+
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" ]
|
|
5219
5212
|
};
|
|
5220
5213
|
|
|
5221
5214
|
var _emwgpuBufferDestroy = bufferPtr => {
|
|
@@ -6226,15 +6219,7 @@ var _emscripten_glViewport = (x0, x1, x2, x3) => GLctx.viewport(x0, x1, x2, x3);
|
|
|
6226
6219
|
|
|
6227
6220
|
var _glViewport = _emscripten_glViewport;
|
|
6228
6221
|
|
|
6229
|
-
|
|
6230
|
-
try {
|
|
6231
|
-
randomFill(HEAPU8.subarray(buffer, buffer + size));
|
|
6232
|
-
return 0;
|
|
6233
|
-
} catch (e) {
|
|
6234
|
-
if (typeof FS == "undefined" || !(e.name === "ErrnoError")) throw e;
|
|
6235
|
-
return e.errno;
|
|
6236
|
-
}
|
|
6237
|
-
}
|
|
6222
|
+
var _random_get = (buffer, size) => randomFill(HEAPU8.subarray(buffer, buffer + size));
|
|
6238
6223
|
|
|
6239
6224
|
var _wgpuCommandEncoderCopyTextureToBuffer = (encoderPtr, srcPtr, dstPtr, copySizePtr) => {
|
|
6240
6225
|
var commandEncoder = WebGPU.getJsObject(encoderPtr);
|
|
@@ -6407,7 +6392,7 @@ Module["FS_createLazyFile"] = FS_createLazyFile;
|
|
|
6407
6392
|
// End JS library exports
|
|
6408
6393
|
// end include: postlibrary.js
|
|
6409
6394
|
var ASM_CONSTS = {
|
|
6410
|
-
|
|
6395
|
+
711793: () => {
|
|
6411
6396
|
specialHTMLTargets["#canvas"] = Module.canvas;
|
|
6412
6397
|
}
|
|
6413
6398
|
};
|
|
@@ -6704,7 +6689,7 @@ function assignWasmExports(wasmExports) {
|
|
|
6704
6689
|
|
|
6705
6690
|
var wasmImports = {
|
|
6706
6691
|
/** @export */ fb: JsOnEmptyPacketListener,
|
|
6707
|
-
/** @export */
|
|
6692
|
+
/** @export */ R: JsOnSimpleListenerBinaryArray,
|
|
6708
6693
|
/** @export */ eb: JsOnSimpleListenerBool,
|
|
6709
6694
|
/** @export */ db: JsOnSimpleListenerDouble,
|
|
6710
6695
|
/** @export */ cb: JsOnSimpleListenerFloat,
|
|
@@ -6721,36 +6706,36 @@ var wasmImports = {
|
|
|
6721
6706
|
/** @export */ Ua: JsOnVectorListenerUint,
|
|
6722
6707
|
/** @export */ w: JsWrapErrorListener,
|
|
6723
6708
|
/** @export */ a: JsWrapSimpleListeners,
|
|
6724
|
-
/** @export */
|
|
6725
|
-
/** @export */
|
|
6709
|
+
/** @export */ Q: UseBottomLeftGpuOrigin,
|
|
6710
|
+
/** @export */ Y: __asyncjs__mediapipe_map_buffer_jspi,
|
|
6726
6711
|
/** @export */ Ta: ___syscall_dup,
|
|
6727
6712
|
/** @export */ Sa: ___syscall_faccessat,
|
|
6728
|
-
/** @export */
|
|
6713
|
+
/** @export */ P: ___syscall_fcntl64,
|
|
6729
6714
|
/** @export */ Ra: ___syscall_fstat64,
|
|
6730
|
-
/** @export */
|
|
6715
|
+
/** @export */ ea: ___syscall_ftruncate64,
|
|
6731
6716
|
/** @export */ Qa: ___syscall_ioctl,
|
|
6732
6717
|
/** @export */ Pa: ___syscall_lstat64,
|
|
6733
6718
|
/** @export */ Oa: ___syscall_newfstatat,
|
|
6734
|
-
/** @export */
|
|
6719
|
+
/** @export */ O: ___syscall_openat,
|
|
6735
6720
|
/** @export */ Na: ___syscall_stat64,
|
|
6736
6721
|
/** @export */ Ia: __abort_js,
|
|
6737
|
-
/** @export */
|
|
6738
|
-
/** @export */
|
|
6739
|
-
/** @export */
|
|
6740
|
-
/** @export */
|
|
6741
|
-
/** @export */
|
|
6722
|
+
/** @export */ ba: __gmtime_js,
|
|
6723
|
+
/** @export */ aa: __localtime_js,
|
|
6724
|
+
/** @export */ $: __mktime_js,
|
|
6725
|
+
/** @export */ _: __mmap_js,
|
|
6726
|
+
/** @export */ Z: __munmap_js,
|
|
6742
6727
|
/** @export */ Ha: __tzset_js,
|
|
6743
|
-
/** @export */
|
|
6728
|
+
/** @export */ da: _clock_time_get,
|
|
6744
6729
|
/** @export */ Ga: custom_emscripten_dbgn,
|
|
6745
6730
|
/** @export */ Fa: _emscripten_asm_const_int,
|
|
6746
6731
|
/** @export */ t: _emscripten_errn,
|
|
6747
6732
|
/** @export */ Ea: _emscripten_get_heap_max,
|
|
6748
6733
|
/** @export */ b: _emscripten_get_now,
|
|
6749
|
-
/** @export */
|
|
6734
|
+
/** @export */ M: _emscripten_has_asyncify,
|
|
6750
6735
|
/** @export */ Da: _emscripten_outn,
|
|
6751
6736
|
/** @export */ Ca: _emscripten_pc_get_function,
|
|
6752
6737
|
/** @export */ Ba: _emscripten_resize_heap,
|
|
6753
|
-
/** @export */
|
|
6738
|
+
/** @export */ L: _emscripten_stack_snapshot,
|
|
6754
6739
|
/** @export */ Aa: _emscripten_stack_unwind_buffer,
|
|
6755
6740
|
/** @export */ za: _emscripten_webgl_create_context,
|
|
6756
6741
|
/** @export */ ya: _emscripten_webgl_destroy_context,
|
|
@@ -6763,60 +6748,60 @@ var wasmImports = {
|
|
|
6763
6748
|
/** @export */ ta: _emwgpuDeviceDestroy,
|
|
6764
6749
|
/** @export */ Ma: _environ_get,
|
|
6765
6750
|
/** @export */ La: _environ_sizes_get,
|
|
6766
|
-
/** @export */
|
|
6751
|
+
/** @export */ K: _exit,
|
|
6767
6752
|
/** @export */ v: _fd_close,
|
|
6768
|
-
/** @export */
|
|
6769
|
-
/** @export */
|
|
6753
|
+
/** @export */ N: _fd_read,
|
|
6754
|
+
/** @export */ ca: _fd_seek,
|
|
6770
6755
|
/** @export */ u: _fd_write,
|
|
6771
6756
|
/** @export */ s: _glActiveTexture,
|
|
6772
6757
|
/** @export */ J: _glAttachShader,
|
|
6773
|
-
/** @export */
|
|
6758
|
+
/** @export */ sa: _glBindAttribLocation,
|
|
6774
6759
|
/** @export */ f: _glBindBuffer,
|
|
6775
6760
|
/** @export */ m: _glBindFramebuffer,
|
|
6776
6761
|
/** @export */ e: _glBindTexture,
|
|
6777
6762
|
/** @export */ r: _glBufferData,
|
|
6778
6763
|
/** @export */ h: _glClientWaitSync,
|
|
6779
|
-
/** @export */
|
|
6780
|
-
/** @export */
|
|
6781
|
-
/** @export */
|
|
6764
|
+
/** @export */ ra: _glCompileShader,
|
|
6765
|
+
/** @export */ qa: _glCreateProgram,
|
|
6766
|
+
/** @export */ pa: _glCreateShader,
|
|
6782
6767
|
/** @export */ I: _glDeleteFramebuffers,
|
|
6783
|
-
/** @export */
|
|
6768
|
+
/** @export */ oa: _glDeleteProgram,
|
|
6784
6769
|
/** @export */ H: _glDeleteShader,
|
|
6785
6770
|
/** @export */ l: _glDeleteSync,
|
|
6786
6771
|
/** @export */ G: _glDeleteTextures,
|
|
6787
6772
|
/** @export */ F: _glDetachShader,
|
|
6788
6773
|
/** @export */ E: _glDisableVertexAttribArray,
|
|
6789
|
-
/** @export */
|
|
6774
|
+
/** @export */ na: _glDrawArrays,
|
|
6790
6775
|
/** @export */ D: _glEnableVertexAttribArray,
|
|
6791
6776
|
/** @export */ C: _glFenceSync,
|
|
6792
6777
|
/** @export */ k: _glFinish,
|
|
6793
6778
|
/** @export */ q: _glFramebufferTexture2D,
|
|
6794
6779
|
/** @export */ B: _glGenBuffers,
|
|
6795
|
-
/** @export */
|
|
6780
|
+
/** @export */ ma: _glGenFramebuffers,
|
|
6796
6781
|
/** @export */ p: _glGenTextures,
|
|
6797
6782
|
/** @export */ j: _glGetError,
|
|
6798
6783
|
/** @export */ A: _glGetIntegerv,
|
|
6799
6784
|
/** @export */ o: _glGetString,
|
|
6800
|
-
/** @export */
|
|
6801
|
-
/** @export */
|
|
6785
|
+
/** @export */ la: _glGetUniformLocation,
|
|
6786
|
+
/** @export */ ka: _glLinkProgram,
|
|
6802
6787
|
/** @export */ n: _glPixelStorei,
|
|
6803
6788
|
/** @export */ z: _glReadPixels,
|
|
6804
|
-
/** @export */
|
|
6805
|
-
/** @export */
|
|
6789
|
+
/** @export */ ja: _glShaderSource,
|
|
6790
|
+
/** @export */ ia: _glTexImage2D,
|
|
6806
6791
|
/** @export */ d: _glTexParameteri,
|
|
6807
6792
|
/** @export */ y: _glTexStorage2D,
|
|
6808
|
-
/** @export */
|
|
6809
|
-
/** @export */
|
|
6793
|
+
/** @export */ ha: _glUniform1i,
|
|
6794
|
+
/** @export */ ga: _glUseProgram,
|
|
6810
6795
|
/** @export */ x: _glVertexAttribPointer,
|
|
6811
|
-
/** @export */
|
|
6796
|
+
/** @export */ fa: _glViewport,
|
|
6812
6797
|
/** @export */ Ka: _proc_exit,
|
|
6813
6798
|
/** @export */ Ja: _random_get,
|
|
6814
|
-
/** @export */
|
|
6815
|
-
/** @export */
|
|
6816
|
-
/** @export */
|
|
6817
|
-
/** @export */
|
|
6818
|
-
/** @export */
|
|
6819
|
-
/** @export */
|
|
6799
|
+
/** @export */ X: _wgpuCommandEncoderCopyTextureToBuffer,
|
|
6800
|
+
/** @export */ W: _wgpuCommandEncoderFinish,
|
|
6801
|
+
/** @export */ V: _wgpuDeviceCreateCommandEncoder,
|
|
6802
|
+
/** @export */ U: _wgpuQueueSubmit,
|
|
6803
|
+
/** @export */ T: _wgpuTextureDestroy,
|
|
6804
|
+
/** @export */ S: _wgpuTextureGetFormat
|
|
6820
6805
|
};
|
|
6821
6806
|
|
|
6822
6807
|
// include: postamble.js
|
|
Binary file
|