runmat 0.4.10-dev.5 → 0.4.10-dev.7
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 +31 -12
- package/artifacts/stdlib.snapshot +0 -0
- package/dist/generated/builtin-examples-catalog.d.ts.map +1 -1
- package/dist/generated/builtin-examples-catalog.js +1 -1
- package/dist/generated/builtin-examples-catalog.js.map +1 -1
- package/dist/generated/builtins/input.js +1 -1
- package/dist/generated/builtins/input.js.map +1 -1
- package/dist/generated/builtins/print.d.ts +4 -0
- package/dist/generated/builtins/print.d.ts.map +1 -0
- package/dist/generated/builtins/print.js +112 -0
- package/dist/generated/builtins/print.js.map +1 -0
- package/dist/generated/builtins/timeit.js +4 -4
- package/dist/generated/builtins/timeit.js.map +1 -1
- package/dist/generated/builtins-manifest.d.ts.map +1 -1
- package/dist/generated/builtins-manifest.js +20 -0
- package/dist/generated/builtins-manifest.js.map +1 -1
- package/dist/index.d.ts +48 -11
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -38
- package/dist/index.js.map +1 -1
- package/dist/lsp/runmat_lsp.d.ts +13 -12
- package/dist/lsp/runmat_lsp.js +647 -26
- package/dist/lsp/runmat_lsp_bg.wasm +0 -0
- package/dist/lsp/runmat_lsp_bg.wasm.d.ts +8 -7
- package/dist/pkg-web/runmat_wasm_web.d.ts +30 -44
- package/dist/pkg-web/runmat_wasm_web.js +31 -84
- package/dist/pkg-web/runmat_wasm_web_bg.wasm +0 -0
- package/dist/pkg-web/runmat_wasm_web_bg.wasm.d.ts +29 -36
- package/dist/runtime/stdlib.snapshot +0 -0
- package/package.json +1 -1
package/dist/lsp/runmat_lsp.js
CHANGED
|
@@ -89,6 +89,10 @@ function handleError(f, args) {
|
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
+
function isLikeNone(x) {
|
|
93
|
+
return x === undefined || x === null;
|
|
94
|
+
}
|
|
95
|
+
|
|
92
96
|
const cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
|
|
93
97
|
|
|
94
98
|
if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
|
|
@@ -103,8 +107,18 @@ function getArrayU8FromWasm0(ptr, len) {
|
|
|
103
107
|
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
104
108
|
}
|
|
105
109
|
|
|
106
|
-
|
|
107
|
-
|
|
110
|
+
let cachedUint32ArrayMemory0 = null;
|
|
111
|
+
|
|
112
|
+
function getUint32ArrayMemory0() {
|
|
113
|
+
if (cachedUint32ArrayMemory0 === null || cachedUint32ArrayMemory0.byteLength === 0) {
|
|
114
|
+
cachedUint32ArrayMemory0 = new Uint32Array(wasm.memory.buffer);
|
|
115
|
+
}
|
|
116
|
+
return cachedUint32ArrayMemory0;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
function getArrayU32FromWasm0(ptr, len) {
|
|
120
|
+
ptr = ptr >>> 0;
|
|
121
|
+
return getUint32ArrayMemory0().subarray(ptr / 4, ptr / 4 + len);
|
|
108
122
|
}
|
|
109
123
|
|
|
110
124
|
const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
|
|
@@ -213,25 +227,29 @@ export function builtin_inventory_counts() {
|
|
|
213
227
|
/**
|
|
214
228
|
* @param {string} uri
|
|
215
229
|
* @param {string} text
|
|
230
|
+
* @returns {Promise<void>}
|
|
216
231
|
*/
|
|
217
232
|
export function open_document(uri, text) {
|
|
218
233
|
const ptr0 = passStringToWasm0(uri, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
219
234
|
const len0 = WASM_VECTOR_LEN;
|
|
220
235
|
const ptr1 = passStringToWasm0(text, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
221
236
|
const len1 = WASM_VECTOR_LEN;
|
|
222
|
-
wasm.open_document(ptr0, len0, ptr1, len1);
|
|
237
|
+
const ret = wasm.open_document(ptr0, len0, ptr1, len1);
|
|
238
|
+
return ret;
|
|
223
239
|
}
|
|
224
240
|
|
|
225
241
|
/**
|
|
226
242
|
* @param {string} uri
|
|
227
243
|
* @param {string} text
|
|
244
|
+
* @returns {Promise<void>}
|
|
228
245
|
*/
|
|
229
246
|
export function change_document(uri, text) {
|
|
230
247
|
const ptr0 = passStringToWasm0(uri, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
231
248
|
const len0 = WASM_VECTOR_LEN;
|
|
232
249
|
const ptr1 = passStringToWasm0(text, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
233
250
|
const len1 = WASM_VECTOR_LEN;
|
|
234
|
-
wasm.change_document(ptr0, len0, ptr1, len1);
|
|
251
|
+
const ret = wasm.change_document(ptr0, len0, ptr1, len1);
|
|
252
|
+
return ret;
|
|
235
253
|
}
|
|
236
254
|
|
|
237
255
|
/**
|
|
@@ -284,32 +302,26 @@ export function hover(_uri, _line, _character) {
|
|
|
284
302
|
* @param {string} _uri
|
|
285
303
|
* @param {number} _line
|
|
286
304
|
* @param {number} _character
|
|
287
|
-
* @returns {any}
|
|
305
|
+
* @returns {Promise<any>}
|
|
288
306
|
*/
|
|
289
307
|
export function definition(_uri, _line, _character) {
|
|
290
308
|
const ptr0 = passStringToWasm0(_uri, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
291
309
|
const len0 = WASM_VECTOR_LEN;
|
|
292
310
|
const ret = wasm.definition(ptr0, len0, _line, _character);
|
|
293
|
-
|
|
294
|
-
throw takeFromExternrefTable0(ret[1]);
|
|
295
|
-
}
|
|
296
|
-
return takeFromExternrefTable0(ret[0]);
|
|
311
|
+
return ret;
|
|
297
312
|
}
|
|
298
313
|
|
|
299
314
|
/**
|
|
300
315
|
* @param {string} _uri
|
|
301
316
|
* @param {number} _line
|
|
302
317
|
* @param {number} _character
|
|
303
|
-
* @returns {any}
|
|
318
|
+
* @returns {Promise<any>}
|
|
304
319
|
*/
|
|
305
320
|
export function references(_uri, _line, _character) {
|
|
306
321
|
const ptr0 = passStringToWasm0(_uri, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
307
322
|
const len0 = WASM_VECTOR_LEN;
|
|
308
323
|
const ret = wasm.references(ptr0, len0, _line, _character);
|
|
309
|
-
|
|
310
|
-
throw takeFromExternrefTable0(ret[1]);
|
|
311
|
-
}
|
|
312
|
-
return takeFromExternrefTable0(ret[0]);
|
|
324
|
+
return ret;
|
|
313
325
|
}
|
|
314
326
|
|
|
315
327
|
/**
|
|
@@ -357,14 +369,11 @@ export function document_symbols(_uri) {
|
|
|
357
369
|
}
|
|
358
370
|
|
|
359
371
|
/**
|
|
360
|
-
* @returns {any}
|
|
372
|
+
* @returns {Promise<any>}
|
|
361
373
|
*/
|
|
362
374
|
export function workspace_symbols_all() {
|
|
363
375
|
const ret = wasm.workspace_symbols_all();
|
|
364
|
-
|
|
365
|
-
throw takeFromExternrefTable0(ret[1]);
|
|
366
|
-
}
|
|
367
|
-
return takeFromExternrefTable0(ret[0]);
|
|
376
|
+
return ret;
|
|
368
377
|
}
|
|
369
378
|
|
|
370
379
|
/**
|
|
@@ -404,14 +413,24 @@ export function setCompatMode(mode) {
|
|
|
404
413
|
wasm.setCompatMode(ptr0, len0);
|
|
405
414
|
}
|
|
406
415
|
|
|
407
|
-
function
|
|
408
|
-
wasm.
|
|
416
|
+
function __wbg_adapter_36(arg0, arg1, arg2) {
|
|
417
|
+
wasm.closure4865_externref_shim(arg0, arg1, arg2);
|
|
409
418
|
}
|
|
410
419
|
|
|
411
|
-
function
|
|
412
|
-
wasm.
|
|
420
|
+
function __wbg_adapter_39(arg0, arg1, arg2) {
|
|
421
|
+
wasm.closure4871_externref_shim(arg0, arg1, arg2);
|
|
413
422
|
}
|
|
414
423
|
|
|
424
|
+
function __wbg_adapter_421(arg0, arg1, arg2, arg3) {
|
|
425
|
+
wasm.closure4914_externref_shim(arg0, arg1, arg2, arg3);
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
const __wbindgen_enum_GpuErrorFilter = ["validation", "out-of-memory", "internal"];
|
|
429
|
+
|
|
430
|
+
const __wbindgen_enum_GpuIndexFormat = ["uint16", "uint32"];
|
|
431
|
+
|
|
432
|
+
const __wbindgen_enum_GpuTextureFormat = ["r8unorm", "r8snorm", "r8uint", "r8sint", "r16uint", "r16sint", "r16float", "rg8unorm", "rg8snorm", "rg8uint", "rg8sint", "r32uint", "r32sint", "r32float", "rg16uint", "rg16sint", "rg16float", "rgba8unorm", "rgba8unorm-srgb", "rgba8snorm", "rgba8uint", "rgba8sint", "bgra8unorm", "bgra8unorm-srgb", "rgb9e5ufloat", "rgb10a2unorm", "rg11b10ufloat", "rg32uint", "rg32sint", "rg32float", "rgba16uint", "rgba16sint", "rgba16float", "rgba32uint", "rgba32sint", "rgba32float", "stencil8", "depth16unorm", "depth24plus", "depth24plus-stencil8", "depth32float", "depth32float-stencil8", "bc1-rgba-unorm", "bc1-rgba-unorm-srgb", "bc2-rgba-unorm", "bc2-rgba-unorm-srgb", "bc3-rgba-unorm", "bc3-rgba-unorm-srgb", "bc4-r-unorm", "bc4-r-snorm", "bc5-rg-unorm", "bc5-rg-snorm", "bc6h-rgb-ufloat", "bc6h-rgb-float", "bc7-rgba-unorm", "bc7-rgba-unorm-srgb", "etc2-rgb8unorm", "etc2-rgb8unorm-srgb", "etc2-rgb8a1unorm", "etc2-rgb8a1unorm-srgb", "etc2-rgba8unorm", "etc2-rgba8unorm-srgb", "eac-r11unorm", "eac-r11snorm", "eac-rg11unorm", "eac-rg11snorm", "astc-4x4-unorm", "astc-4x4-unorm-srgb", "astc-5x4-unorm", "astc-5x4-unorm-srgb", "astc-5x5-unorm", "astc-5x5-unorm-srgb", "astc-6x5-unorm", "astc-6x5-unorm-srgb", "astc-6x6-unorm", "astc-6x6-unorm-srgb", "astc-8x5-unorm", "astc-8x5-unorm-srgb", "astc-8x6-unorm", "astc-8x6-unorm-srgb", "astc-8x8-unorm", "astc-8x8-unorm-srgb", "astc-10x5-unorm", "astc-10x5-unorm-srgb", "astc-10x6-unorm", "astc-10x6-unorm-srgb", "astc-10x8-unorm", "astc-10x8-unorm-srgb", "astc-10x10-unorm", "astc-10x10-unorm-srgb", "astc-12x10-unorm", "astc-12x10-unorm-srgb", "astc-12x12-unorm", "astc-12x12-unorm-srgb"];
|
|
433
|
+
|
|
415
434
|
const __wbindgen_enum_XmlHttpRequestResponseType = ["", "arraybuffer", "blob", "document", "json", "text"];
|
|
416
435
|
|
|
417
436
|
async function __wbg_load(module, imports) {
|
|
@@ -455,6 +474,26 @@ function __wbg_get_imports() {
|
|
|
455
474
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
456
475
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
457
476
|
};
|
|
477
|
+
imports.wbg.__wbg_Window_09685c5b35e4318e = function(arg0) {
|
|
478
|
+
const ret = arg0.Window;
|
|
479
|
+
return ret;
|
|
480
|
+
};
|
|
481
|
+
imports.wbg.__wbg_WorkerGlobalScope_86dadc234326361b = function(arg0) {
|
|
482
|
+
const ret = arg0.WorkerGlobalScope;
|
|
483
|
+
return ret;
|
|
484
|
+
};
|
|
485
|
+
imports.wbg.__wbg_beginComputePass_1887a662b16709f1 = function(arg0, arg1) {
|
|
486
|
+
const ret = arg0.beginComputePass(arg1);
|
|
487
|
+
return ret;
|
|
488
|
+
};
|
|
489
|
+
imports.wbg.__wbg_beginRenderPass_9179e8717d25fdb0 = function(arg0, arg1) {
|
|
490
|
+
const ret = arg0.beginRenderPass(arg1);
|
|
491
|
+
return ret;
|
|
492
|
+
};
|
|
493
|
+
imports.wbg.__wbg_buffer_09165b52af8c5237 = function(arg0) {
|
|
494
|
+
const ret = arg0.buffer;
|
|
495
|
+
return ret;
|
|
496
|
+
};
|
|
458
497
|
imports.wbg.__wbg_buffer_609cc3eee51ed158 = function(arg0) {
|
|
459
498
|
const ret = arg0.buffer;
|
|
460
499
|
return ret;
|
|
@@ -463,10 +502,170 @@ function __wbg_get_imports() {
|
|
|
463
502
|
const ret = arg0.call(arg1);
|
|
464
503
|
return ret;
|
|
465
504
|
}, arguments) };
|
|
505
|
+
imports.wbg.__wbg_call_7cccdd69e0791ae2 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
506
|
+
const ret = arg0.call(arg1, arg2);
|
|
507
|
+
return ret;
|
|
508
|
+
}, arguments) };
|
|
466
509
|
imports.wbg.__wbg_call_833bed5770ea2041 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
467
510
|
const ret = arg0.call(arg1, arg2, arg3);
|
|
468
511
|
return ret;
|
|
469
512
|
}, arguments) };
|
|
513
|
+
imports.wbg.__wbg_clearBuffer_3cb299d33f9c17aa = function(arg0, arg1, arg2, arg3) {
|
|
514
|
+
arg0.clearBuffer(arg1, arg2, arg3);
|
|
515
|
+
};
|
|
516
|
+
imports.wbg.__wbg_clearBuffer_d1bbfb575de500c2 = function(arg0, arg1, arg2) {
|
|
517
|
+
arg0.clearBuffer(arg1, arg2);
|
|
518
|
+
};
|
|
519
|
+
imports.wbg.__wbg_configure_3545afac230e1d5e = function(arg0, arg1) {
|
|
520
|
+
arg0.configure(arg1);
|
|
521
|
+
};
|
|
522
|
+
imports.wbg.__wbg_copyBufferToBuffer_1339da3175db86a8 = function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
523
|
+
arg0.copyBufferToBuffer(arg1, arg2, arg3, arg4, arg5);
|
|
524
|
+
};
|
|
525
|
+
imports.wbg.__wbg_copyBufferToTexture_7fa23729d3a09bc4 = function(arg0, arg1, arg2, arg3) {
|
|
526
|
+
arg0.copyBufferToTexture(arg1, arg2, arg3);
|
|
527
|
+
};
|
|
528
|
+
imports.wbg.__wbg_copyExternalImageToTexture_a7d15aeaa14817c3 = function(arg0, arg1, arg2, arg3) {
|
|
529
|
+
arg0.copyExternalImageToTexture(arg1, arg2, arg3);
|
|
530
|
+
};
|
|
531
|
+
imports.wbg.__wbg_copyTextureToBuffer_10eda2ea3e01a012 = function(arg0, arg1, arg2, arg3) {
|
|
532
|
+
arg0.copyTextureToBuffer(arg1, arg2, arg3);
|
|
533
|
+
};
|
|
534
|
+
imports.wbg.__wbg_copyTextureToTexture_0f32dca08a58f47f = function(arg0, arg1, arg2, arg3) {
|
|
535
|
+
arg0.copyTextureToTexture(arg1, arg2, arg3);
|
|
536
|
+
};
|
|
537
|
+
imports.wbg.__wbg_createBindGroupLayout_274e16d30c603078 = function(arg0, arg1) {
|
|
538
|
+
const ret = arg0.createBindGroupLayout(arg1);
|
|
539
|
+
return ret;
|
|
540
|
+
};
|
|
541
|
+
imports.wbg.__wbg_createBindGroup_a36c90bdc3f5eb88 = function(arg0, arg1) {
|
|
542
|
+
const ret = arg0.createBindGroup(arg1);
|
|
543
|
+
return ret;
|
|
544
|
+
};
|
|
545
|
+
imports.wbg.__wbg_createBuffer_d1ac34725e5cf041 = function(arg0, arg1) {
|
|
546
|
+
const ret = arg0.createBuffer(arg1);
|
|
547
|
+
return ret;
|
|
548
|
+
};
|
|
549
|
+
imports.wbg.__wbg_createCommandEncoder_513a786f096a5637 = function(arg0, arg1) {
|
|
550
|
+
const ret = arg0.createCommandEncoder(arg1);
|
|
551
|
+
return ret;
|
|
552
|
+
};
|
|
553
|
+
imports.wbg.__wbg_createComputePipeline_4bf93ff2c10c2333 = function(arg0, arg1) {
|
|
554
|
+
const ret = arg0.createComputePipeline(arg1);
|
|
555
|
+
return ret;
|
|
556
|
+
};
|
|
557
|
+
imports.wbg.__wbg_createPipelineLayout_669f14789cde7273 = function(arg0, arg1) {
|
|
558
|
+
const ret = arg0.createPipelineLayout(arg1);
|
|
559
|
+
return ret;
|
|
560
|
+
};
|
|
561
|
+
imports.wbg.__wbg_createQuerySet_7a0251b6c175935a = function(arg0, arg1) {
|
|
562
|
+
const ret = arg0.createQuerySet(arg1);
|
|
563
|
+
return ret;
|
|
564
|
+
};
|
|
565
|
+
imports.wbg.__wbg_createRenderBundleEncoder_2e2d7a61c14a077b = function(arg0, arg1) {
|
|
566
|
+
const ret = arg0.createRenderBundleEncoder(arg1);
|
|
567
|
+
return ret;
|
|
568
|
+
};
|
|
569
|
+
imports.wbg.__wbg_createRenderPipeline_d206a6a989f60069 = function(arg0, arg1) {
|
|
570
|
+
const ret = arg0.createRenderPipeline(arg1);
|
|
571
|
+
return ret;
|
|
572
|
+
};
|
|
573
|
+
imports.wbg.__wbg_createSampler_21641deec0b72234 = function(arg0, arg1) {
|
|
574
|
+
const ret = arg0.createSampler(arg1);
|
|
575
|
+
return ret;
|
|
576
|
+
};
|
|
577
|
+
imports.wbg.__wbg_createShaderModule_6a4726ff8937a4fc = function(arg0, arg1) {
|
|
578
|
+
const ret = arg0.createShaderModule(arg1);
|
|
579
|
+
return ret;
|
|
580
|
+
};
|
|
581
|
+
imports.wbg.__wbg_createTexture_b4736ca67c208a7d = function(arg0, arg1) {
|
|
582
|
+
const ret = arg0.createTexture(arg1);
|
|
583
|
+
return ret;
|
|
584
|
+
};
|
|
585
|
+
imports.wbg.__wbg_createView_28f72f1fbf41c53a = function(arg0, arg1) {
|
|
586
|
+
const ret = arg0.createView(arg1);
|
|
587
|
+
return ret;
|
|
588
|
+
};
|
|
589
|
+
imports.wbg.__wbg_destroy_24dc0325ca73bcdd = function(arg0) {
|
|
590
|
+
arg0.destroy();
|
|
591
|
+
};
|
|
592
|
+
imports.wbg.__wbg_destroy_35ef3fac72adebbd = function(arg0) {
|
|
593
|
+
arg0.destroy();
|
|
594
|
+
};
|
|
595
|
+
imports.wbg.__wbg_destroy_6ca164ec39708c30 = function(arg0) {
|
|
596
|
+
arg0.destroy();
|
|
597
|
+
};
|
|
598
|
+
imports.wbg.__wbg_dispatchWorkgroupsIndirect_5b70aa0ec2dd76d4 = function(arg0, arg1, arg2) {
|
|
599
|
+
arg0.dispatchWorkgroupsIndirect(arg1, arg2);
|
|
600
|
+
};
|
|
601
|
+
imports.wbg.__wbg_dispatchWorkgroups_eec2b1c97a77f008 = function(arg0, arg1, arg2, arg3) {
|
|
602
|
+
arg0.dispatchWorkgroups(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0);
|
|
603
|
+
};
|
|
604
|
+
imports.wbg.__wbg_document_d249400bd7bd996d = function(arg0) {
|
|
605
|
+
const ret = arg0.document;
|
|
606
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
607
|
+
};
|
|
608
|
+
imports.wbg.__wbg_drawIndexedIndirect_7195bed12006fc7e = function(arg0, arg1, arg2) {
|
|
609
|
+
arg0.drawIndexedIndirect(arg1, arg2);
|
|
610
|
+
};
|
|
611
|
+
imports.wbg.__wbg_drawIndexedIndirect_cb0d6da766bd5105 = function(arg0, arg1, arg2) {
|
|
612
|
+
arg0.drawIndexedIndirect(arg1, arg2);
|
|
613
|
+
};
|
|
614
|
+
imports.wbg.__wbg_drawIndexed_6d903b1382862f81 = function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
615
|
+
arg0.drawIndexed(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4, arg5 >>> 0);
|
|
616
|
+
};
|
|
617
|
+
imports.wbg.__wbg_drawIndexed_c122c36f03fe07a5 = function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
618
|
+
arg0.drawIndexed(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4, arg5 >>> 0);
|
|
619
|
+
};
|
|
620
|
+
imports.wbg.__wbg_drawIndirect_9aab8bee6f6f1c22 = function(arg0, arg1, arg2) {
|
|
621
|
+
arg0.drawIndirect(arg1, arg2);
|
|
622
|
+
};
|
|
623
|
+
imports.wbg.__wbg_drawIndirect_d531975704a856b7 = function(arg0, arg1, arg2) {
|
|
624
|
+
arg0.drawIndirect(arg1, arg2);
|
|
625
|
+
};
|
|
626
|
+
imports.wbg.__wbg_draw_19d537d9832d985d = function(arg0, arg1, arg2, arg3, arg4) {
|
|
627
|
+
arg0.draw(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
|
|
628
|
+
};
|
|
629
|
+
imports.wbg.__wbg_draw_5beb2c11da5429ce = function(arg0, arg1, arg2, arg3, arg4) {
|
|
630
|
+
arg0.draw(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
|
|
631
|
+
};
|
|
632
|
+
imports.wbg.__wbg_end_2dc6d7fdcbfc2a0c = function(arg0) {
|
|
633
|
+
arg0.end();
|
|
634
|
+
};
|
|
635
|
+
imports.wbg.__wbg_end_9cc33f189e27f3fd = function(arg0) {
|
|
636
|
+
arg0.end();
|
|
637
|
+
};
|
|
638
|
+
imports.wbg.__wbg_error_15b28e2be7953dc9 = function(arg0) {
|
|
639
|
+
const ret = arg0.error;
|
|
640
|
+
return ret;
|
|
641
|
+
};
|
|
642
|
+
imports.wbg.__wbg_executeBundles_db3c31afbf86979f = function(arg0, arg1) {
|
|
643
|
+
arg0.executeBundles(arg1);
|
|
644
|
+
};
|
|
645
|
+
imports.wbg.__wbg_features_89059e3112366930 = function(arg0) {
|
|
646
|
+
const ret = arg0.features;
|
|
647
|
+
return ret;
|
|
648
|
+
};
|
|
649
|
+
imports.wbg.__wbg_features_e8442c6e37f8191e = function(arg0) {
|
|
650
|
+
const ret = arg0.features;
|
|
651
|
+
return ret;
|
|
652
|
+
};
|
|
653
|
+
imports.wbg.__wbg_finish_53e6ed746110a5e5 = function(arg0) {
|
|
654
|
+
const ret = arg0.finish();
|
|
655
|
+
return ret;
|
|
656
|
+
};
|
|
657
|
+
imports.wbg.__wbg_finish_566e5beaeaeefc34 = function(arg0, arg1) {
|
|
658
|
+
const ret = arg0.finish(arg1);
|
|
659
|
+
return ret;
|
|
660
|
+
};
|
|
661
|
+
imports.wbg.__wbg_finish_a9c9f3133e6e4514 = function(arg0, arg1) {
|
|
662
|
+
const ret = arg0.finish(arg1);
|
|
663
|
+
return ret;
|
|
664
|
+
};
|
|
665
|
+
imports.wbg.__wbg_finish_e2465079e2b30a5a = function(arg0) {
|
|
666
|
+
const ret = arg0.finish();
|
|
667
|
+
return ret;
|
|
668
|
+
};
|
|
470
669
|
imports.wbg.__wbg_getAllResponseHeaders_83159b168d73a355 = function() { return handleError(function (arg0, arg1) {
|
|
471
670
|
const ret = arg1.getAllResponseHeaders();
|
|
472
671
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -474,10 +673,38 @@ function __wbg_get_imports() {
|
|
|
474
673
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
475
674
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
476
675
|
}, arguments) };
|
|
676
|
+
imports.wbg.__wbg_getBindGroupLayout_06526a0d3d5b4c6a = function(arg0, arg1) {
|
|
677
|
+
const ret = arg0.getBindGroupLayout(arg1 >>> 0);
|
|
678
|
+
return ret;
|
|
679
|
+
};
|
|
680
|
+
imports.wbg.__wbg_getBindGroupLayout_0f99651172cbcabf = function(arg0, arg1) {
|
|
681
|
+
const ret = arg0.getBindGroupLayout(arg1 >>> 0);
|
|
682
|
+
return ret;
|
|
683
|
+
};
|
|
477
684
|
imports.wbg.__wbg_getBoundingClientRect_9073b0ff7574d76b = function(arg0) {
|
|
478
685
|
const ret = arg0.getBoundingClientRect();
|
|
479
686
|
return ret;
|
|
480
687
|
};
|
|
688
|
+
imports.wbg.__wbg_getContext_e9cf379449413580 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
689
|
+
const ret = arg0.getContext(getStringFromWasm0(arg1, arg2));
|
|
690
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
691
|
+
}, arguments) };
|
|
692
|
+
imports.wbg.__wbg_getContext_f65a0debd1e8f8e8 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
693
|
+
const ret = arg0.getContext(getStringFromWasm0(arg1, arg2));
|
|
694
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
695
|
+
}, arguments) };
|
|
696
|
+
imports.wbg.__wbg_getCurrentTexture_f578d59f0860dcc9 = function(arg0) {
|
|
697
|
+
const ret = arg0.getCurrentTexture();
|
|
698
|
+
return ret;
|
|
699
|
+
};
|
|
700
|
+
imports.wbg.__wbg_getMappedRange_1a67a729fca25c5c = function(arg0, arg1, arg2) {
|
|
701
|
+
const ret = arg0.getMappedRange(arg1, arg2);
|
|
702
|
+
return ret;
|
|
703
|
+
};
|
|
704
|
+
imports.wbg.__wbg_getPreferredCanvasFormat_b4306c1470f3a2be = function(arg0) {
|
|
705
|
+
const ret = arg0.getPreferredCanvasFormat();
|
|
706
|
+
return (__wbindgen_enum_GpuTextureFormat.indexOf(ret) + 1 || 95) - 1;
|
|
707
|
+
};
|
|
481
708
|
imports.wbg.__wbg_getTime_46267b1c24877e30 = function(arg0) {
|
|
482
709
|
const ret = arg0.getTime();
|
|
483
710
|
return ret;
|
|
@@ -490,6 +717,18 @@ function __wbg_get_imports() {
|
|
|
490
717
|
const ret = Reflect.get(arg0, arg1);
|
|
491
718
|
return ret;
|
|
492
719
|
}, arguments) };
|
|
720
|
+
imports.wbg.__wbg_get_e27dfaeb6f46bd45 = function(arg0, arg1) {
|
|
721
|
+
const ret = arg0[arg1 >>> 0];
|
|
722
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
723
|
+
};
|
|
724
|
+
imports.wbg.__wbg_gpu_cd94e3ed1a24e829 = function(arg0) {
|
|
725
|
+
const ret = arg0.gpu;
|
|
726
|
+
return ret;
|
|
727
|
+
};
|
|
728
|
+
imports.wbg.__wbg_has_8d7562409899ab08 = function(arg0, arg1, arg2) {
|
|
729
|
+
const ret = arg0.has(getStringFromWasm0(arg1, arg2));
|
|
730
|
+
return ret;
|
|
731
|
+
};
|
|
493
732
|
imports.wbg.__wbg_height_592a89ec0fb63726 = function(arg0) {
|
|
494
733
|
const ret = arg0.height;
|
|
495
734
|
return ret;
|
|
@@ -522,10 +761,193 @@ function __wbg_get_imports() {
|
|
|
522
761
|
const ret = result;
|
|
523
762
|
return ret;
|
|
524
763
|
};
|
|
764
|
+
imports.wbg.__wbg_instanceof_GpuAdapter_812393144f747a28 = function(arg0) {
|
|
765
|
+
let result;
|
|
766
|
+
try {
|
|
767
|
+
result = arg0 instanceof GPUAdapter;
|
|
768
|
+
} catch (_) {
|
|
769
|
+
result = false;
|
|
770
|
+
}
|
|
771
|
+
const ret = result;
|
|
772
|
+
return ret;
|
|
773
|
+
};
|
|
774
|
+
imports.wbg.__wbg_instanceof_GpuCanvasContext_7d8c2aee896960ef = function(arg0) {
|
|
775
|
+
let result;
|
|
776
|
+
try {
|
|
777
|
+
result = arg0 instanceof GPUCanvasContext;
|
|
778
|
+
} catch (_) {
|
|
779
|
+
result = false;
|
|
780
|
+
}
|
|
781
|
+
const ret = result;
|
|
782
|
+
return ret;
|
|
783
|
+
};
|
|
784
|
+
imports.wbg.__wbg_instanceof_GpuOutOfMemoryError_5661073b28c982a3 = function(arg0) {
|
|
785
|
+
let result;
|
|
786
|
+
try {
|
|
787
|
+
result = arg0 instanceof GPUOutOfMemoryError;
|
|
788
|
+
} catch (_) {
|
|
789
|
+
result = false;
|
|
790
|
+
}
|
|
791
|
+
const ret = result;
|
|
792
|
+
return ret;
|
|
793
|
+
};
|
|
794
|
+
imports.wbg.__wbg_instanceof_GpuValidationError_b2b2abc70da536b4 = function(arg0) {
|
|
795
|
+
let result;
|
|
796
|
+
try {
|
|
797
|
+
result = arg0 instanceof GPUValidationError;
|
|
798
|
+
} catch (_) {
|
|
799
|
+
result = false;
|
|
800
|
+
}
|
|
801
|
+
const ret = result;
|
|
802
|
+
return ret;
|
|
803
|
+
};
|
|
804
|
+
imports.wbg.__wbg_instanceof_Object_7f2dcef8f78644a4 = function(arg0) {
|
|
805
|
+
let result;
|
|
806
|
+
try {
|
|
807
|
+
result = arg0 instanceof Object;
|
|
808
|
+
} catch (_) {
|
|
809
|
+
result = false;
|
|
810
|
+
}
|
|
811
|
+
const ret = result;
|
|
812
|
+
return ret;
|
|
813
|
+
};
|
|
814
|
+
imports.wbg.__wbg_instanceof_Window_def73ea0955fc569 = function(arg0) {
|
|
815
|
+
let result;
|
|
816
|
+
try {
|
|
817
|
+
result = arg0 instanceof Window;
|
|
818
|
+
} catch (_) {
|
|
819
|
+
result = false;
|
|
820
|
+
}
|
|
821
|
+
const ret = result;
|
|
822
|
+
return ret;
|
|
823
|
+
};
|
|
824
|
+
imports.wbg.__wbg_label_ddec9d5dff390794 = function(arg0, arg1) {
|
|
825
|
+
const ret = arg1.label;
|
|
826
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
827
|
+
const len1 = WASM_VECTOR_LEN;
|
|
828
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
829
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
830
|
+
};
|
|
525
831
|
imports.wbg.__wbg_length_a446193dc22c12f8 = function(arg0) {
|
|
526
832
|
const ret = arg0.length;
|
|
527
833
|
return ret;
|
|
528
834
|
};
|
|
835
|
+
imports.wbg.__wbg_limits_100c065725b263d3 = function(arg0) {
|
|
836
|
+
const ret = arg0.limits;
|
|
837
|
+
return ret;
|
|
838
|
+
};
|
|
839
|
+
imports.wbg.__wbg_limits_adf0926aa155a224 = function(arg0) {
|
|
840
|
+
const ret = arg0.limits;
|
|
841
|
+
return ret;
|
|
842
|
+
};
|
|
843
|
+
imports.wbg.__wbg_mapAsync_9cae92e6e45c9c69 = function(arg0, arg1, arg2, arg3) {
|
|
844
|
+
const ret = arg0.mapAsync(arg1 >>> 0, arg2, arg3);
|
|
845
|
+
return ret;
|
|
846
|
+
};
|
|
847
|
+
imports.wbg.__wbg_maxBindGroups_6f2433803f32568b = function(arg0) {
|
|
848
|
+
const ret = arg0.maxBindGroups;
|
|
849
|
+
return ret;
|
|
850
|
+
};
|
|
851
|
+
imports.wbg.__wbg_maxBindingsPerBindGroup_7663f800ee6c1c4d = function(arg0) {
|
|
852
|
+
const ret = arg0.maxBindingsPerBindGroup;
|
|
853
|
+
return ret;
|
|
854
|
+
};
|
|
855
|
+
imports.wbg.__wbg_maxBufferSize_7c2e7941b31faeb3 = function(arg0) {
|
|
856
|
+
const ret = arg0.maxBufferSize;
|
|
857
|
+
return ret;
|
|
858
|
+
};
|
|
859
|
+
imports.wbg.__wbg_maxComputeInvocationsPerWorkgroup_7706224e284389bb = function(arg0) {
|
|
860
|
+
const ret = arg0.maxComputeInvocationsPerWorkgroup;
|
|
861
|
+
return ret;
|
|
862
|
+
};
|
|
863
|
+
imports.wbg.__wbg_maxComputeWorkgroupSizeX_7c0caad69a9b0dd3 = function(arg0) {
|
|
864
|
+
const ret = arg0.maxComputeWorkgroupSizeX;
|
|
865
|
+
return ret;
|
|
866
|
+
};
|
|
867
|
+
imports.wbg.__wbg_maxComputeWorkgroupSizeY_add60ae79eceba95 = function(arg0) {
|
|
868
|
+
const ret = arg0.maxComputeWorkgroupSizeY;
|
|
869
|
+
return ret;
|
|
870
|
+
};
|
|
871
|
+
imports.wbg.__wbg_maxComputeWorkgroupSizeZ_b0d9e8bb90139e66 = function(arg0) {
|
|
872
|
+
const ret = arg0.maxComputeWorkgroupSizeZ;
|
|
873
|
+
return ret;
|
|
874
|
+
};
|
|
875
|
+
imports.wbg.__wbg_maxComputeWorkgroupStorageSize_bcc6c568b706b004 = function(arg0) {
|
|
876
|
+
const ret = arg0.maxComputeWorkgroupStorageSize;
|
|
877
|
+
return ret;
|
|
878
|
+
};
|
|
879
|
+
imports.wbg.__wbg_maxComputeWorkgroupsPerDimension_05c9e479d4805640 = function(arg0) {
|
|
880
|
+
const ret = arg0.maxComputeWorkgroupsPerDimension;
|
|
881
|
+
return ret;
|
|
882
|
+
};
|
|
883
|
+
imports.wbg.__wbg_maxDynamicStorageBuffersPerPipelineLayout_4017c7b096806162 = function(arg0) {
|
|
884
|
+
const ret = arg0.maxDynamicStorageBuffersPerPipelineLayout;
|
|
885
|
+
return ret;
|
|
886
|
+
};
|
|
887
|
+
imports.wbg.__wbg_maxDynamicUniformBuffersPerPipelineLayout_1d359f3196df8904 = function(arg0) {
|
|
888
|
+
const ret = arg0.maxDynamicUniformBuffersPerPipelineLayout;
|
|
889
|
+
return ret;
|
|
890
|
+
};
|
|
891
|
+
imports.wbg.__wbg_maxInterStageShaderComponents_d0d88326cf30e5cc = function(arg0) {
|
|
892
|
+
const ret = arg0.maxInterStageShaderComponents;
|
|
893
|
+
return ret;
|
|
894
|
+
};
|
|
895
|
+
imports.wbg.__wbg_maxSampledTexturesPerShaderStage_5ad571f210127408 = function(arg0) {
|
|
896
|
+
const ret = arg0.maxSampledTexturesPerShaderStage;
|
|
897
|
+
return ret;
|
|
898
|
+
};
|
|
899
|
+
imports.wbg.__wbg_maxSamplersPerShaderStage_c2ccff8d0f9ec6fd = function(arg0) {
|
|
900
|
+
const ret = arg0.maxSamplersPerShaderStage;
|
|
901
|
+
return ret;
|
|
902
|
+
};
|
|
903
|
+
imports.wbg.__wbg_maxStorageBufferBindingSize_7c16519c2edc067a = function(arg0) {
|
|
904
|
+
const ret = arg0.maxStorageBufferBindingSize;
|
|
905
|
+
return ret;
|
|
906
|
+
};
|
|
907
|
+
imports.wbg.__wbg_maxStorageBuffersPerShaderStage_e8eff366756ea9b4 = function(arg0) {
|
|
908
|
+
const ret = arg0.maxStorageBuffersPerShaderStage;
|
|
909
|
+
return ret;
|
|
910
|
+
};
|
|
911
|
+
imports.wbg.__wbg_maxStorageTexturesPerShaderStage_4e1d793c1e5c72a2 = function(arg0) {
|
|
912
|
+
const ret = arg0.maxStorageTexturesPerShaderStage;
|
|
913
|
+
return ret;
|
|
914
|
+
};
|
|
915
|
+
imports.wbg.__wbg_maxTextureArrayLayers_185872b43f6c8c34 = function(arg0) {
|
|
916
|
+
const ret = arg0.maxTextureArrayLayers;
|
|
917
|
+
return ret;
|
|
918
|
+
};
|
|
919
|
+
imports.wbg.__wbg_maxTextureDimension1D_bfa55b0304281516 = function(arg0) {
|
|
920
|
+
const ret = arg0.maxTextureDimension1D;
|
|
921
|
+
return ret;
|
|
922
|
+
};
|
|
923
|
+
imports.wbg.__wbg_maxTextureDimension2D_ffea95d029cf185b = function(arg0) {
|
|
924
|
+
const ret = arg0.maxTextureDimension2D;
|
|
925
|
+
return ret;
|
|
926
|
+
};
|
|
927
|
+
imports.wbg.__wbg_maxTextureDimension3D_bdfbc27d985f367d = function(arg0) {
|
|
928
|
+
const ret = arg0.maxTextureDimension3D;
|
|
929
|
+
return ret;
|
|
930
|
+
};
|
|
931
|
+
imports.wbg.__wbg_maxUniformBufferBindingSize_01703051a2b68aaa = function(arg0) {
|
|
932
|
+
const ret = arg0.maxUniformBufferBindingSize;
|
|
933
|
+
return ret;
|
|
934
|
+
};
|
|
935
|
+
imports.wbg.__wbg_maxUniformBuffersPerShaderStage_9f2d18a988fa37a0 = function(arg0) {
|
|
936
|
+
const ret = arg0.maxUniformBuffersPerShaderStage;
|
|
937
|
+
return ret;
|
|
938
|
+
};
|
|
939
|
+
imports.wbg.__wbg_maxVertexAttributes_268db19855a9a8bf = function(arg0) {
|
|
940
|
+
const ret = arg0.maxVertexAttributes;
|
|
941
|
+
return ret;
|
|
942
|
+
};
|
|
943
|
+
imports.wbg.__wbg_maxVertexBufferArrayStride_cace98777fdc5a4c = function(arg0) {
|
|
944
|
+
const ret = arg0.maxVertexBufferArrayStride;
|
|
945
|
+
return ret;
|
|
946
|
+
};
|
|
947
|
+
imports.wbg.__wbg_maxVertexBuffers_a8169305364fd125 = function(arg0) {
|
|
948
|
+
const ret = arg0.maxVertexBuffers;
|
|
949
|
+
return ret;
|
|
950
|
+
};
|
|
529
951
|
imports.wbg.__wbg_message_5c5d919204d42400 = function(arg0, arg1) {
|
|
530
952
|
const ret = arg1.message;
|
|
531
953
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -533,6 +955,21 @@ function __wbg_get_imports() {
|
|
|
533
955
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
534
956
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
535
957
|
};
|
|
958
|
+
imports.wbg.__wbg_message_d8f5eb4a85362e32 = function(arg0, arg1) {
|
|
959
|
+
const ret = arg1.message;
|
|
960
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
961
|
+
const len1 = WASM_VECTOR_LEN;
|
|
962
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
963
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
964
|
+
};
|
|
965
|
+
imports.wbg.__wbg_minStorageBufferOffsetAlignment_b9763b1a342987b2 = function(arg0) {
|
|
966
|
+
const ret = arg0.minStorageBufferOffsetAlignment;
|
|
967
|
+
return ret;
|
|
968
|
+
};
|
|
969
|
+
imports.wbg.__wbg_minUniformBufferOffsetAlignment_dc9a10adad690d13 = function(arg0) {
|
|
970
|
+
const ret = arg0.minUniformBufferOffsetAlignment;
|
|
971
|
+
return ret;
|
|
972
|
+
};
|
|
536
973
|
imports.wbg.__wbg_name_f2d27098bfd843e7 = function(arg0, arg1) {
|
|
537
974
|
const ret = arg1.name;
|
|
538
975
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -540,6 +977,14 @@ function __wbg_get_imports() {
|
|
|
540
977
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
541
978
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
542
979
|
};
|
|
980
|
+
imports.wbg.__wbg_navigator_0a9bf1120e24fec2 = function(arg0) {
|
|
981
|
+
const ret = arg0.navigator;
|
|
982
|
+
return ret;
|
|
983
|
+
};
|
|
984
|
+
imports.wbg.__wbg_navigator_1577371c070c8947 = function(arg0) {
|
|
985
|
+
const ret = arg0.navigator;
|
|
986
|
+
return ret;
|
|
987
|
+
};
|
|
543
988
|
imports.wbg.__wbg_new0_f788a2397c7ca929 = function() {
|
|
544
989
|
const ret = new Date();
|
|
545
990
|
return ret;
|
|
@@ -551,7 +996,7 @@ function __wbg_get_imports() {
|
|
|
551
996
|
const a = state0.a;
|
|
552
997
|
state0.a = 0;
|
|
553
998
|
try {
|
|
554
|
-
return
|
|
999
|
+
return __wbg_adapter_421(a, state0.b, arg0, arg1);
|
|
555
1000
|
} finally {
|
|
556
1001
|
state0.a = a;
|
|
557
1002
|
}
|
|
@@ -590,6 +1035,10 @@ function __wbg_get_imports() {
|
|
|
590
1035
|
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
591
1036
|
return ret;
|
|
592
1037
|
};
|
|
1038
|
+
imports.wbg.__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a = function(arg0, arg1, arg2) {
|
|
1039
|
+
const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
1040
|
+
return ret;
|
|
1041
|
+
};
|
|
593
1042
|
imports.wbg.__wbg_now_807e54c39636c349 = function() {
|
|
594
1043
|
const ret = Date.now();
|
|
595
1044
|
return ret;
|
|
@@ -601,6 +1050,47 @@ function __wbg_get_imports() {
|
|
|
601
1050
|
imports.wbg.__wbg_open_13a598ea50d82926 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
602
1051
|
arg0.open(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4), arg5 !== 0);
|
|
603
1052
|
}, arguments) };
|
|
1053
|
+
imports.wbg.__wbg_popErrorScope_8a0d0d31c4ddc243 = function(arg0) {
|
|
1054
|
+
const ret = arg0.popErrorScope();
|
|
1055
|
+
return ret;
|
|
1056
|
+
};
|
|
1057
|
+
imports.wbg.__wbg_pushErrorScope_dc8386c8142593b6 = function(arg0, arg1) {
|
|
1058
|
+
arg0.pushErrorScope(__wbindgen_enum_GpuErrorFilter[arg1]);
|
|
1059
|
+
};
|
|
1060
|
+
imports.wbg.__wbg_push_737cfc8c1432c2c6 = function(arg0, arg1) {
|
|
1061
|
+
const ret = arg0.push(arg1);
|
|
1062
|
+
return ret;
|
|
1063
|
+
};
|
|
1064
|
+
imports.wbg.__wbg_querySelectorAll_40998fd748f057ef = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1065
|
+
const ret = arg0.querySelectorAll(getStringFromWasm0(arg1, arg2));
|
|
1066
|
+
return ret;
|
|
1067
|
+
}, arguments) };
|
|
1068
|
+
imports.wbg.__wbg_queueMicrotask_97d92b4fcc8a61c5 = function(arg0) {
|
|
1069
|
+
queueMicrotask(arg0);
|
|
1070
|
+
};
|
|
1071
|
+
imports.wbg.__wbg_queueMicrotask_d3219def82552485 = function(arg0) {
|
|
1072
|
+
const ret = arg0.queueMicrotask;
|
|
1073
|
+
return ret;
|
|
1074
|
+
};
|
|
1075
|
+
imports.wbg.__wbg_queue_d083905208ed0dcd = function(arg0) {
|
|
1076
|
+
const ret = arg0.queue;
|
|
1077
|
+
return ret;
|
|
1078
|
+
};
|
|
1079
|
+
imports.wbg.__wbg_requestAdapter_629f003011778ce0 = function(arg0, arg1) {
|
|
1080
|
+
const ret = arg0.requestAdapter(arg1);
|
|
1081
|
+
return ret;
|
|
1082
|
+
};
|
|
1083
|
+
imports.wbg.__wbg_requestDevice_a420ce594b90ac7c = function(arg0, arg1) {
|
|
1084
|
+
const ret = arg0.requestDevice(arg1);
|
|
1085
|
+
return ret;
|
|
1086
|
+
};
|
|
1087
|
+
imports.wbg.__wbg_resolveQuerySet_2fea0e7835fc7df1 = function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
1088
|
+
arg0.resolveQuerySet(arg1, arg2 >>> 0, arg3 >>> 0, arg4, arg5 >>> 0);
|
|
1089
|
+
};
|
|
1090
|
+
imports.wbg.__wbg_resolve_4851785c9c5f573d = function(arg0) {
|
|
1091
|
+
const ret = Promise.resolve(arg0);
|
|
1092
|
+
return ret;
|
|
1093
|
+
};
|
|
604
1094
|
imports.wbg.__wbg_response_49e10f8ee7f418db = function() { return handleError(function (arg0) {
|
|
605
1095
|
const ret = arg0.response;
|
|
606
1096
|
return ret;
|
|
@@ -611,9 +1101,72 @@ function __wbg_get_imports() {
|
|
|
611
1101
|
imports.wbg.__wbg_send_40a47636ff90f64d = function() { return handleError(function (arg0) {
|
|
612
1102
|
arg0.send();
|
|
613
1103
|
}, arguments) };
|
|
1104
|
+
imports.wbg.__wbg_setBindGroup_10139726fa3dd1ea = function(arg0, arg1, arg2) {
|
|
1105
|
+
arg0.setBindGroup(arg1 >>> 0, arg2);
|
|
1106
|
+
};
|
|
1107
|
+
imports.wbg.__wbg_setBindGroup_241675b4c4b8f5ee = function(arg0, arg1, arg2) {
|
|
1108
|
+
arg0.setBindGroup(arg1 >>> 0, arg2);
|
|
1109
|
+
};
|
|
1110
|
+
imports.wbg.__wbg_setBindGroup_9ae27be0638391c7 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
1111
|
+
arg0.setBindGroup(arg1 >>> 0, arg2, getArrayU32FromWasm0(arg3, arg4), arg5, arg6 >>> 0);
|
|
1112
|
+
};
|
|
1113
|
+
imports.wbg.__wbg_setBindGroup_a539eeaa822b1981 = function(arg0, arg1, arg2) {
|
|
1114
|
+
arg0.setBindGroup(arg1 >>> 0, arg2);
|
|
1115
|
+
};
|
|
1116
|
+
imports.wbg.__wbg_setBindGroup_db89ccc18c604dc2 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
1117
|
+
arg0.setBindGroup(arg1 >>> 0, arg2, getArrayU32FromWasm0(arg3, arg4), arg5, arg6 >>> 0);
|
|
1118
|
+
};
|
|
1119
|
+
imports.wbg.__wbg_setBindGroup_eea1f72247b40846 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
1120
|
+
arg0.setBindGroup(arg1 >>> 0, arg2, getArrayU32FromWasm0(arg3, arg4), arg5, arg6 >>> 0);
|
|
1121
|
+
};
|
|
1122
|
+
imports.wbg.__wbg_setBlendConstant_898c0ee36fd7f3d6 = function(arg0, arg1) {
|
|
1123
|
+
arg0.setBlendConstant(arg1);
|
|
1124
|
+
};
|
|
1125
|
+
imports.wbg.__wbg_setIndexBuffer_02484628e4be6ccf = function(arg0, arg1, arg2, arg3) {
|
|
1126
|
+
arg0.setIndexBuffer(arg1, __wbindgen_enum_GpuIndexFormat[arg2], arg3);
|
|
1127
|
+
};
|
|
1128
|
+
imports.wbg.__wbg_setIndexBuffer_4179c9df498ed24f = function(arg0, arg1, arg2, arg3, arg4) {
|
|
1129
|
+
arg0.setIndexBuffer(arg1, __wbindgen_enum_GpuIndexFormat[arg2], arg3, arg4);
|
|
1130
|
+
};
|
|
1131
|
+
imports.wbg.__wbg_setIndexBuffer_6241c40136dfd59c = function(arg0, arg1, arg2, arg3) {
|
|
1132
|
+
arg0.setIndexBuffer(arg1, __wbindgen_enum_GpuIndexFormat[arg2], arg3);
|
|
1133
|
+
};
|
|
1134
|
+
imports.wbg.__wbg_setIndexBuffer_cac1cc97b362a161 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
1135
|
+
arg0.setIndexBuffer(arg1, __wbindgen_enum_GpuIndexFormat[arg2], arg3, arg4);
|
|
1136
|
+
};
|
|
1137
|
+
imports.wbg.__wbg_setPipeline_065423750bbc2601 = function(arg0, arg1) {
|
|
1138
|
+
arg0.setPipeline(arg1);
|
|
1139
|
+
};
|
|
1140
|
+
imports.wbg.__wbg_setPipeline_73d2200820a1b6d7 = function(arg0, arg1) {
|
|
1141
|
+
arg0.setPipeline(arg1);
|
|
1142
|
+
};
|
|
1143
|
+
imports.wbg.__wbg_setPipeline_c41eba60986fbffb = function(arg0, arg1) {
|
|
1144
|
+
arg0.setPipeline(arg1);
|
|
1145
|
+
};
|
|
614
1146
|
imports.wbg.__wbg_setRequestHeader_51d371ad5196f6ef = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
615
1147
|
arg0.setRequestHeader(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
616
1148
|
}, arguments) };
|
|
1149
|
+
imports.wbg.__wbg_setScissorRect_7ad09034bda2ad64 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
1150
|
+
arg0.setScissorRect(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
|
|
1151
|
+
};
|
|
1152
|
+
imports.wbg.__wbg_setStencilReference_2d44258a2b1549df = function(arg0, arg1) {
|
|
1153
|
+
arg0.setStencilReference(arg1 >>> 0);
|
|
1154
|
+
};
|
|
1155
|
+
imports.wbg.__wbg_setVertexBuffer_086ad8f1d3a3528b = function(arg0, arg1, arg2, arg3) {
|
|
1156
|
+
arg0.setVertexBuffer(arg1 >>> 0, arg2, arg3);
|
|
1157
|
+
};
|
|
1158
|
+
imports.wbg.__wbg_setVertexBuffer_130b7f747b752e5d = function(arg0, arg1, arg2, arg3, arg4) {
|
|
1159
|
+
arg0.setVertexBuffer(arg1 >>> 0, arg2, arg3, arg4);
|
|
1160
|
+
};
|
|
1161
|
+
imports.wbg.__wbg_setVertexBuffer_1a126bb7aa133940 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
1162
|
+
arg0.setVertexBuffer(arg1 >>> 0, arg2, arg3, arg4);
|
|
1163
|
+
};
|
|
1164
|
+
imports.wbg.__wbg_setVertexBuffer_56163ae020ef8343 = function(arg0, arg1, arg2, arg3) {
|
|
1165
|
+
arg0.setVertexBuffer(arg1 >>> 0, arg2, arg3);
|
|
1166
|
+
};
|
|
1167
|
+
imports.wbg.__wbg_setViewport_0c26f0a54b53d7e3 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
1168
|
+
arg0.setViewport(arg1, arg2, arg3, arg4, arg5, arg6);
|
|
1169
|
+
};
|
|
617
1170
|
imports.wbg.__wbg_set_37837023f3d740e8 = function(arg0, arg1, arg2) {
|
|
618
1171
|
arg0[arg1 >>> 0] = arg2;
|
|
619
1172
|
};
|
|
@@ -627,12 +1180,35 @@ function __wbg_get_imports() {
|
|
|
627
1180
|
const ret = arg0.set(arg1, arg2);
|
|
628
1181
|
return ret;
|
|
629
1182
|
};
|
|
1183
|
+
imports.wbg.__wbg_set_bb8cecf6a62b9f46 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1184
|
+
const ret = Reflect.set(arg0, arg1, arg2);
|
|
1185
|
+
return ret;
|
|
1186
|
+
}, arguments) };
|
|
1187
|
+
imports.wbg.__wbg_setheight_433680330c9420c3 = function(arg0, arg1) {
|
|
1188
|
+
arg0.height = arg1 >>> 0;
|
|
1189
|
+
};
|
|
1190
|
+
imports.wbg.__wbg_setheight_da683a33fa99843c = function(arg0, arg1) {
|
|
1191
|
+
arg0.height = arg1 >>> 0;
|
|
1192
|
+
};
|
|
1193
|
+
imports.wbg.__wbg_setonuncapturederror_daf12032b2ca712a = function(arg0, arg1) {
|
|
1194
|
+
arg0.onuncapturederror = arg1;
|
|
1195
|
+
};
|
|
630
1196
|
imports.wbg.__wbg_setresponseType_4267195f737262d5 = function(arg0, arg1) {
|
|
631
1197
|
arg0.responseType = __wbindgen_enum_XmlHttpRequestResponseType[arg1];
|
|
632
1198
|
};
|
|
633
1199
|
imports.wbg.__wbg_settimeout_0354c6307cd5eae8 = function(arg0, arg1) {
|
|
634
1200
|
arg0.timeout = arg1 >>> 0;
|
|
635
1201
|
};
|
|
1202
|
+
imports.wbg.__wbg_setwidth_660ca581e3fbe279 = function(arg0, arg1) {
|
|
1203
|
+
arg0.width = arg1 >>> 0;
|
|
1204
|
+
};
|
|
1205
|
+
imports.wbg.__wbg_setwidth_c5fed9f5e7f0b406 = function(arg0, arg1) {
|
|
1206
|
+
arg0.width = arg1 >>> 0;
|
|
1207
|
+
};
|
|
1208
|
+
imports.wbg.__wbg_size_45c769c019ee354e = function(arg0) {
|
|
1209
|
+
const ret = arg0.size;
|
|
1210
|
+
return ret;
|
|
1211
|
+
};
|
|
636
1212
|
imports.wbg.__wbg_static_accessor_GLOBAL_88a902d13a557d07 = function() {
|
|
637
1213
|
const ret = typeof global === 'undefined' ? null : global;
|
|
638
1214
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
@@ -660,10 +1236,28 @@ function __wbg_get_imports() {
|
|
|
660
1236
|
const ret = arg0.status;
|
|
661
1237
|
return ret;
|
|
662
1238
|
}, arguments) };
|
|
1239
|
+
imports.wbg.__wbg_submit_75592557e0c2141c = function(arg0, arg1) {
|
|
1240
|
+
arg0.submit(arg1);
|
|
1241
|
+
};
|
|
1242
|
+
imports.wbg.__wbg_then_44b73946d2fb3e7d = function(arg0, arg1) {
|
|
1243
|
+
const ret = arg0.then(arg1);
|
|
1244
|
+
return ret;
|
|
1245
|
+
};
|
|
663
1246
|
imports.wbg.__wbg_then_48b406749878a531 = function(arg0, arg1, arg2) {
|
|
664
1247
|
const ret = arg0.then(arg1, arg2);
|
|
665
1248
|
return ret;
|
|
666
1249
|
};
|
|
1250
|
+
imports.wbg.__wbg_unmap_662f1210575affe8 = function(arg0) {
|
|
1251
|
+
arg0.unmap();
|
|
1252
|
+
};
|
|
1253
|
+
imports.wbg.__wbg_usage_000523533bad5f06 = function(arg0) {
|
|
1254
|
+
const ret = arg0.usage;
|
|
1255
|
+
return ret;
|
|
1256
|
+
};
|
|
1257
|
+
imports.wbg.__wbg_valueOf_39a18758c25e8b95 = function(arg0) {
|
|
1258
|
+
const ret = arg0.valueOf();
|
|
1259
|
+
return ret;
|
|
1260
|
+
};
|
|
667
1261
|
imports.wbg.__wbg_width_5dde457d606ba683 = function(arg0) {
|
|
668
1262
|
const ret = arg0.width;
|
|
669
1263
|
return ret;
|
|
@@ -676,6 +1270,15 @@ function __wbg_get_imports() {
|
|
|
676
1270
|
const ret = arg0.width;
|
|
677
1271
|
return ret;
|
|
678
1272
|
};
|
|
1273
|
+
imports.wbg.__wbg_writeBuffer_c78696d1629b48de = function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
1274
|
+
arg0.writeBuffer(arg1, arg2, arg3, arg4, arg5);
|
|
1275
|
+
};
|
|
1276
|
+
imports.wbg.__wbg_writeTexture_91ff88a4044f669a = function(arg0, arg1, arg2, arg3, arg4) {
|
|
1277
|
+
arg0.writeTexture(arg1, arg2, arg3, arg4);
|
|
1278
|
+
};
|
|
1279
|
+
imports.wbg.__wbg_writeTimestamp_a8766c734d6aa8d6 = function(arg0, arg1, arg2) {
|
|
1280
|
+
arg0.writeTimestamp(arg1, arg2 >>> 0);
|
|
1281
|
+
};
|
|
679
1282
|
imports.wbg.__wbindgen_bigint_from_i64 = function(arg0) {
|
|
680
1283
|
const ret = arg0;
|
|
681
1284
|
return ret;
|
|
@@ -693,8 +1296,12 @@ function __wbg_get_imports() {
|
|
|
693
1296
|
const ret = false;
|
|
694
1297
|
return ret;
|
|
695
1298
|
};
|
|
696
|
-
imports.wbg.
|
|
697
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1299
|
+
imports.wbg.__wbindgen_closure_wrapper17051 = function(arg0, arg1, arg2) {
|
|
1300
|
+
const ret = makeMutClosure(arg0, arg1, 4866, __wbg_adapter_36);
|
|
1301
|
+
return ret;
|
|
1302
|
+
};
|
|
1303
|
+
imports.wbg.__wbindgen_closure_wrapper17524 = function(arg0, arg1, arg2) {
|
|
1304
|
+
const ret = makeMutClosure(arg0, arg1, 4872, __wbg_adapter_39);
|
|
698
1305
|
return ret;
|
|
699
1306
|
};
|
|
700
1307
|
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
|
@@ -722,6 +1329,11 @@ function __wbg_get_imports() {
|
|
|
722
1329
|
const ret = typeof(arg0) === 'function';
|
|
723
1330
|
return ret;
|
|
724
1331
|
};
|
|
1332
|
+
imports.wbg.__wbindgen_is_object = function(arg0) {
|
|
1333
|
+
const val = arg0;
|
|
1334
|
+
const ret = typeof(val) === 'object' && val !== null;
|
|
1335
|
+
return ret;
|
|
1336
|
+
};
|
|
725
1337
|
imports.wbg.__wbindgen_is_string = function(arg0) {
|
|
726
1338
|
const ret = typeof(arg0) === 'string';
|
|
727
1339
|
return ret;
|
|
@@ -738,6 +1350,14 @@ function __wbg_get_imports() {
|
|
|
738
1350
|
const ret = arg0;
|
|
739
1351
|
return ret;
|
|
740
1352
|
};
|
|
1353
|
+
imports.wbg.__wbindgen_string_get = function(arg0, arg1) {
|
|
1354
|
+
const obj = arg1;
|
|
1355
|
+
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
1356
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1357
|
+
var len1 = WASM_VECTOR_LEN;
|
|
1358
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1359
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1360
|
+
};
|
|
741
1361
|
imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
|
|
742
1362
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
743
1363
|
return ret;
|
|
@@ -757,6 +1377,7 @@ function __wbg_finalize_init(instance, module) {
|
|
|
757
1377
|
wasm = instance.exports;
|
|
758
1378
|
__wbg_init.__wbindgen_wasm_module = module;
|
|
759
1379
|
cachedDataViewMemory0 = null;
|
|
1380
|
+
cachedUint32ArrayMemory0 = null;
|
|
760
1381
|
cachedUint8ArrayMemory0 = null;
|
|
761
1382
|
|
|
762
1383
|
|