runmat 0.4.10-dev.6 → 0.4.10-dev.8
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/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/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/scatterplot.d.ts +4 -0
- package/dist/generated/builtins/scatterplot.d.ts.map +1 -0
- package/dist/generated/builtins/scatterplot.js +115 -0
- package/dist/generated/builtins/scatterplot.js.map +1 -0
- package/dist/generated/builtins-manifest.d.ts.map +1 -1
- package/dist/generated/builtins-manifest.js +43 -0
- package/dist/generated/builtins-manifest.js.map +1 -1
- package/dist/lsp/runmat_lsp.d.ts +3 -2
- package/dist/lsp/runmat_lsp.js +616 -9
- package/dist/lsp/runmat_lsp_bg.wasm +0 -0
- package/dist/lsp/runmat_lsp_bg.wasm.d.ts +3 -2
- package/dist/pkg-web/runmat_wasm_web.d.ts +37 -37
- package/dist/pkg-web/runmat_wasm_web.js +86 -85
- package/dist/pkg-web/runmat_wasm_web_bg.wasm +0 -0
- package/dist/pkg-web/runmat_wasm_web_bg.wasm.d.ts +30 -30
- 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')
|
|
@@ -399,14 +413,24 @@ export function setCompatMode(mode) {
|
|
|
399
413
|
wasm.setCompatMode(ptr0, len0);
|
|
400
414
|
}
|
|
401
415
|
|
|
402
|
-
function
|
|
403
|
-
wasm.
|
|
416
|
+
function __wbg_adapter_36(arg0, arg1, arg2) {
|
|
417
|
+
wasm.closure4860_externref_shim(arg0, arg1, arg2);
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
function __wbg_adapter_39(arg0, arg1, arg2) {
|
|
421
|
+
wasm.closure4866_externref_shim(arg0, arg1, arg2);
|
|
404
422
|
}
|
|
405
423
|
|
|
406
|
-
function
|
|
407
|
-
wasm.
|
|
424
|
+
function __wbg_adapter_421(arg0, arg1, arg2, arg3) {
|
|
425
|
+
wasm.closure4909_externref_shim(arg0, arg1, arg2, arg3);
|
|
408
426
|
}
|
|
409
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
|
+
|
|
410
434
|
const __wbindgen_enum_XmlHttpRequestResponseType = ["", "arraybuffer", "blob", "document", "json", "text"];
|
|
411
435
|
|
|
412
436
|
async function __wbg_load(module, imports) {
|
|
@@ -450,6 +474,26 @@ function __wbg_get_imports() {
|
|
|
450
474
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
451
475
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
452
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
|
+
};
|
|
453
497
|
imports.wbg.__wbg_buffer_609cc3eee51ed158 = function(arg0) {
|
|
454
498
|
const ret = arg0.buffer;
|
|
455
499
|
return ret;
|
|
@@ -466,6 +510,162 @@ function __wbg_get_imports() {
|
|
|
466
510
|
const ret = arg0.call(arg1, arg2, arg3);
|
|
467
511
|
return ret;
|
|
468
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
|
+
};
|
|
469
669
|
imports.wbg.__wbg_getAllResponseHeaders_83159b168d73a355 = function() { return handleError(function (arg0, arg1) {
|
|
470
670
|
const ret = arg1.getAllResponseHeaders();
|
|
471
671
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -473,10 +673,38 @@ function __wbg_get_imports() {
|
|
|
473
673
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
474
674
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
475
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
|
+
};
|
|
476
684
|
imports.wbg.__wbg_getBoundingClientRect_9073b0ff7574d76b = function(arg0) {
|
|
477
685
|
const ret = arg0.getBoundingClientRect();
|
|
478
686
|
return ret;
|
|
479
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
|
+
};
|
|
480
708
|
imports.wbg.__wbg_getTime_46267b1c24877e30 = function(arg0) {
|
|
481
709
|
const ret = arg0.getTime();
|
|
482
710
|
return ret;
|
|
@@ -489,6 +717,18 @@ function __wbg_get_imports() {
|
|
|
489
717
|
const ret = Reflect.get(arg0, arg1);
|
|
490
718
|
return ret;
|
|
491
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
|
+
};
|
|
492
732
|
imports.wbg.__wbg_height_592a89ec0fb63726 = function(arg0) {
|
|
493
733
|
const ret = arg0.height;
|
|
494
734
|
return ret;
|
|
@@ -521,10 +761,193 @@ function __wbg_get_imports() {
|
|
|
521
761
|
const ret = result;
|
|
522
762
|
return ret;
|
|
523
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
|
+
};
|
|
524
831
|
imports.wbg.__wbg_length_a446193dc22c12f8 = function(arg0) {
|
|
525
832
|
const ret = arg0.length;
|
|
526
833
|
return ret;
|
|
527
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
|
+
};
|
|
528
951
|
imports.wbg.__wbg_message_5c5d919204d42400 = function(arg0, arg1) {
|
|
529
952
|
const ret = arg1.message;
|
|
530
953
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -532,6 +955,21 @@ function __wbg_get_imports() {
|
|
|
532
955
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
533
956
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
534
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
|
+
};
|
|
535
973
|
imports.wbg.__wbg_name_f2d27098bfd843e7 = function(arg0, arg1) {
|
|
536
974
|
const ret = arg1.name;
|
|
537
975
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -539,6 +977,14 @@ function __wbg_get_imports() {
|
|
|
539
977
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
540
978
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
541
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
|
+
};
|
|
542
988
|
imports.wbg.__wbg_new0_f788a2397c7ca929 = function() {
|
|
543
989
|
const ret = new Date();
|
|
544
990
|
return ret;
|
|
@@ -550,7 +996,7 @@ function __wbg_get_imports() {
|
|
|
550
996
|
const a = state0.a;
|
|
551
997
|
state0.a = 0;
|
|
552
998
|
try {
|
|
553
|
-
return
|
|
999
|
+
return __wbg_adapter_421(a, state0.b, arg0, arg1);
|
|
554
1000
|
} finally {
|
|
555
1001
|
state0.a = a;
|
|
556
1002
|
}
|
|
@@ -589,6 +1035,10 @@ function __wbg_get_imports() {
|
|
|
589
1035
|
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
590
1036
|
return ret;
|
|
591
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
|
+
};
|
|
592
1042
|
imports.wbg.__wbg_now_807e54c39636c349 = function() {
|
|
593
1043
|
const ret = Date.now();
|
|
594
1044
|
return ret;
|
|
@@ -600,6 +1050,21 @@ function __wbg_get_imports() {
|
|
|
600
1050
|
imports.wbg.__wbg_open_13a598ea50d82926 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
601
1051
|
arg0.open(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4), arg5 !== 0);
|
|
602
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) };
|
|
603
1068
|
imports.wbg.__wbg_queueMicrotask_97d92b4fcc8a61c5 = function(arg0) {
|
|
604
1069
|
queueMicrotask(arg0);
|
|
605
1070
|
};
|
|
@@ -607,6 +1072,21 @@ function __wbg_get_imports() {
|
|
|
607
1072
|
const ret = arg0.queueMicrotask;
|
|
608
1073
|
return ret;
|
|
609
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
|
+
};
|
|
610
1090
|
imports.wbg.__wbg_resolve_4851785c9c5f573d = function(arg0) {
|
|
611
1091
|
const ret = Promise.resolve(arg0);
|
|
612
1092
|
return ret;
|
|
@@ -621,9 +1101,72 @@ function __wbg_get_imports() {
|
|
|
621
1101
|
imports.wbg.__wbg_send_40a47636ff90f64d = function() { return handleError(function (arg0) {
|
|
622
1102
|
arg0.send();
|
|
623
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
|
+
};
|
|
624
1146
|
imports.wbg.__wbg_setRequestHeader_51d371ad5196f6ef = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
625
1147
|
arg0.setRequestHeader(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
626
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
|
+
};
|
|
627
1170
|
imports.wbg.__wbg_set_37837023f3d740e8 = function(arg0, arg1, arg2) {
|
|
628
1171
|
arg0[arg1 >>> 0] = arg2;
|
|
629
1172
|
};
|
|
@@ -637,12 +1180,35 @@ function __wbg_get_imports() {
|
|
|
637
1180
|
const ret = arg0.set(arg1, arg2);
|
|
638
1181
|
return ret;
|
|
639
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
|
+
};
|
|
640
1196
|
imports.wbg.__wbg_setresponseType_4267195f737262d5 = function(arg0, arg1) {
|
|
641
1197
|
arg0.responseType = __wbindgen_enum_XmlHttpRequestResponseType[arg1];
|
|
642
1198
|
};
|
|
643
1199
|
imports.wbg.__wbg_settimeout_0354c6307cd5eae8 = function(arg0, arg1) {
|
|
644
1200
|
arg0.timeout = arg1 >>> 0;
|
|
645
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
|
+
};
|
|
646
1212
|
imports.wbg.__wbg_static_accessor_GLOBAL_88a902d13a557d07 = function() {
|
|
647
1213
|
const ret = typeof global === 'undefined' ? null : global;
|
|
648
1214
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
@@ -670,6 +1236,9 @@ function __wbg_get_imports() {
|
|
|
670
1236
|
const ret = arg0.status;
|
|
671
1237
|
return ret;
|
|
672
1238
|
}, arguments) };
|
|
1239
|
+
imports.wbg.__wbg_submit_75592557e0c2141c = function(arg0, arg1) {
|
|
1240
|
+
arg0.submit(arg1);
|
|
1241
|
+
};
|
|
673
1242
|
imports.wbg.__wbg_then_44b73946d2fb3e7d = function(arg0, arg1) {
|
|
674
1243
|
const ret = arg0.then(arg1);
|
|
675
1244
|
return ret;
|
|
@@ -678,6 +1247,17 @@ function __wbg_get_imports() {
|
|
|
678
1247
|
const ret = arg0.then(arg1, arg2);
|
|
679
1248
|
return ret;
|
|
680
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
|
+
};
|
|
681
1261
|
imports.wbg.__wbg_width_5dde457d606ba683 = function(arg0) {
|
|
682
1262
|
const ret = arg0.width;
|
|
683
1263
|
return ret;
|
|
@@ -690,6 +1270,15 @@ function __wbg_get_imports() {
|
|
|
690
1270
|
const ret = arg0.width;
|
|
691
1271
|
return ret;
|
|
692
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
|
+
};
|
|
693
1282
|
imports.wbg.__wbindgen_bigint_from_i64 = function(arg0) {
|
|
694
1283
|
const ret = arg0;
|
|
695
1284
|
return ret;
|
|
@@ -707,8 +1296,12 @@ function __wbg_get_imports() {
|
|
|
707
1296
|
const ret = false;
|
|
708
1297
|
return ret;
|
|
709
1298
|
};
|
|
710
|
-
imports.wbg.
|
|
711
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1299
|
+
imports.wbg.__wbindgen_closure_wrapper17066 = function(arg0, arg1, arg2) {
|
|
1300
|
+
const ret = makeMutClosure(arg0, arg1, 4861, __wbg_adapter_36);
|
|
1301
|
+
return ret;
|
|
1302
|
+
};
|
|
1303
|
+
imports.wbg.__wbindgen_closure_wrapper17539 = function(arg0, arg1, arg2) {
|
|
1304
|
+
const ret = makeMutClosure(arg0, arg1, 4867, __wbg_adapter_39);
|
|
712
1305
|
return ret;
|
|
713
1306
|
};
|
|
714
1307
|
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
|
@@ -736,6 +1329,11 @@ function __wbg_get_imports() {
|
|
|
736
1329
|
const ret = typeof(arg0) === 'function';
|
|
737
1330
|
return ret;
|
|
738
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
|
+
};
|
|
739
1337
|
imports.wbg.__wbindgen_is_string = function(arg0) {
|
|
740
1338
|
const ret = typeof(arg0) === 'string';
|
|
741
1339
|
return ret;
|
|
@@ -752,6 +1350,14 @@ function __wbg_get_imports() {
|
|
|
752
1350
|
const ret = arg0;
|
|
753
1351
|
return ret;
|
|
754
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
|
+
};
|
|
755
1361
|
imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
|
|
756
1362
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
757
1363
|
return ret;
|
|
@@ -771,6 +1377,7 @@ function __wbg_finalize_init(instance, module) {
|
|
|
771
1377
|
wasm = instance.exports;
|
|
772
1378
|
__wbg_init.__wbindgen_wasm_module = module;
|
|
773
1379
|
cachedDataViewMemory0 = null;
|
|
1380
|
+
cachedUint32ArrayMemory0 = null;
|
|
774
1381
|
cachedUint8ArrayMemory0 = null;
|
|
775
1382
|
|
|
776
1383
|
|