@vulfram/transport-wasm 0.14.8-alpha → 0.16.10-alpha

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 ADDED
@@ -0,0 +1,5 @@
1
+ # @vulfram/transport-wasm
2
+
3
+ Transport implementation for WebAssembly (WASM) in the Vulfram ecosystem.
4
+
5
+ Transport documentation: https://www.vulppi.dev/vulfram/docs/bind/setup#pick-a-transport
@@ -62,8 +62,8 @@ export interface InitOutput {
62
62
  readonly vulfram_send_queue: (a: number, b: number) => number;
63
63
  readonly vulfram_tick: (a: number, b: number) => number;
64
64
  readonly vulfram_upload_buffer: (a: bigint, b: number, c: number, d: number) => number;
65
- readonly __wasm_bindgen_func_elem_991: (a: number, b: number, c: number) => void;
66
- readonly __wasm_bindgen_func_elem_990: (a: number, b: number) => void;
65
+ readonly __wasm_bindgen_func_elem_1291: (a: number, b: number, c: number) => void;
66
+ readonly __wasm_bindgen_func_elem_1290: (a: number, b: number) => void;
67
67
  readonly __wbindgen_export: (a: number, b: number) => number;
68
68
  readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
69
69
  readonly __wbindgen_export3: (a: number) => void;
@@ -85,11 +85,6 @@ function dropObject(idx) {
85
85
  heap_next = idx;
86
86
  }
87
87
 
88
- function getArrayU32FromWasm0(ptr, len) {
89
- ptr = ptr >>> 0;
90
- return getUint32ArrayMemory0().subarray(ptr / 4, ptr / 4 + len);
91
- }
92
-
93
88
  function getArrayU8FromWasm0(ptr, len) {
94
89
  ptr = ptr >>> 0;
95
90
  return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
@@ -108,14 +103,6 @@ function getStringFromWasm0(ptr, len) {
108
103
  return decodeText(ptr, len);
109
104
  }
110
105
 
111
- let cachedUint32ArrayMemory0 = null;
112
- function getUint32ArrayMemory0() {
113
- if (cachedUint32ArrayMemory0 === null || cachedUint32ArrayMemory0.byteLength === 0) {
114
- cachedUint32ArrayMemory0 = new Uint32Array(wasm.memory.buffer);
115
- }
116
- return cachedUint32ArrayMemory0;
117
- }
118
-
119
106
  let cachedUint8ArrayMemory0 = null;
120
107
  function getUint8ArrayMemory0() {
121
108
  if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
@@ -250,48 +237,30 @@ if (!('encodeInto' in cachedTextEncoder)) {
250
237
 
251
238
  let WASM_VECTOR_LEN = 0;
252
239
 
253
- function __wasm_bindgen_func_elem_991(arg0, arg1, arg2) {
254
- wasm.__wasm_bindgen_func_elem_991(arg0, arg1, addHeapObject(arg2));
240
+ function __wasm_bindgen_func_elem_1291(arg0, arg1, arg2) {
241
+ wasm.__wasm_bindgen_func_elem_1291(arg0, arg1, addHeapObject(arg2));
255
242
  }
256
243
 
257
244
  const __wbindgen_enum_GpuAddressMode = ["clamp-to-edge", "repeat", "mirror-repeat"];
258
245
 
259
- const __wbindgen_enum_GpuBlendFactor = ["zero", "one", "src", "one-minus-src", "src-alpha", "one-minus-src-alpha", "dst", "one-minus-dst", "dst-alpha", "one-minus-dst-alpha", "src-alpha-saturated", "constant", "one-minus-constant", "src1", "one-minus-src1", "src1-alpha", "one-minus-src1-alpha"];
260
-
261
- const __wbindgen_enum_GpuBlendOperation = ["add", "subtract", "reverse-subtract", "min", "max"];
262
-
263
246
  const __wbindgen_enum_GpuBufferBindingType = ["uniform", "storage", "read-only-storage"];
264
247
 
265
248
  const __wbindgen_enum_GpuCanvasAlphaMode = ["opaque", "premultiplied"];
266
249
 
267
250
  const __wbindgen_enum_GpuCompareFunction = ["never", "less", "equal", "less-equal", "greater", "not-equal", "greater-equal", "always"];
268
251
 
269
- const __wbindgen_enum_GpuCullMode = ["none", "front", "back"];
270
-
271
252
  const __wbindgen_enum_GpuFilterMode = ["nearest", "linear"];
272
253
 
273
- const __wbindgen_enum_GpuFrontFace = ["ccw", "cw"];
274
-
275
- const __wbindgen_enum_GpuIndexFormat = ["uint16", "uint32"];
276
-
277
- const __wbindgen_enum_GpuLoadOp = ["load", "clear"];
278
-
279
254
  const __wbindgen_enum_GpuMipmapFilterMode = ["nearest", "linear"];
280
255
 
281
256
  const __wbindgen_enum_GpuPowerPreference = ["low-power", "high-performance"];
282
257
 
283
- const __wbindgen_enum_GpuPrimitiveTopology = ["point-list", "line-list", "line-strip", "triangle-list", "triangle-strip"];
284
-
285
258
  const __wbindgen_enum_GpuQueryType = ["occlusion", "timestamp"];
286
259
 
287
260
  const __wbindgen_enum_GpuSamplerBindingType = ["filtering", "non-filtering", "comparison"];
288
261
 
289
- const __wbindgen_enum_GpuStencilOperation = ["keep", "zero", "replace", "invert", "increment-clamp", "decrement-clamp", "increment-wrap", "decrement-wrap"];
290
-
291
262
  const __wbindgen_enum_GpuStorageTextureAccess = ["write-only", "read-only", "read-write"];
292
263
 
293
- const __wbindgen_enum_GpuStoreOp = ["store", "discard"];
294
-
295
264
  const __wbindgen_enum_GpuTextureAspect = ["all", "stencil-only", "depth-only"];
296
265
 
297
266
  const __wbindgen_enum_GpuTextureDimension = ["1d", "2d", "3d"];
@@ -302,10 +271,6 @@ const __wbindgen_enum_GpuTextureSampleType = ["float", "unfilterable-float", "de
302
271
 
303
272
  const __wbindgen_enum_GpuTextureViewDimension = ["1d", "2d", "2d-array", "cube", "cube-array", "3d"];
304
273
 
305
- const __wbindgen_enum_GpuVertexFormat = ["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"];
306
-
307
- const __wbindgen_enum_GpuVertexStepMode = ["vertex", "instance"];
308
-
309
274
  const BufferResultFinalization = (typeof FinalizationRegistry === 'undefined')
310
275
  ? { register: () => {}, unregister: () => {} }
311
276
  : new FinalizationRegistry(ptr => wasm.__wbg_bufferresult_free(ptr >>> 0, 1));
@@ -544,14 +509,6 @@ function __wbg_get_imports() {
544
509
  const ret = getObject(arg0).axes;
545
510
  return addHeapObject(ret);
546
511
  };
547
- imports.wbg.__wbg_beginComputePass_8971ad8382254094 = function(arg0, arg1) {
548
- const ret = getObject(arg0).beginComputePass(getObject(arg1));
549
- return addHeapObject(ret);
550
- };
551
- imports.wbg.__wbg_beginRenderPass_599b98d9a6ba5692 = function() { return handleError(function (arg0, arg1) {
552
- const ret = getObject(arg0).beginRenderPass(getObject(arg1));
553
- return addHeapObject(ret);
554
- }, arguments) };
555
512
  imports.wbg.__wbg_buffer_6cb2fecb1f253d71 = function(arg0) {
556
513
  const ret = getObject(arg0).buffer;
557
514
  return addHeapObject(ret);
@@ -620,10 +577,6 @@ function __wbg_get_imports() {
620
577
  const ret = getObject(arg0).createBindGroupLayout(getObject(arg1));
621
578
  return addHeapObject(ret);
622
579
  }, arguments) };
623
- imports.wbg.__wbg_createBindGroup_06db01d96df151a7 = function(arg0, arg1) {
624
- const ret = getObject(arg0).createBindGroup(getObject(arg1));
625
- return addHeapObject(ret);
626
- };
627
580
  imports.wbg.__wbg_createBufferSource_156317138619c7b0 = function() { return handleError(function (arg0) {
628
581
  const ret = getObject(arg0).createBufferSource();
629
582
  return addHeapObject(ret);
@@ -636,10 +589,6 @@ function __wbg_get_imports() {
636
589
  const ret = getObject(arg0).createCommandEncoder(getObject(arg1));
637
590
  return addHeapObject(ret);
638
591
  };
639
- imports.wbg.__wbg_createComputePipeline_d24ca7b211444394 = function(arg0, arg1) {
640
- const ret = getObject(arg0).createComputePipeline(getObject(arg1));
641
- return addHeapObject(ret);
642
- };
643
592
  imports.wbg.__wbg_createGain_d5704df14f1e271f = function() { return handleError(function (arg0) {
644
593
  const ret = getObject(arg0).createGain();
645
594
  return addHeapObject(ret);
@@ -656,10 +605,6 @@ function __wbg_get_imports() {
656
605
  const ret = getObject(arg0).createQuerySet(getObject(arg1));
657
606
  return addHeapObject(ret);
658
607
  }, arguments) };
659
- imports.wbg.__wbg_createRenderPipeline_725209221f17f288 = function() { return handleError(function (arg0, arg1) {
660
- const ret = getObject(arg0).createRenderPipeline(getObject(arg1));
661
- return addHeapObject(ret);
662
- }, arguments) };
663
608
  imports.wbg.__wbg_createSampler_36aca895fb724d8b = function(arg0, arg1) {
664
609
  const ret = getObject(arg0).createSampler(getObject(arg1));
665
610
  return addHeapObject(ret);
@@ -704,29 +649,14 @@ function __wbg_get_imports() {
704
649
  const ret = getObject(arg0).destination;
705
650
  return addHeapObject(ret);
706
651
  };
707
- imports.wbg.__wbg_dispatchWorkgroups_d63caaf66ad5bbb0 = function(arg0, arg1, arg2, arg3) {
708
- getObject(arg0).dispatchWorkgroups(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0);
709
- };
710
652
  imports.wbg.__wbg_document_5b745e82ba551ca5 = function(arg0) {
711
653
  const ret = getObject(arg0).document;
712
654
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
713
655
  };
714
- imports.wbg.__wbg_drawIndexed_c47b56e3bafadecb = function(arg0, arg1, arg2, arg3, arg4, arg5) {
715
- getObject(arg0).drawIndexed(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4, arg5 >>> 0);
716
- };
717
- imports.wbg.__wbg_draw_3f782f0d09a907da = function(arg0, arg1, arg2, arg3, arg4) {
718
- getObject(arg0).draw(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
719
- };
720
656
  imports.wbg.__wbg_duration_d18723c667e9564a = function(arg0) {
721
657
  const ret = getObject(arg0).duration;
722
658
  return ret;
723
659
  };
724
- imports.wbg.__wbg_end_8bb194afb9988691 = function(arg0) {
725
- getObject(arg0).end();
726
- };
727
- imports.wbg.__wbg_end_ae98f313507234ce = function(arg0) {
728
- getObject(arg0).end();
729
- };
730
660
  imports.wbg.__wbg_features_5d2c2677affa352d = function(arg0) {
731
661
  const ret = getObject(arg0).features;
732
662
  return addHeapObject(ret);
@@ -755,10 +685,6 @@ function __wbg_get_imports() {
755
685
  const ret = getObject(arg0).getContext(getStringFromWasm0(arg1, arg2));
756
686
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
757
687
  }, arguments) };
758
- imports.wbg.__wbg_getCurrentTexture_6dc4d0ea8555e374 = function() { return handleError(function (arg0) {
759
- const ret = getObject(arg0).getCurrentTexture();
760
- return addHeapObject(ret);
761
- }, arguments) };
762
688
  imports.wbg.__wbg_getElementById_e05488d2143c2b21 = function(arg0, arg1, arg2) {
763
689
  const ret = getObject(arg0).getElementById(getStringFromWasm0(arg1, arg2));
764
690
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
@@ -767,10 +693,6 @@ function __wbg_get_imports() {
767
693
  const ret = getObject(arg0).getGamepads();
768
694
  return addHeapObject(ret);
769
695
  }, arguments) };
770
- imports.wbg.__wbg_getMappedRange_3cb6354f7963e27e = function() { return handleError(function (arg0, arg1, arg2) {
771
- const ret = getObject(arg0).getMappedRange(arg1, arg2);
772
- return addHeapObject(ret);
773
- }, arguments) };
774
696
  imports.wbg.__wbg_getPreferredCanvasFormat_06854455b835cf40 = function(arg0) {
775
697
  const ret = getObject(arg0).getPreferredCanvasFormat();
776
698
  return (__wbindgen_enum_GpuTextureFormat.indexOf(ret) + 1 || 96) - 1;
@@ -787,6 +709,10 @@ function __wbg_get_imports() {
787
709
  const ret = getObject(arg0).gpu;
788
710
  return addHeapObject(ret);
789
711
  };
712
+ imports.wbg.__wbg_hasFocus_7d4687baa7939850 = function() { return handleError(function (arg0) {
713
+ const ret = getObject(arg0).hasFocus();
714
+ return ret;
715
+ }, arguments) };
790
716
  imports.wbg.__wbg_has_f1efef5b257eade8 = function(arg0, arg1, arg2) {
791
717
  const ret = getObject(arg0).has(getStringFromWasm0(arg1, arg2));
792
718
  return ret;
@@ -916,10 +842,6 @@ function __wbg_get_imports() {
916
842
  const ret = getObject(arg0).left;
917
843
  return ret;
918
844
  };
919
- imports.wbg.__wbg_length_22ac23eaec9d8053 = function(arg0) {
920
- const ret = getObject(arg0).length;
921
- return ret;
922
- };
923
845
  imports.wbg.__wbg_length_d45040a40c570362 = function(arg0) {
924
846
  const ret = getObject(arg0).length;
925
847
  return ret;
@@ -1088,10 +1010,6 @@ function __wbg_get_imports() {
1088
1010
  const ret = new Function(getStringFromWasm0(arg0, arg1));
1089
1011
  return addHeapObject(ret);
1090
1012
  };
1091
- imports.wbg.__wbg_new_with_byte_offset_and_length_d85c3da1fd8df149 = function(arg0, arg1, arg2) {
1092
- const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
1093
- return addHeapObject(ret);
1094
- };
1095
1013
  imports.wbg.__wbg_now_69d776cd24f5215b = function() {
1096
1014
  const ret = Date.now();
1097
1015
  return ret;
@@ -1119,9 +1037,6 @@ function __wbg_get_imports() {
1119
1037
  const ret = getObject(arg0).pressed;
1120
1038
  return ret;
1121
1039
  };
1122
- imports.wbg.__wbg_prototypesetcall_dfe9b766cdc1f1fd = function(arg0, arg1, arg2) {
1123
- Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), getObject(arg2));
1124
- };
1125
1040
  imports.wbg.__wbg_push_7d9be8f38fc13975 = function(arg0, arg1) {
1126
1041
  const ret = getObject(arg0).push(getObject(arg1));
1127
1042
  return ret;
@@ -1137,6 +1052,9 @@ function __wbg_get_imports() {
1137
1052
  const ret = getObject(arg0).queue;
1138
1053
  return addHeapObject(ret);
1139
1054
  };
1055
+ imports.wbg.__wbg_removeEventListener_565e273024b68b75 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
1056
+ getObject(arg0).removeEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3));
1057
+ }, arguments) };
1140
1058
  imports.wbg.__wbg_repeat_3733d1d584bf0e38 = function(arg0) {
1141
1059
  const ret = getObject(arg0).repeat;
1142
1060
  return ret;
@@ -1149,59 +1067,26 @@ function __wbg_get_imports() {
1149
1067
  const ret = getObject(arg0).requestDevice(getObject(arg1));
1150
1068
  return addHeapObject(ret);
1151
1069
  };
1152
- imports.wbg.__wbg_resolveQuerySet_58d78db4578ebdb5 = function(arg0, arg1, arg2, arg3, arg4, arg5) {
1153
- getObject(arg0).resolveQuerySet(getObject(arg1), arg2 >>> 0, arg3 >>> 0, getObject(arg4), arg5 >>> 0);
1154
- };
1155
1070
  imports.wbg.__wbg_resolve_fd5bfbaa4ce36e1e = function(arg0) {
1156
1071
  const ret = Promise.resolve(getObject(arg0));
1157
1072
  return addHeapObject(ret);
1158
1073
  };
1159
- imports.wbg.__wbg_setBindGroup_ae93a2ba8c665826 = function(arg0, arg1, arg2) {
1160
- getObject(arg0).setBindGroup(arg1 >>> 0, getObject(arg2));
1161
- };
1162
- imports.wbg.__wbg_setBindGroup_bf7233e51ee0fd56 = function(arg0, arg1, arg2) {
1163
- getObject(arg0).setBindGroup(arg1 >>> 0, getObject(arg2));
1164
- };
1165
- imports.wbg.__wbg_setBindGroup_c532d9e80c3b863a = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
1166
- getObject(arg0).setBindGroup(arg1 >>> 0, getObject(arg2), getArrayU32FromWasm0(arg3, arg4), arg5, arg6 >>> 0);
1167
- }, arguments) };
1168
- imports.wbg.__wbg_setIndexBuffer_d6851b016152211a = function(arg0, arg1, arg2, arg3, arg4) {
1169
- getObject(arg0).setIndexBuffer(getObject(arg1), __wbindgen_enum_GpuIndexFormat[arg2], arg3, arg4);
1170
- };
1171
1074
  imports.wbg.__wbg_setOrientation_b1947815d07c384d = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
1172
1075
  getObject(arg0).setOrientation(arg1, arg2, arg3, arg4, arg5, arg6);
1173
1076
  };
1174
1077
  imports.wbg.__wbg_setOrientation_edf6d9270c35af16 = function(arg0, arg1, arg2, arg3) {
1175
1078
  getObject(arg0).setOrientation(arg1, arg2, arg3);
1176
1079
  };
1177
- imports.wbg.__wbg_setPipeline_6d9bb386aa5ee85f = function(arg0, arg1) {
1178
- getObject(arg0).setPipeline(getObject(arg1));
1179
- };
1180
- imports.wbg.__wbg_setPipeline_b632e313f54b1cb1 = function(arg0, arg1) {
1181
- getObject(arg0).setPipeline(getObject(arg1));
1182
- };
1183
1080
  imports.wbg.__wbg_setPosition_96fcdcaf9ef69feb = function(arg0, arg1, arg2, arg3) {
1184
1081
  getObject(arg0).setPosition(arg1, arg2, arg3);
1185
1082
  };
1186
1083
  imports.wbg.__wbg_setPosition_e30bf00b6eb1505f = function(arg0, arg1, arg2, arg3) {
1187
1084
  getObject(arg0).setPosition(arg1, arg2, arg3);
1188
1085
  };
1189
- imports.wbg.__wbg_setScissorRect_13be2665184d6e20 = function(arg0, arg1, arg2, arg3, arg4) {
1190
- getObject(arg0).setScissorRect(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
1191
- };
1192
- imports.wbg.__wbg_setVertexBuffer_c8234139ead62a61 = function(arg0, arg1, arg2, arg3, arg4) {
1193
- getObject(arg0).setVertexBuffer(arg1 >>> 0, getObject(arg2), arg3, arg4);
1194
- };
1195
- imports.wbg.__wbg_setViewport_b25340c5cfc5e64f = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
1196
- getObject(arg0).setViewport(arg1, arg2, arg3, arg4, arg5, arg6);
1197
- };
1198
1086
  imports.wbg.__wbg_set_781438a03c0c3c81 = function() { return handleError(function (arg0, arg1, arg2) {
1199
1087
  const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
1200
1088
  return ret;
1201
1089
  }, arguments) };
1202
- imports.wbg.__wbg_set_a_e87a2053d5fccb4c = function(arg0, arg1) {
1203
- getObject(arg0).a = arg1;
1204
- };
1205
1090
  imports.wbg.__wbg_set_access_69d91e9d4e4ceac2 = function(arg0, arg1) {
1206
1091
  getObject(arg0).access = __wbindgen_enum_GpuStorageTextureAccess[arg1];
1207
1092
  };
@@ -1214,93 +1099,45 @@ function __wbg_get_imports() {
1214
1099
  imports.wbg.__wbg_set_address_mode_w_2445963d0feae757 = function(arg0, arg1) {
1215
1100
  getObject(arg0).addressModeW = __wbindgen_enum_GpuAddressMode[arg1];
1216
1101
  };
1217
- imports.wbg.__wbg_set_alpha_a7a68e5ec04efe77 = function(arg0, arg1) {
1218
- getObject(arg0).alpha = getObject(arg1);
1219
- };
1220
1102
  imports.wbg.__wbg_set_alpha_mode_60f87267fa3d95d0 = function(arg0, arg1) {
1221
1103
  getObject(arg0).alphaMode = __wbindgen_enum_GpuCanvasAlphaMode[arg1];
1222
1104
  };
1223
- imports.wbg.__wbg_set_alpha_to_coverage_enabled_67782b8fff854d06 = function(arg0, arg1) {
1224
- getObject(arg0).alphaToCoverageEnabled = arg1 !== 0;
1225
- };
1226
1105
  imports.wbg.__wbg_set_array_layer_count_2bd74e56899b603a = function(arg0, arg1) {
1227
1106
  getObject(arg0).arrayLayerCount = arg1 >>> 0;
1228
1107
  };
1229
- imports.wbg.__wbg_set_array_stride_acb85bd3848529a6 = function(arg0, arg1) {
1230
- getObject(arg0).arrayStride = arg1;
1231
- };
1232
1108
  imports.wbg.__wbg_set_aspect_82ca9caa27a4c533 = function(arg0, arg1) {
1233
1109
  getObject(arg0).aspect = __wbindgen_enum_GpuTextureAspect[arg1];
1234
1110
  };
1235
1111
  imports.wbg.__wbg_set_aspect_b78bd0b34ebfe19b = function(arg0, arg1) {
1236
1112
  getObject(arg0).aspect = __wbindgen_enum_GpuTextureAspect[arg1];
1237
1113
  };
1238
- imports.wbg.__wbg_set_attributes_4d5de6c80e3a7e73 = function(arg0, arg1) {
1239
- getObject(arg0).attributes = getObject(arg1);
1240
- };
1241
- imports.wbg.__wbg_set_b_87725d82ac69a631 = function(arg0, arg1) {
1242
- getObject(arg0).b = arg1;
1243
- };
1244
1114
  imports.wbg.__wbg_set_base_array_layer_064977086530f2e7 = function(arg0, arg1) {
1245
1115
  getObject(arg0).baseArrayLayer = arg1 >>> 0;
1246
1116
  };
1247
1117
  imports.wbg.__wbg_set_base_mip_level_845abe28a57bd901 = function(arg0, arg1) {
1248
1118
  getObject(arg0).baseMipLevel = arg1 >>> 0;
1249
1119
  };
1250
- imports.wbg.__wbg_set_bc3a432bdcd60886 = function(arg0, arg1, arg2) {
1251
- getObject(arg0).set(getObject(arg1), arg2 >>> 0);
1252
- };
1253
- imports.wbg.__wbg_set_beginning_of_pass_write_index_18bb7ab9fb16de02 = function(arg0, arg1) {
1254
- getObject(arg0).beginningOfPassWriteIndex = arg1 >>> 0;
1255
- };
1256
1120
  imports.wbg.__wbg_set_bind_group_layouts_db65f9787380e242 = function(arg0, arg1) {
1257
1121
  getObject(arg0).bindGroupLayouts = getObject(arg1);
1258
1122
  };
1259
1123
  imports.wbg.__wbg_set_binding_35fa28beda49ff83 = function(arg0, arg1) {
1260
1124
  getObject(arg0).binding = arg1 >>> 0;
1261
1125
  };
1262
- imports.wbg.__wbg_set_binding_3b4abee15b11f6ec = function(arg0, arg1) {
1263
- getObject(arg0).binding = arg1 >>> 0;
1264
- };
1265
- imports.wbg.__wbg_set_blend_21337ec514ad2280 = function(arg0, arg1) {
1266
- getObject(arg0).blend = getObject(arg1);
1267
- };
1268
1126
  imports.wbg.__wbg_set_buffer_25c70ce663d1667c = function(arg0, arg1) {
1269
1127
  getObject(arg0).buffer = getObject(arg1);
1270
1128
  };
1271
- imports.wbg.__wbg_set_buffer_a9223dfcc0e34853 = function(arg0, arg1) {
1272
- getObject(arg0).buffer = getObject(arg1);
1273
- };
1274
1129
  imports.wbg.__wbg_set_buffer_d49e95bb5349d827 = function(arg0, arg1) {
1275
1130
  getObject(arg0).buffer = getObject(arg1);
1276
1131
  };
1277
- imports.wbg.__wbg_set_buffers_68609a5d48c31b27 = function(arg0, arg1) {
1278
- getObject(arg0).buffers = getObject(arg1);
1279
- };
1280
1132
  imports.wbg.__wbg_set_bytes_per_row_4a52bbf4cdbfe78b = function(arg0, arg1) {
1281
1133
  getObject(arg0).bytesPerRow = arg1 >>> 0;
1282
1134
  };
1283
- imports.wbg.__wbg_set_clear_value_8fc3623594df71b2 = function(arg0, arg1) {
1284
- getObject(arg0).clearValue = getObject(arg1);
1285
- };
1286
1135
  imports.wbg.__wbg_set_code_20093e29960281f8 = function(arg0, arg1, arg2) {
1287
1136
  getObject(arg0).code = getStringFromWasm0(arg1, arg2);
1288
1137
  };
1289
- imports.wbg.__wbg_set_color_64a633bf7b4cf6fe = function(arg0, arg1) {
1290
- getObject(arg0).color = getObject(arg1);
1291
- };
1292
- imports.wbg.__wbg_set_color_attachments_4d4c71d7eeba8e2f = function(arg0, arg1) {
1293
- getObject(arg0).colorAttachments = getObject(arg1);
1294
- };
1295
1138
  imports.wbg.__wbg_set_compare_0376672b0c0bbfd8 = function(arg0, arg1) {
1296
1139
  getObject(arg0).compare = __wbindgen_enum_GpuCompareFunction[arg1];
1297
1140
  };
1298
- imports.wbg.__wbg_set_compare_f3fb77a9bf3f0f7e = function(arg0, arg1) {
1299
- getObject(arg0).compare = __wbindgen_enum_GpuCompareFunction[arg1];
1300
- };
1301
- imports.wbg.__wbg_set_compute_937f4ee700e465ff = function(arg0, arg1) {
1302
- getObject(arg0).compute = getObject(arg1);
1303
- };
1304
1141
  imports.wbg.__wbg_set_coneInnerAngle_af42eec2f168ddc5 = function(arg0, arg1) {
1305
1142
  getObject(arg0).coneInnerAngle = arg1;
1306
1143
  };
@@ -1313,51 +1150,9 @@ function __wbg_get_imports() {
1313
1150
  imports.wbg.__wbg_set_count_6f4f66c8eedc9bba = function(arg0, arg1) {
1314
1151
  getObject(arg0).count = arg1 >>> 0;
1315
1152
  };
1316
- imports.wbg.__wbg_set_count_8cf9a3dd1ffc7b7d = function(arg0, arg1) {
1317
- getObject(arg0).count = arg1 >>> 0;
1318
- };
1319
- imports.wbg.__wbg_set_cull_mode_41c12526410d3e05 = function(arg0, arg1) {
1320
- getObject(arg0).cullMode = __wbindgen_enum_GpuCullMode[arg1];
1321
- };
1322
- imports.wbg.__wbg_set_depth_bias_31554aeaaa675954 = function(arg0, arg1) {
1323
- getObject(arg0).depthBias = arg1;
1324
- };
1325
- imports.wbg.__wbg_set_depth_bias_clamp_8cf5f4f0d80e8cba = function(arg0, arg1) {
1326
- getObject(arg0).depthBiasClamp = arg1;
1327
- };
1328
- imports.wbg.__wbg_set_depth_bias_slope_scale_310ae406f2d3a055 = function(arg0, arg1) {
1329
- getObject(arg0).depthBiasSlopeScale = arg1;
1330
- };
1331
- imports.wbg.__wbg_set_depth_clear_value_8760aafb583d5312 = function(arg0, arg1) {
1332
- getObject(arg0).depthClearValue = arg1;
1333
- };
1334
- imports.wbg.__wbg_set_depth_compare_8831904ce3173063 = function(arg0, arg1) {
1335
- getObject(arg0).depthCompare = __wbindgen_enum_GpuCompareFunction[arg1];
1336
- };
1337
- imports.wbg.__wbg_set_depth_fail_op_62ec602580477afc = function(arg0, arg1) {
1338
- getObject(arg0).depthFailOp = __wbindgen_enum_GpuStencilOperation[arg1];
1339
- };
1340
- imports.wbg.__wbg_set_depth_load_op_102d57f3ddf95461 = function(arg0, arg1) {
1341
- getObject(arg0).depthLoadOp = __wbindgen_enum_GpuLoadOp[arg1];
1342
- };
1343
1153
  imports.wbg.__wbg_set_depth_or_array_layers_d7b93db07c5da69d = function(arg0, arg1) {
1344
1154
  getObject(arg0).depthOrArrayLayers = arg1 >>> 0;
1345
1155
  };
1346
- imports.wbg.__wbg_set_depth_read_only_aebc24a542debafd = function(arg0, arg1) {
1347
- getObject(arg0).depthReadOnly = arg1 !== 0;
1348
- };
1349
- imports.wbg.__wbg_set_depth_stencil_5627e73aaf33912c = function(arg0, arg1) {
1350
- getObject(arg0).depthStencil = getObject(arg1);
1351
- };
1352
- imports.wbg.__wbg_set_depth_stencil_attachment_04b936535778e362 = function(arg0, arg1) {
1353
- getObject(arg0).depthStencilAttachment = getObject(arg1);
1354
- };
1355
- imports.wbg.__wbg_set_depth_store_op_610b0a50dbb00eb8 = function(arg0, arg1) {
1356
- getObject(arg0).depthStoreOp = __wbindgen_enum_GpuStoreOp[arg1];
1357
- };
1358
- imports.wbg.__wbg_set_depth_write_enabled_f94217df9ff2d60c = function(arg0, arg1) {
1359
- getObject(arg0).depthWriteEnabled = arg1 !== 0;
1360
- };
1361
1156
  imports.wbg.__wbg_set_device_dab18ead7bfc077b = function(arg0, arg1) {
1362
1157
  getObject(arg0).device = getObject(arg1);
1363
1158
  };
@@ -1367,33 +1162,12 @@ function __wbg_get_imports() {
1367
1162
  imports.wbg.__wbg_set_dimension_a3c50fb6d43f6cec = function(arg0, arg1) {
1368
1163
  getObject(arg0).dimension = __wbindgen_enum_GpuTextureDimension[arg1];
1369
1164
  };
1370
- imports.wbg.__wbg_set_dst_factor_cf872fec841747ac = function(arg0, arg1) {
1371
- getObject(arg0).dstFactor = __wbindgen_enum_GpuBlendFactor[arg1];
1372
- };
1373
- imports.wbg.__wbg_set_end_of_pass_write_index_02ee5189026c1d3a = function(arg0, arg1) {
1374
- getObject(arg0).endOfPassWriteIndex = arg1 >>> 0;
1375
- };
1376
- imports.wbg.__wbg_set_entries_1472deaee7053fb7 = function(arg0, arg1) {
1377
- getObject(arg0).entries = getObject(arg1);
1378
- };
1379
1165
  imports.wbg.__wbg_set_entries_b2258b5ef29810b0 = function(arg0, arg1) {
1380
1166
  getObject(arg0).entries = getObject(arg1);
1381
1167
  };
1382
- imports.wbg.__wbg_set_entry_point_11f912102ade99b1 = function(arg0, arg1, arg2) {
1383
- getObject(arg0).entryPoint = getStringFromWasm0(arg1, arg2);
1384
- };
1385
- imports.wbg.__wbg_set_entry_point_7f546bbf1e63e58d = function(arg0, arg1, arg2) {
1386
- getObject(arg0).entryPoint = getStringFromWasm0(arg1, arg2);
1387
- };
1388
- imports.wbg.__wbg_set_entry_point_f9224cdb29cbe5df = function(arg0, arg1, arg2) {
1389
- getObject(arg0).entryPoint = getStringFromWasm0(arg1, arg2);
1390
- };
1391
1168
  imports.wbg.__wbg_set_external_texture_613e4434100d63ee = function(arg0, arg1) {
1392
1169
  getObject(arg0).externalTexture = getObject(arg1);
1393
1170
  };
1394
- imports.wbg.__wbg_set_fail_op_73a4e194f4bc914a = function(arg0, arg1) {
1395
- getObject(arg0).failOp = __wbindgen_enum_GpuStencilOperation[arg1];
1396
- };
1397
1171
  imports.wbg.__wbg_set_format_1670e760e18ac001 = function(arg0, arg1) {
1398
1172
  getObject(arg0).format = __wbindgen_enum_GpuTextureFormat[arg1];
1399
1173
  };
@@ -1403,27 +1177,9 @@ function __wbg_get_imports() {
1403
1177
  imports.wbg.__wbg_set_format_25e4aacc74949e38 = function(arg0, arg1) {
1404
1178
  getObject(arg0).format = __wbindgen_enum_GpuTextureFormat[arg1];
1405
1179
  };
1406
- imports.wbg.__wbg_set_format_3f7008e9e568f0fc = function(arg0, arg1) {
1407
- getObject(arg0).format = __wbindgen_enum_GpuVertexFormat[arg1];
1408
- };
1409
- imports.wbg.__wbg_set_format_4a4fccdfc45bc409 = function(arg0, arg1) {
1410
- getObject(arg0).format = __wbindgen_enum_GpuTextureFormat[arg1];
1411
- };
1412
1180
  imports.wbg.__wbg_set_format_7696f8290da8a36b = function(arg0, arg1) {
1413
1181
  getObject(arg0).format = __wbindgen_enum_GpuTextureFormat[arg1];
1414
1182
  };
1415
- imports.wbg.__wbg_set_format_974a01725f579c5d = function(arg0, arg1) {
1416
- getObject(arg0).format = __wbindgen_enum_GpuTextureFormat[arg1];
1417
- };
1418
- imports.wbg.__wbg_set_fragment_f7ce64feaf1cd7dc = function(arg0, arg1) {
1419
- getObject(arg0).fragment = getObject(arg1);
1420
- };
1421
- imports.wbg.__wbg_set_front_face_09e32557f8852301 = function(arg0, arg1) {
1422
- getObject(arg0).frontFace = __wbindgen_enum_GpuFrontFace[arg1];
1423
- };
1424
- imports.wbg.__wbg_set_g_c31c959457596456 = function(arg0, arg1) {
1425
- getObject(arg0).g = arg1;
1426
- };
1427
1183
  imports.wbg.__wbg_set_has_dynamic_offset_fbc1bb343939ed0b = function(arg0, arg1) {
1428
1184
  getObject(arg0).hasDynamicOffset = arg1 !== 0;
1429
1185
  };
@@ -1442,9 +1198,6 @@ function __wbg_get_imports() {
1442
1198
  imports.wbg.__wbg_set_label_0ec13ba975f77124 = function(arg0, arg1, arg2) {
1443
1199
  getObject(arg0).label = getStringFromWasm0(arg1, arg2);
1444
1200
  };
1445
- imports.wbg.__wbg_set_label_3b658d9ce970552c = function(arg0, arg1, arg2) {
1446
- getObject(arg0).label = getStringFromWasm0(arg1, arg2);
1447
- };
1448
1201
  imports.wbg.__wbg_set_label_48883f5f49e4ec47 = function(arg0, arg1, arg2) {
1449
1202
  getObject(arg0).label = getStringFromWasm0(arg1, arg2);
1450
1203
  };
@@ -1454,45 +1207,21 @@ function __wbg_get_imports() {
1454
1207
  imports.wbg.__wbg_set_label_4f4264b0041180e2 = function(arg0, arg1, arg2) {
1455
1208
  getObject(arg0).label = getStringFromWasm0(arg1, arg2);
1456
1209
  };
1457
- imports.wbg.__wbg_set_label_5b46e419b9e88c5e = function(arg0, arg1, arg2) {
1458
- getObject(arg0).label = getStringFromWasm0(arg1, arg2);
1459
- };
1460
1210
  imports.wbg.__wbg_set_label_95423cd2e1f4b5dd = function(arg0, arg1, arg2) {
1461
1211
  getObject(arg0).label = getStringFromWasm0(arg1, arg2);
1462
1212
  };
1463
- imports.wbg.__wbg_set_label_ad0f2c69b41c3483 = function(arg0, arg1, arg2) {
1464
- getObject(arg0).label = getStringFromWasm0(arg1, arg2);
1465
- };
1466
1213
  imports.wbg.__wbg_set_label_c3fc0a66f4ecc82b = function(arg0, arg1, arg2) {
1467
1214
  getObject(arg0).label = getStringFromWasm0(arg1, arg2);
1468
1215
  };
1469
1216
  imports.wbg.__wbg_set_label_c857f45a8485236a = function(arg0, arg1, arg2) {
1470
1217
  getObject(arg0).label = getStringFromWasm0(arg1, arg2);
1471
1218
  };
1472
- imports.wbg.__wbg_set_label_d0fd4d4810525bf2 = function(arg0, arg1, arg2) {
1473
- getObject(arg0).label = getStringFromWasm0(arg1, arg2);
1474
- };
1475
1219
  imports.wbg.__wbg_set_label_dc8df9969898889c = function(arg0, arg1, arg2) {
1476
1220
  getObject(arg0).label = getStringFromWasm0(arg1, arg2);
1477
1221
  };
1478
1222
  imports.wbg.__wbg_set_label_e3709fe3e82429b5 = function(arg0, arg1, arg2) {
1479
1223
  getObject(arg0).label = getStringFromWasm0(arg1, arg2);
1480
1224
  };
1481
- imports.wbg.__wbg_set_label_fb5d28b3ba7af11f = function(arg0, arg1, arg2) {
1482
- getObject(arg0).label = getStringFromWasm0(arg1, arg2);
1483
- };
1484
- imports.wbg.__wbg_set_layout_170ec6b8aa37178f = function(arg0, arg1) {
1485
- getObject(arg0).layout = getObject(arg1);
1486
- };
1487
- imports.wbg.__wbg_set_layout_7f76289be3294b4a = function(arg0, arg1) {
1488
- getObject(arg0).layout = getObject(arg1);
1489
- };
1490
- imports.wbg.__wbg_set_layout_c20d48b352b24c1b = function(arg0, arg1) {
1491
- getObject(arg0).layout = getObject(arg1);
1492
- };
1493
- imports.wbg.__wbg_set_load_op_c71d200e998908b0 = function(arg0, arg1) {
1494
- getObject(arg0).loadOp = __wbindgen_enum_GpuLoadOp[arg1];
1495
- };
1496
1225
  imports.wbg.__wbg_set_lod_max_clamp_aaac5daaecca96d4 = function(arg0, arg1) {
1497
1226
  getObject(arg0).lodMaxClamp = arg1;
1498
1227
  };
@@ -1508,9 +1237,6 @@ function __wbg_get_imports() {
1508
1237
  imports.wbg.__wbg_set_mapped_at_creation_2d003ce549611385 = function(arg0, arg1) {
1509
1238
  getObject(arg0).mappedAtCreation = arg1 !== 0;
1510
1239
  };
1511
- imports.wbg.__wbg_set_mask_a933ba2e61c7610a = function(arg0, arg1) {
1512
- getObject(arg0).mask = arg1 >>> 0;
1513
- };
1514
1240
  imports.wbg.__wbg_set_maxDistance_6e90d383a13ce970 = function(arg0, arg1) {
1515
1241
  getObject(arg0).maxDistance = arg1;
1516
1242
  };
@@ -1535,63 +1261,24 @@ function __wbg_get_imports() {
1535
1261
  imports.wbg.__wbg_set_mipmap_filter_79f552c459e63aa6 = function(arg0, arg1) {
1536
1262
  getObject(arg0).mipmapFilter = __wbindgen_enum_GpuMipmapFilterMode[arg1];
1537
1263
  };
1538
- imports.wbg.__wbg_set_module_18d541838665d831 = function(arg0, arg1) {
1539
- getObject(arg0).module = getObject(arg1);
1540
- };
1541
- imports.wbg.__wbg_set_module_20641353ebb28712 = function(arg0, arg1) {
1542
- getObject(arg0).module = getObject(arg1);
1543
- };
1544
- imports.wbg.__wbg_set_module_6ece909be28666dd = function(arg0, arg1) {
1545
- getObject(arg0).module = getObject(arg1);
1546
- };
1547
- imports.wbg.__wbg_set_multisample_e0f310ea9e40c2d9 = function(arg0, arg1) {
1548
- getObject(arg0).multisample = getObject(arg1);
1549
- };
1550
1264
  imports.wbg.__wbg_set_multisampled_cd50d8f6709cea1a = function(arg0, arg1) {
1551
1265
  getObject(arg0).multisampled = arg1 !== 0;
1552
1266
  };
1553
- imports.wbg.__wbg_set_offset_2e78915f5d65d704 = function(arg0, arg1) {
1554
- getObject(arg0).offset = arg1;
1555
- };
1556
- imports.wbg.__wbg_set_offset_405017033a936d89 = function(arg0, arg1) {
1557
- getObject(arg0).offset = arg1;
1558
- };
1559
1267
  imports.wbg.__wbg_set_offset_e7ce8b8eaaf46b95 = function(arg0, arg1) {
1560
1268
  getObject(arg0).offset = arg1;
1561
1269
  };
1562
- imports.wbg.__wbg_set_operation_b96fabca3716aaa3 = function(arg0, arg1) {
1563
- getObject(arg0).operation = __wbindgen_enum_GpuBlendOperation[arg1];
1564
- };
1565
1270
  imports.wbg.__wbg_set_origin_c5f017d3f09ad7ff = function(arg0, arg1) {
1566
1271
  getObject(arg0).origin = getObject(arg1);
1567
1272
  };
1568
- imports.wbg.__wbg_set_pass_op_765be90bb2f27220 = function(arg0, arg1) {
1569
- getObject(arg0).passOp = __wbindgen_enum_GpuStencilOperation[arg1];
1570
- };
1571
1273
  imports.wbg.__wbg_set_power_preference_39b347bf0d236ce6 = function(arg0, arg1) {
1572
1274
  getObject(arg0).powerPreference = __wbindgen_enum_GpuPowerPreference[arg1];
1573
1275
  };
1574
- imports.wbg.__wbg_set_primitive_d6456d7efe6b4fe5 = function(arg0, arg1) {
1575
- getObject(arg0).primitive = getObject(arg1);
1576
- };
1577
- imports.wbg.__wbg_set_query_set_20ecd7f9a16f3ec6 = function(arg0, arg1) {
1578
- getObject(arg0).querySet = getObject(arg1);
1579
- };
1580
- imports.wbg.__wbg_set_r_07bd987697069496 = function(arg0, arg1) {
1581
- getObject(arg0).r = arg1;
1582
- };
1583
1276
  imports.wbg.__wbg_set_refDistance_0cb593d4e4e1273f = function(arg0, arg1) {
1584
1277
  getObject(arg0).refDistance = arg1;
1585
1278
  };
1586
1279
  imports.wbg.__wbg_set_required_features_650c9e5dafbaa395 = function(arg0, arg1) {
1587
1280
  getObject(arg0).requiredFeatures = getObject(arg1);
1588
1281
  };
1589
- imports.wbg.__wbg_set_resolve_target_c18cd4048765732a = function(arg0, arg1) {
1590
- getObject(arg0).resolveTarget = getObject(arg1);
1591
- };
1592
- imports.wbg.__wbg_set_resource_8cea0fe2c8745c3e = function(arg0, arg1) {
1593
- getObject(arg0).resource = getObject(arg1);
1594
- };
1595
1282
  imports.wbg.__wbg_set_rolloffFactor_d99bd3cbca2a952c = function(arg0, arg1) {
1596
1283
  getObject(arg0).rolloffFactor = arg1;
1597
1284
  };
@@ -1607,72 +1294,21 @@ function __wbg_get_imports() {
1607
1294
  imports.wbg.__wbg_set_sampler_1a2729c0aa194081 = function(arg0, arg1) {
1608
1295
  getObject(arg0).sampler = getObject(arg1);
1609
1296
  };
1610
- imports.wbg.__wbg_set_shader_location_bdcfdc1009d351b1 = function(arg0, arg1) {
1611
- getObject(arg0).shaderLocation = arg1 >>> 0;
1612
- };
1613
- imports.wbg.__wbg_set_size_7a392ee585f87da8 = function(arg0, arg1) {
1614
- getObject(arg0).size = arg1;
1615
- };
1616
1297
  imports.wbg.__wbg_set_size_c6bf409f70f4420f = function(arg0, arg1) {
1617
1298
  getObject(arg0).size = getObject(arg1);
1618
1299
  };
1619
1300
  imports.wbg.__wbg_set_size_f902b266d636bf6e = function(arg0, arg1) {
1620
1301
  getObject(arg0).size = arg1;
1621
1302
  };
1622
- imports.wbg.__wbg_set_src_factor_50cef27aa8aece91 = function(arg0, arg1) {
1623
- getObject(arg0).srcFactor = __wbindgen_enum_GpuBlendFactor[arg1];
1624
- };
1625
- imports.wbg.__wbg_set_stencil_back_e740415a5c0b637a = function(arg0, arg1) {
1626
- getObject(arg0).stencilBack = getObject(arg1);
1627
- };
1628
- imports.wbg.__wbg_set_stencil_clear_value_6be76b512040398d = function(arg0, arg1) {
1629
- getObject(arg0).stencilClearValue = arg1 >>> 0;
1630
- };
1631
- imports.wbg.__wbg_set_stencil_front_03185e1c3bafa411 = function(arg0, arg1) {
1632
- getObject(arg0).stencilFront = getObject(arg1);
1633
- };
1634
- imports.wbg.__wbg_set_stencil_load_op_084f44352b978b3d = function(arg0, arg1) {
1635
- getObject(arg0).stencilLoadOp = __wbindgen_enum_GpuLoadOp[arg1];
1636
- };
1637
- imports.wbg.__wbg_set_stencil_read_mask_e2736fc4af9399e4 = function(arg0, arg1) {
1638
- getObject(arg0).stencilReadMask = arg1 >>> 0;
1639
- };
1640
- imports.wbg.__wbg_set_stencil_read_only_31f3d99299373c12 = function(arg0, arg1) {
1641
- getObject(arg0).stencilReadOnly = arg1 !== 0;
1642
- };
1643
- imports.wbg.__wbg_set_stencil_store_op_428fb4955e4899d6 = function(arg0, arg1) {
1644
- getObject(arg0).stencilStoreOp = __wbindgen_enum_GpuStoreOp[arg1];
1645
- };
1646
- imports.wbg.__wbg_set_stencil_write_mask_b1d3e1655305a187 = function(arg0, arg1) {
1647
- getObject(arg0).stencilWriteMask = arg1 >>> 0;
1648
- };
1649
- imports.wbg.__wbg_set_step_mode_98e49f7877daf1c5 = function(arg0, arg1) {
1650
- getObject(arg0).stepMode = __wbindgen_enum_GpuVertexStepMode[arg1];
1651
- };
1652
1303
  imports.wbg.__wbg_set_storage_texture_6ee0cbeb50698110 = function(arg0, arg1) {
1653
1304
  getObject(arg0).storageTexture = getObject(arg1);
1654
1305
  };
1655
- imports.wbg.__wbg_set_store_op_e761080d541a10cc = function(arg0, arg1) {
1656
- getObject(arg0).storeOp = __wbindgen_enum_GpuStoreOp[arg1];
1657
- };
1658
- imports.wbg.__wbg_set_strip_index_format_16df9e33c7aa97e6 = function(arg0, arg1) {
1659
- getObject(arg0).stripIndexFormat = __wbindgen_enum_GpuIndexFormat[arg1];
1660
- };
1661
- imports.wbg.__wbg_set_targets_9fd1ec0b8edc895c = function(arg0, arg1) {
1662
- getObject(arg0).targets = getObject(arg1);
1663
- };
1664
1306
  imports.wbg.__wbg_set_texture_f03807916f70dcc6 = function(arg0, arg1) {
1665
1307
  getObject(arg0).texture = getObject(arg1);
1666
1308
  };
1667
1309
  imports.wbg.__wbg_set_texture_f8ae0bb4bb159354 = function(arg0, arg1) {
1668
1310
  getObject(arg0).texture = getObject(arg1);
1669
1311
  };
1670
- imports.wbg.__wbg_set_timestamp_writes_3998dbfa21e48dbe = function(arg0, arg1) {
1671
- getObject(arg0).timestampWrites = getObject(arg1);
1672
- };
1673
- imports.wbg.__wbg_set_topology_036632318a24227d = function(arg0, arg1) {
1674
- getObject(arg0).topology = __wbindgen_enum_GpuPrimitiveTopology[arg1];
1675
- };
1676
1312
  imports.wbg.__wbg_set_type_0cb4cdb5eff87f31 = function(arg0, arg1) {
1677
1313
  getObject(arg0).type = __wbindgen_enum_GpuBufferBindingType[arg1];
1678
1314
  };
@@ -1682,9 +1318,6 @@ function __wbg_get_imports() {
1682
1318
  imports.wbg.__wbg_set_type_d05fa8415ad0761f = function(arg0, arg1) {
1683
1319
  getObject(arg0).type = __wbindgen_enum_GpuSamplerBindingType[arg1];
1684
1320
  };
1685
- imports.wbg.__wbg_set_unclipped_depth_17a5ab83d4e7cadc = function(arg0, arg1) {
1686
- getObject(arg0).unclippedDepth = arg1 !== 0;
1687
- };
1688
1321
  imports.wbg.__wbg_set_usage_3d569e7b02227032 = function(arg0, arg1) {
1689
1322
  getObject(arg0).usage = arg1 >>> 0;
1690
1323
  };
@@ -1700,15 +1333,6 @@ function __wbg_get_imports() {
1700
1333
  imports.wbg.__wbg_set_value_9b29412dd286d5d4 = function(arg0, arg1) {
1701
1334
  getObject(arg0).value = arg1;
1702
1335
  };
1703
- imports.wbg.__wbg_set_vertex_76b7ac4bdfbb06f4 = function(arg0, arg1) {
1704
- getObject(arg0).vertex = getObject(arg1);
1705
- };
1706
- imports.wbg.__wbg_set_view_1ef41eeb26eaf718 = function(arg0, arg1) {
1707
- getObject(arg0).view = getObject(arg1);
1708
- };
1709
- imports.wbg.__wbg_set_view_46b654a12649c6f6 = function(arg0, arg1) {
1710
- getObject(arg0).view = getObject(arg1);
1711
- };
1712
1336
  imports.wbg.__wbg_set_view_dimension_12c332494a2697dc = function(arg0, arg1) {
1713
1337
  getObject(arg0).viewDimension = __wbindgen_enum_GpuTextureViewDimension[arg1];
1714
1338
  };
@@ -1733,9 +1357,6 @@ function __wbg_get_imports() {
1733
1357
  imports.wbg.__wbg_set_width_7ff7a22c6e9f423e = function(arg0, arg1) {
1734
1358
  getObject(arg0).width = arg1 >>> 0;
1735
1359
  };
1736
- imports.wbg.__wbg_set_write_mask_c92743022356850e = function(arg0, arg1) {
1737
- getObject(arg0).writeMask = arg1 >>> 0;
1738
- };
1739
1360
  imports.wbg.__wbg_set_x_0771b0f86d56cdf9 = function(arg0, arg1) {
1740
1361
  getObject(arg0).x = arg1 >>> 0;
1741
1362
  };
@@ -1780,9 +1401,6 @@ function __wbg_get_imports() {
1780
1401
  const ret = getObject(arg0).top;
1781
1402
  return ret;
1782
1403
  };
1783
- imports.wbg.__wbg_unmap_ab94ab04cfb14bee = function(arg0) {
1784
- getObject(arg0).unmap();
1785
- };
1786
1404
  imports.wbg.__wbg_value_ee261c29fa562a8d = function(arg0) {
1787
1405
  const ret = getObject(arg0).value;
1788
1406
  return ret;
@@ -1798,19 +1416,14 @@ function __wbg_get_imports() {
1798
1416
  const ret = getStringFromWasm0(arg0, arg1);
1799
1417
  return addHeapObject(ret);
1800
1418
  };
1801
- imports.wbg.__wbindgen_cast_66889d8aaddc848b = function(arg0, arg1) {
1802
- // Cast intrinsic for `Closure(Closure { dtor_idx: 38, function: Function { arguments: [Externref], shim_idx: 39, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1803
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_990, __wasm_bindgen_func_elem_991);
1804
- return addHeapObject(ret);
1805
- };
1806
- imports.wbg.__wbindgen_cast_c092c68d0311afcd = function(arg0, arg1) {
1807
- // Cast intrinsic for `Closure(Closure { dtor_idx: 38, function: Function { arguments: [NamedExternref("Event")], shim_idx: 39, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1808
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_990, __wasm_bindgen_func_elem_991);
1419
+ imports.wbg.__wbindgen_cast_27d8f2a9ce018ee0 = function(arg0, arg1) {
1420
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 43, function: Function { arguments: [Externref], shim_idx: 44, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1421
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_1290, __wasm_bindgen_func_elem_1291);
1809
1422
  return addHeapObject(ret);
1810
1423
  };
1811
- imports.wbg.__wbindgen_cast_cb9088102bce6b30 = function(arg0, arg1) {
1812
- // Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
1813
- const ret = getArrayU8FromWasm0(arg0, arg1);
1424
+ imports.wbg.__wbindgen_cast_c821b8d28ac8e93b = function(arg0, arg1) {
1425
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 43, function: Function { arguments: [NamedExternref("Event")], shim_idx: 44, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1426
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_1290, __wasm_bindgen_func_elem_1291);
1814
1427
  return addHeapObject(ret);
1815
1428
  };
1816
1429
  imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) {
@@ -1833,7 +1446,6 @@ function __wbg_finalize_init(instance, module) {
1833
1446
  wasm = instance.exports;
1834
1447
  __wbg_init.__wbindgen_wasm_module = module;
1835
1448
  cachedDataViewMemory0 = null;
1836
- cachedUint32ArrayMemory0 = null;
1837
1449
  cachedUint8ArrayMemory0 = null;
1838
1450
 
1839
1451
 
Binary file
@@ -12,8 +12,8 @@ export const vulfram_receive_queue: () => number;
12
12
  export const vulfram_send_queue: (a: number, b: number) => number;
13
13
  export const vulfram_tick: (a: number, b: number) => number;
14
14
  export const vulfram_upload_buffer: (a: bigint, b: number, c: number, d: number) => number;
15
- export const __wasm_bindgen_func_elem_991: (a: number, b: number, c: number) => void;
16
- export const __wasm_bindgen_func_elem_990: (a: number, b: number) => void;
15
+ export const __wasm_bindgen_func_elem_1291: (a: number, b: number, c: number) => void;
16
+ export const __wasm_bindgen_func_elem_1290: (a: number, b: number) => void;
17
17
  export const __wbindgen_export: (a: number, b: number) => number;
18
18
  export const __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
19
19
  export const __wbindgen_export3: (a: number) => void;
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@vulfram/transport-wasm",
3
- "version": "0.14.8-alpha",
3
+ "version": "0.16.10-alpha",
4
4
  "module": "src/index.ts",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
7
7
  "type": "module",
8
8
  "dependencies": {
9
- "@vulfram/transport-types": "^0.2.3"
9
+ "@vulfram/transport-types": "^0.2.5"
10
10
  },
11
11
  "devDependencies": {
12
- "@types/bun": "^1.3.8"
12
+ "@types/bun": "^1.3.9"
13
13
  }
14
14
  }