@dcl-regenesislabs/bevy-explorer-web 0.1.0-21361803035.commit-2c0a584 → 0.1.0-21365618462.commit-6543b5a
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/.env +1 -1
- package/gpu_cache.js +96 -22
- package/index.html +2 -2
- package/package.json +3 -3
- package/pkg/webgpu_build.d.ts +9 -9
- package/pkg/webgpu_build.js +47 -44
- package/pkg/webgpu_build_bg.wasm +0 -0
- package/pkg/webgpu_build_bg.wasm.d.ts +9 -9
package/.env
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
PUBLIC_URL="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-
|
|
1
|
+
PUBLIC_URL="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-21365618462.commit-6543b5a"
|
package/gpu_cache.js
CHANGED
|
@@ -134,13 +134,13 @@ async function storeInstance(type, hash, value) {
|
|
|
134
134
|
});
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
export async function initGpuCache(key) {
|
|
137
|
+
export async function initGpuCache(key, fakeAsync) {
|
|
138
138
|
console.log(`[GPU Cache] key: ${key}`);
|
|
139
|
-
|
|
139
|
+
patchWebgpuAdapter(fakeAsync);
|
|
140
140
|
await createGpuCache(key);
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
-
function
|
|
143
|
+
function patchWebgpuAdapter(fakeAsync) {
|
|
144
144
|
const originalRequestDevice = GPUAdapter.prototype.requestDevice;
|
|
145
145
|
GPUAdapter.prototype.requestDevice = async function (descriptor) {
|
|
146
146
|
const jsonDescriptor = JSON.stringify(descriptor || {});
|
|
@@ -208,10 +208,69 @@ function patchWebgpuAdater() {
|
|
|
208
208
|
"layout",
|
|
209
209
|
device.createPipelineLayout
|
|
210
210
|
);
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
211
|
+
if (fakeAsync) {
|
|
212
|
+
device.createRenderPipeline = wrapDeviceFunction(
|
|
213
|
+
"pipeline",
|
|
214
|
+
device.createRenderPipeline
|
|
215
|
+
);
|
|
216
|
+
} else {
|
|
217
|
+
let inline_function = wrapDeviceFunction("pipeline", device.createRenderPipeline);
|
|
218
|
+
|
|
219
|
+
window.pendingAsyncPipelineCount = 0;
|
|
220
|
+
window.lastPipelineWasValidFlag = false;
|
|
221
|
+
window.wgpuResolveIdle = [];
|
|
222
|
+
const itemType = "pipeline";
|
|
223
|
+
const placeholderPipeline = getPlaceholder(device);
|
|
224
|
+
|
|
225
|
+
device.createRenderPipeline = (...args) => {
|
|
226
|
+
const jsonArgs = JSON.stringify(args);
|
|
227
|
+
const hash = simpleHash(jsonArgs);
|
|
228
|
+
const cachedItem = gpuSessionState[itemType].get(hash);
|
|
229
|
+
if (cachedItem !== undefined) {
|
|
230
|
+
window.nextPipelineCanFail = false;
|
|
231
|
+
window.lastPipelineWasValidFlag = true;
|
|
232
|
+
return cachedItem;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
console.log(`[GPU Cache] (async) no cached ${itemType} for ${hash}`);
|
|
236
|
+
|
|
237
|
+
if (!window.nextPipelineCanFail) {
|
|
238
|
+
return inline_function.apply(device, args);
|
|
239
|
+
}
|
|
240
|
+
document.getElementById("shader-compiling").style.display = "flex";
|
|
241
|
+
window.nextPipelineCanFail = false;
|
|
242
|
+
window.lastPipelineWasValidFlag = false;
|
|
243
|
+
window.pendingAsyncPipelineCount++;
|
|
244
|
+
|
|
245
|
+
const promise = device.createRenderPipelineAsync(args[0]).then(async (item) => {
|
|
246
|
+
item.__gpu_item_type = itemType;
|
|
247
|
+
item.__gpu_hash = hash;
|
|
248
|
+
gpuSessionState[itemType].set(hash, item);
|
|
249
|
+
window.pendingAsyncPipelineCount--;
|
|
250
|
+
|
|
251
|
+
if (!requiredItemTypes.has(itemType)) {
|
|
252
|
+
requiredItemTypes.set(itemType, new Set());
|
|
253
|
+
}
|
|
254
|
+
const requiredItems = requiredItemTypes.get(itemType);
|
|
255
|
+
if (!requiredItems.has(hash)) {
|
|
256
|
+
requiredItems.add(hash);
|
|
257
|
+
await storeRequiredItems();
|
|
258
|
+
await storeInstance(itemType, hash, args);
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
if (window.pendingAsyncPipelineCount === 0) {
|
|
262
|
+
while (window.wgpuResolveIdle.length > 0) {
|
|
263
|
+
window.wgpuResolveIdle.pop()();
|
|
264
|
+
}
|
|
265
|
+
document.getElementById("shader-compiling").style.display = "none";
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
return item;
|
|
269
|
+
})
|
|
270
|
+
|
|
271
|
+
return placeholderPipeline;
|
|
272
|
+
}
|
|
273
|
+
}
|
|
215
274
|
|
|
216
275
|
return device;
|
|
217
276
|
};
|
|
@@ -316,23 +375,38 @@ function rehydrateItem(currentObject) {
|
|
|
316
375
|
}
|
|
317
376
|
}
|
|
318
377
|
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
378
|
+
function getPlaceholder(device) {
|
|
379
|
+
// create a trivial shader and pipeline
|
|
380
|
+
const module = device.createShaderModule({
|
|
381
|
+
code: `
|
|
382
|
+
@vertex fn vs_main() -> @builtin(position) vec4f { return vec4f(0.0, 0.0, 0.0, 1.0); }
|
|
383
|
+
@fragment fn fs_main() -> @location(0) vec4f { return vec4f(0.0, 1.0, 0.0, 1.0); }
|
|
384
|
+
`
|
|
324
385
|
});
|
|
325
|
-
}
|
|
326
386
|
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
await new Promise(resolve => {
|
|
335
|
-
setTimeout(resolve, 0);
|
|
387
|
+
return device.createRenderPipeline({
|
|
388
|
+
layout: device.createPipelineLayout({
|
|
389
|
+
bindGroupLayouts: []
|
|
390
|
+
}),
|
|
391
|
+
vertex: { module, entryPoint: 'vs_main' },
|
|
392
|
+
fragment: { module, entryPoint: 'fs_main', targets: [{ format: 'bgra8unorm' }] }, // Adjust format if needed
|
|
393
|
+
primitive: { topology: 'triangle-list' }
|
|
336
394
|
});
|
|
337
395
|
}
|
|
338
396
|
|
|
397
|
+
window.allowADummyPipeline = function() {
|
|
398
|
+
window.nextPipelineCanFail = true;
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
window.lastPipelineWasValid = function() {
|
|
402
|
+
return window.lastPipelineWasValidFlag;
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
window.waitForPipelines = function() {
|
|
406
|
+
if (window.pendingAsyncPipelineCount === 0) {
|
|
407
|
+
return Promise.resolve();
|
|
408
|
+
}
|
|
409
|
+
return new Promise((resolve) => {
|
|
410
|
+
window.wgpuResolveIdle.push(resolve);
|
|
411
|
+
});
|
|
412
|
+
};
|
package/index.html
CHANGED
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
}
|
|
102
102
|
</style>
|
|
103
103
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap" rel="stylesheet">
|
|
104
|
-
<script>window.PUBLIC_URL = "https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-
|
|
104
|
+
<script>window.PUBLIC_URL = "https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-21365618462.commit-6543b5a";</script>
|
|
105
105
|
</head>
|
|
106
106
|
<body>
|
|
107
107
|
<div id="header" class="container">
|
|
@@ -138,6 +138,6 @@
|
|
|
138
138
|
</div>
|
|
139
139
|
<script src="https://cdn.jsdelivr.net/npm/livekit-client/dist/livekit-client.umd.min.js"></script>
|
|
140
140
|
<script src="https://cdn.jsdelivr.net/npm/hls.js@1"></script>
|
|
141
|
-
<script type="module" src="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-
|
|
141
|
+
<script type="module" src="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-21365618462.commit-6543b5a/main.js"></script>
|
|
142
142
|
</body>
|
|
143
143
|
</html>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl-regenesislabs/bevy-explorer-web",
|
|
3
|
-
"version": "0.1.0-
|
|
3
|
+
"version": "0.1.0-21365618462.commit-6543b5a",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"postinstall": "node ./scripts/prebuild.js"
|
|
6
6
|
},
|
|
@@ -8,6 +8,6 @@
|
|
|
8
8
|
"type": "git",
|
|
9
9
|
"url": "git+https://github.com/decentraland/bevy-explorer.git"
|
|
10
10
|
},
|
|
11
|
-
"homepage": "https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-
|
|
12
|
-
"commit": "
|
|
11
|
+
"homepage": "https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-21365618462.commit-6543b5a",
|
|
12
|
+
"commit": "6543b5a17bc65f243684ce00ce13467e38100775"
|
|
13
13
|
}
|
package/pkg/webgpu_build.d.ts
CHANGED
|
@@ -305,20 +305,20 @@ export interface InitOutput {
|
|
|
305
305
|
readonly __wbindgen_export_7: WebAssembly.Table;
|
|
306
306
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
307
307
|
readonly __externref_drop_slice: (a: number, b: number) => void;
|
|
308
|
-
readonly
|
|
309
|
-
readonly
|
|
310
|
-
readonly
|
|
308
|
+
readonly closure15479_externref_shim: (a: number, b: number, c: number, d: any) => void;
|
|
309
|
+
readonly closure41075_externref_shim: (a: number, b: number, c: any) => void;
|
|
310
|
+
readonly closure50201_externref_shim: (a: number, b: number, c: any) => void;
|
|
311
311
|
readonly _dyn_core_f2710c7f87f75ba1___ops__function__FnMut_____Output______as_wasm_bindgen_654c7ee7fd766678___closure__WasmClosure___describe__invoke______: (a: number, b: number) => void;
|
|
312
312
|
readonly _dyn_core_f2710c7f87f75ba1___ops__function__FnMut_____Output______as_wasm_bindgen_654c7ee7fd766678___closure__WasmClosure___describe__invoke______15: (a: number, b: number) => void;
|
|
313
|
-
readonly
|
|
313
|
+
readonly closure53855_externref_shim: (a: number, b: number, c: any) => void;
|
|
314
314
|
readonly _dyn_core_f2710c7f87f75ba1___ops__function__FnMut_____Output______as_wasm_bindgen_654c7ee7fd766678___closure__WasmClosure___describe__invoke______17: (a: number, b: number) => void;
|
|
315
315
|
readonly _dyn_core_f2710c7f87f75ba1___ops__function__FnMut_____Output______as_wasm_bindgen_654c7ee7fd766678___closure__WasmClosure___describe__invoke______18: (a: number, b: number) => void;
|
|
316
|
-
readonly
|
|
317
|
-
readonly
|
|
316
|
+
readonly closure58925_externref_shim: (a: number, b: number, c: any) => void;
|
|
317
|
+
readonly closure58929_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
318
318
|
readonly _dyn_core_f2710c7f87f75ba1___ops__function__FnMut_____Output______as_wasm_bindgen_654c7ee7fd766678___closure__WasmClosure___describe__invoke______21: (a: number, b: number) => void;
|
|
319
|
-
readonly
|
|
320
|
-
readonly
|
|
321
|
-
readonly
|
|
319
|
+
readonly closure118880_externref_shim: (a: number, b: number, c: any) => void;
|
|
320
|
+
readonly closure134143_externref_shim: (a: number, b: number, c: any) => void;
|
|
321
|
+
readonly closure137036_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
322
322
|
readonly __wbindgen_thread_destroy: (a?: number, b?: number, c?: number) => void;
|
|
323
323
|
readonly __wbindgen_start: (a: number) => void;
|
|
324
324
|
}
|
package/pkg/webgpu_build.js
CHANGED
|
@@ -1389,15 +1389,15 @@ export function gpu_cache_hash() {
|
|
|
1389
1389
|
}
|
|
1390
1390
|
|
|
1391
1391
|
function __wbg_adapter_62(arg0, arg1, arg2, arg3) {
|
|
1392
|
-
wasm.
|
|
1392
|
+
wasm.closure15479_externref_shim(arg0, arg1, arg2, arg3);
|
|
1393
1393
|
}
|
|
1394
1394
|
|
|
1395
1395
|
function __wbg_adapter_65(arg0, arg1, arg2) {
|
|
1396
|
-
wasm.
|
|
1396
|
+
wasm.closure41075_externref_shim(arg0, arg1, arg2);
|
|
1397
1397
|
}
|
|
1398
1398
|
|
|
1399
1399
|
function __wbg_adapter_68(arg0, arg1, arg2) {
|
|
1400
|
-
wasm.
|
|
1400
|
+
wasm.closure50201_externref_shim(arg0, arg1, arg2);
|
|
1401
1401
|
}
|
|
1402
1402
|
|
|
1403
1403
|
function __wbg_adapter_71(arg0, arg1) {
|
|
@@ -1409,7 +1409,7 @@ function __wbg_adapter_74(arg0, arg1) {
|
|
|
1409
1409
|
}
|
|
1410
1410
|
|
|
1411
1411
|
function __wbg_adapter_77(arg0, arg1, arg2) {
|
|
1412
|
-
wasm.
|
|
1412
|
+
wasm.closure53855_externref_shim(arg0, arg1, arg2);
|
|
1413
1413
|
}
|
|
1414
1414
|
|
|
1415
1415
|
function __wbg_adapter_84(arg0, arg1) {
|
|
@@ -1421,11 +1421,11 @@ function __wbg_adapter_87(arg0, arg1) {
|
|
|
1421
1421
|
}
|
|
1422
1422
|
|
|
1423
1423
|
function __wbg_adapter_90(arg0, arg1, arg2) {
|
|
1424
|
-
wasm.
|
|
1424
|
+
wasm.closure58925_externref_shim(arg0, arg1, arg2);
|
|
1425
1425
|
}
|
|
1426
1426
|
|
|
1427
1427
|
function __wbg_adapter_93(arg0, arg1, arg2, arg3) {
|
|
1428
|
-
wasm.
|
|
1428
|
+
wasm.closure58929_externref_shim(arg0, arg1, arg2, arg3);
|
|
1429
1429
|
}
|
|
1430
1430
|
|
|
1431
1431
|
function __wbg_adapter_108(arg0, arg1) {
|
|
@@ -1433,15 +1433,15 @@ function __wbg_adapter_108(arg0, arg1) {
|
|
|
1433
1433
|
}
|
|
1434
1434
|
|
|
1435
1435
|
function __wbg_adapter_111(arg0, arg1, arg2) {
|
|
1436
|
-
wasm.
|
|
1436
|
+
wasm.closure118880_externref_shim(arg0, arg1, arg2);
|
|
1437
1437
|
}
|
|
1438
1438
|
|
|
1439
1439
|
function __wbg_adapter_114(arg0, arg1, arg2) {
|
|
1440
|
-
wasm.
|
|
1440
|
+
wasm.closure134143_externref_shim(arg0, arg1, arg2);
|
|
1441
1441
|
}
|
|
1442
1442
|
|
|
1443
|
-
function
|
|
1444
|
-
wasm.
|
|
1443
|
+
function __wbg_adapter_1591(arg0, arg1, arg2, arg3) {
|
|
1444
|
+
wasm.closure137036_externref_shim(arg0, arg1, arg2, arg3);
|
|
1445
1445
|
}
|
|
1446
1446
|
|
|
1447
1447
|
/**
|
|
@@ -1961,6 +1961,9 @@ function __wbg_get_imports() {
|
|
|
1961
1961
|
imports.wbg.__wbg_addListener_2982bb811b6385c5 = function() { return handleError(function (arg0, arg1) {
|
|
1962
1962
|
arg0.addListener(arg1);
|
|
1963
1963
|
}, arguments) };
|
|
1964
|
+
imports.wbg.__wbg_allowADummyPipeline_21c11b8794de379f = function() {
|
|
1965
|
+
window.allowADummyPipeline();
|
|
1966
|
+
};
|
|
1964
1967
|
imports.wbg.__wbg_altKey_c33c03aed82e4275 = function(arg0) {
|
|
1965
1968
|
const ret = arg0.altKey;
|
|
1966
1969
|
return ret;
|
|
@@ -2821,6 +2824,10 @@ function __wbg_get_imports() {
|
|
|
2821
2824
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
2822
2825
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
2823
2826
|
};
|
|
2827
|
+
imports.wbg.__wbg_lastPipelineWasValid_0c4a6a9a0eb24190 = function() {
|
|
2828
|
+
const ret = window.lastPipelineWasValid();
|
|
2829
|
+
return ret;
|
|
2830
|
+
};
|
|
2824
2831
|
imports.wbg.__wbg_length_3b4f022188ae8db6 = function(arg0) {
|
|
2825
2832
|
const ret = arg0.length;
|
|
2826
2833
|
return ret;
|
|
@@ -3138,7 +3145,7 @@ function __wbg_get_imports() {
|
|
|
3138
3145
|
const a = state0.a;
|
|
3139
3146
|
state0.a = 0;
|
|
3140
3147
|
try {
|
|
3141
|
-
return
|
|
3148
|
+
return __wbg_adapter_1591(a, state0.b, arg0, arg1);
|
|
3142
3149
|
} finally {
|
|
3143
3150
|
state0.a = a;
|
|
3144
3151
|
}
|
|
@@ -4406,14 +4413,6 @@ function __wbg_get_imports() {
|
|
|
4406
4413
|
imports.wbg.__wbg_setz_5389d800d9ef03b4 = function(arg0, arg1) {
|
|
4407
4414
|
arg0.z = arg1 >>> 0;
|
|
4408
4415
|
};
|
|
4409
|
-
imports.wbg.__wbg_shaderCompilerDone_78f162d4848e1b54 = function() {
|
|
4410
|
-
const ret = window.shaderCompilerDone();
|
|
4411
|
-
return ret;
|
|
4412
|
-
};
|
|
4413
|
-
imports.wbg.__wbg_shaderCompilerWait_f6e57a7a3b8eee5b = function() {
|
|
4414
|
-
const ret = window.shaderCompilerWait();
|
|
4415
|
-
return ret;
|
|
4416
|
-
};
|
|
4417
4416
|
imports.wbg.__wbg_shiftKey_2bebb3b703254f47 = function(arg0) {
|
|
4418
4417
|
const ret = arg0.shiftKey;
|
|
4419
4418
|
return ret;
|
|
@@ -4656,6 +4655,10 @@ function __wbg_get_imports() {
|
|
|
4656
4655
|
const ret = Atomics.waitAsync;
|
|
4657
4656
|
return ret;
|
|
4658
4657
|
};
|
|
4658
|
+
imports.wbg.__wbg_waitForPipelines_15f709835dca518a = function() {
|
|
4659
|
+
const ret = window.waitForPipelines();
|
|
4660
|
+
return ret;
|
|
4661
|
+
};
|
|
4659
4662
|
imports.wbg.__wbg_wasClean_605b4fd66d44354a = function(arg0) {
|
|
4660
4663
|
const ret = arg0.wasClean;
|
|
4661
4664
|
return ret;
|
|
@@ -4743,92 +4746,92 @@ function __wbg_get_imports() {
|
|
|
4743
4746
|
const ret = false;
|
|
4744
4747
|
return ret;
|
|
4745
4748
|
};
|
|
4746
|
-
imports.wbg.
|
|
4747
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4749
|
+
imports.wbg.__wbindgen_closure_wrapper150339 = function(arg0, arg1, arg2) {
|
|
4750
|
+
const ret = makeMutClosure(arg0, arg1, 118881, __wbg_adapter_111);
|
|
4748
4751
|
return ret;
|
|
4749
4752
|
};
|
|
4750
|
-
imports.wbg.
|
|
4751
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4753
|
+
imports.wbg.__wbindgen_closure_wrapper171147 = function(arg0, arg1, arg2) {
|
|
4754
|
+
const ret = makeMutClosure(arg0, arg1, 134144, __wbg_adapter_114);
|
|
4752
4755
|
return ret;
|
|
4753
4756
|
};
|
|
4754
|
-
imports.wbg.
|
|
4755
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4757
|
+
imports.wbg.__wbindgen_closure_wrapper171149 = function(arg0, arg1, arg2) {
|
|
4758
|
+
const ret = makeMutClosure(arg0, arg1, 134144, __wbg_adapter_114);
|
|
4756
4759
|
return ret;
|
|
4757
4760
|
};
|
|
4758
4761
|
imports.wbg.__wbindgen_closure_wrapper19866 = function(arg0, arg1, arg2) {
|
|
4759
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4762
|
+
const ret = makeMutClosure(arg0, arg1, 15480, __wbg_adapter_62);
|
|
4760
4763
|
return ret;
|
|
4761
4764
|
};
|
|
4762
4765
|
imports.wbg.__wbindgen_closure_wrapper53782 = function(arg0, arg1, arg2) {
|
|
4763
|
-
const ret = makeClosure(arg0, arg1,
|
|
4766
|
+
const ret = makeClosure(arg0, arg1, 41076, __wbg_adapter_65);
|
|
4764
4767
|
return ret;
|
|
4765
4768
|
};
|
|
4766
4769
|
imports.wbg.__wbindgen_closure_wrapper66264 = function(arg0, arg1, arg2) {
|
|
4767
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4770
|
+
const ret = makeMutClosure(arg0, arg1, 50202, __wbg_adapter_68);
|
|
4768
4771
|
return ret;
|
|
4769
4772
|
};
|
|
4770
4773
|
imports.wbg.__wbindgen_closure_wrapper66403 = function(arg0, arg1, arg2) {
|
|
4771
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4774
|
+
const ret = makeMutClosure(arg0, arg1, 50305, __wbg_adapter_71);
|
|
4772
4775
|
return ret;
|
|
4773
4776
|
};
|
|
4774
4777
|
imports.wbg.__wbindgen_closure_wrapper70223 = function(arg0, arg1, arg2) {
|
|
4775
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4778
|
+
const ret = makeMutClosure(arg0, arg1, 53242, __wbg_adapter_74);
|
|
4776
4779
|
return ret;
|
|
4777
4780
|
};
|
|
4778
4781
|
imports.wbg.__wbindgen_closure_wrapper71421 = function(arg0, arg1, arg2) {
|
|
4779
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4782
|
+
const ret = makeMutClosure(arg0, arg1, 53856, __wbg_adapter_77);
|
|
4780
4783
|
return ret;
|
|
4781
4784
|
};
|
|
4782
4785
|
imports.wbg.__wbindgen_closure_wrapper71423 = function(arg0, arg1, arg2) {
|
|
4783
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4786
|
+
const ret = makeMutClosure(arg0, arg1, 53856, __wbg_adapter_77);
|
|
4784
4787
|
return ret;
|
|
4785
4788
|
};
|
|
4786
4789
|
imports.wbg.__wbindgen_closure_wrapper71425 = function(arg0, arg1, arg2) {
|
|
4787
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4790
|
+
const ret = makeMutClosure(arg0, arg1, 53856, __wbg_adapter_77);
|
|
4788
4791
|
return ret;
|
|
4789
4792
|
};
|
|
4790
4793
|
imports.wbg.__wbindgen_closure_wrapper75988 = function(arg0, arg1, arg2) {
|
|
4791
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4794
|
+
const ret = makeMutClosure(arg0, arg1, 57088, __wbg_adapter_84);
|
|
4792
4795
|
return ret;
|
|
4793
4796
|
};
|
|
4794
4797
|
imports.wbg.__wbindgen_closure_wrapper77023 = function(arg0, arg1, arg2) {
|
|
4795
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4798
|
+
const ret = makeMutClosure(arg0, arg1, 57469, __wbg_adapter_87);
|
|
4796
4799
|
return ret;
|
|
4797
4800
|
};
|
|
4798
4801
|
imports.wbg.__wbindgen_closure_wrapper79168 = function(arg0, arg1, arg2) {
|
|
4799
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4802
|
+
const ret = makeMutClosure(arg0, arg1, 58926, __wbg_adapter_90);
|
|
4800
4803
|
return ret;
|
|
4801
4804
|
};
|
|
4802
4805
|
imports.wbg.__wbindgen_closure_wrapper79170 = function(arg0, arg1, arg2) {
|
|
4803
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4806
|
+
const ret = makeMutClosure(arg0, arg1, 58926, __wbg_adapter_93);
|
|
4804
4807
|
return ret;
|
|
4805
4808
|
};
|
|
4806
4809
|
imports.wbg.__wbindgen_closure_wrapper79172 = function(arg0, arg1, arg2) {
|
|
4807
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4810
|
+
const ret = makeMutClosure(arg0, arg1, 58926, __wbg_adapter_90);
|
|
4808
4811
|
return ret;
|
|
4809
4812
|
};
|
|
4810
4813
|
imports.wbg.__wbindgen_closure_wrapper79174 = function(arg0, arg1, arg2) {
|
|
4811
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4814
|
+
const ret = makeMutClosure(arg0, arg1, 58926, __wbg_adapter_90);
|
|
4812
4815
|
return ret;
|
|
4813
4816
|
};
|
|
4814
4817
|
imports.wbg.__wbindgen_closure_wrapper79176 = function(arg0, arg1, arg2) {
|
|
4815
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4818
|
+
const ret = makeMutClosure(arg0, arg1, 58926, __wbg_adapter_90);
|
|
4816
4819
|
return ret;
|
|
4817
4820
|
};
|
|
4818
4821
|
imports.wbg.__wbindgen_closure_wrapper79178 = function(arg0, arg1, arg2) {
|
|
4819
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4822
|
+
const ret = makeMutClosure(arg0, arg1, 58926, __wbg_adapter_90);
|
|
4820
4823
|
return ret;
|
|
4821
4824
|
};
|
|
4822
4825
|
imports.wbg.__wbindgen_closure_wrapper79180 = function(arg0, arg1, arg2) {
|
|
4823
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4826
|
+
const ret = makeMutClosure(arg0, arg1, 58926, __wbg_adapter_90);
|
|
4824
4827
|
return ret;
|
|
4825
4828
|
};
|
|
4826
4829
|
imports.wbg.__wbindgen_closure_wrapper79182 = function(arg0, arg1, arg2) {
|
|
4827
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4830
|
+
const ret = makeMutClosure(arg0, arg1, 58926, __wbg_adapter_90);
|
|
4828
4831
|
return ret;
|
|
4829
4832
|
};
|
|
4830
4833
|
imports.wbg.__wbindgen_closure_wrapper79184 = function(arg0, arg1, arg2) {
|
|
4831
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4834
|
+
const ret = makeMutClosure(arg0, arg1, 58926, __wbg_adapter_108);
|
|
4832
4835
|
return ret;
|
|
4833
4836
|
};
|
|
4834
4837
|
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
package/pkg/webgpu_build_bg.wasm
CHANGED
|
Binary file
|
|
@@ -144,19 +144,19 @@ export const __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
|
144
144
|
export const __wbindgen_export_7: WebAssembly.Table;
|
|
145
145
|
export const __externref_table_dealloc: (a: number) => void;
|
|
146
146
|
export const __externref_drop_slice: (a: number, b: number) => void;
|
|
147
|
-
export const
|
|
148
|
-
export const
|
|
149
|
-
export const
|
|
147
|
+
export const closure15479_externref_shim: (a: number, b: number, c: number, d: any) => void;
|
|
148
|
+
export const closure41075_externref_shim: (a: number, b: number, c: any) => void;
|
|
149
|
+
export const closure50201_externref_shim: (a: number, b: number, c: any) => void;
|
|
150
150
|
export const _dyn_core_f2710c7f87f75ba1___ops__function__FnMut_____Output______as_wasm_bindgen_654c7ee7fd766678___closure__WasmClosure___describe__invoke______: (a: number, b: number) => void;
|
|
151
151
|
export const _dyn_core_f2710c7f87f75ba1___ops__function__FnMut_____Output______as_wasm_bindgen_654c7ee7fd766678___closure__WasmClosure___describe__invoke______15: (a: number, b: number) => void;
|
|
152
|
-
export const
|
|
152
|
+
export const closure53855_externref_shim: (a: number, b: number, c: any) => void;
|
|
153
153
|
export const _dyn_core_f2710c7f87f75ba1___ops__function__FnMut_____Output______as_wasm_bindgen_654c7ee7fd766678___closure__WasmClosure___describe__invoke______17: (a: number, b: number) => void;
|
|
154
154
|
export const _dyn_core_f2710c7f87f75ba1___ops__function__FnMut_____Output______as_wasm_bindgen_654c7ee7fd766678___closure__WasmClosure___describe__invoke______18: (a: number, b: number) => void;
|
|
155
|
-
export const
|
|
156
|
-
export const
|
|
155
|
+
export const closure58925_externref_shim: (a: number, b: number, c: any) => void;
|
|
156
|
+
export const closure58929_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
157
157
|
export const _dyn_core_f2710c7f87f75ba1___ops__function__FnMut_____Output______as_wasm_bindgen_654c7ee7fd766678___closure__WasmClosure___describe__invoke______21: (a: number, b: number) => void;
|
|
158
|
-
export const
|
|
159
|
-
export const
|
|
160
|
-
export const
|
|
158
|
+
export const closure118880_externref_shim: (a: number, b: number, c: any) => void;
|
|
159
|
+
export const closure134143_externref_shim: (a: number, b: number, c: any) => void;
|
|
160
|
+
export const closure137036_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
161
161
|
export const __wbindgen_thread_destroy: (a?: number, b?: number, c?: number) => void;
|
|
162
162
|
export const __wbindgen_start: (a: number) => void;
|