@dcl-regenesislabs/bevy-explorer-web 0.1.0-24356159502.commit-918c085 → 0.1.0-24356198542.commit-5431991
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 +7 -1
- package/index.html +1 -1
- package/main.js +1 -0
- package/package.json +3 -3
- package/pkg/manifest.json +1 -1
- package/pkg/webgpu_build_bg.wasm +0 -0
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-24356198542.commit-5431991"
|
package/gpu_cache.js
CHANGED
|
@@ -162,7 +162,13 @@ function patchWebgpuAdapter(fakeAsync) {
|
|
|
162
162
|
pipeline: new Map(),
|
|
163
163
|
};
|
|
164
164
|
gpuSessionState.deviceDescriptor = jsonDescriptor;
|
|
165
|
-
|
|
165
|
+
var device = undefined;
|
|
166
|
+
try {
|
|
167
|
+
device = await originalRequestDevice.apply(this, [descriptor]);
|
|
168
|
+
} catch (err) {
|
|
169
|
+
console.warn("Failed to request a device with descriptor, requesting device with default parameters.");
|
|
170
|
+
device = await originalRequestDevice.apply(this, []);
|
|
171
|
+
}
|
|
166
172
|
gpuSessionState.device = device;
|
|
167
173
|
localStorage.setItem("deviceDescriptor", jsonDescriptor);
|
|
168
174
|
|
package/index.html
CHANGED
|
@@ -411,7 +411,7 @@
|
|
|
411
411
|
}
|
|
412
412
|
</style>
|
|
413
413
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap" rel="stylesheet">
|
|
414
|
-
<script>window.PUBLIC_URL = "https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-
|
|
414
|
+
<script>window.PUBLIC_URL = "https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-24356198542.commit-5431991";</script>
|
|
415
415
|
</head>
|
|
416
416
|
<body>
|
|
417
417
|
<div id="header" class="container">
|
package/main.js
CHANGED
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-24356198542.commit-5431991",
|
|
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-24356198542.commit-5431991",
|
|
12
|
+
"commit": "5431991e289d366389098857a77f16164525d5a6"
|
|
13
13
|
}
|
package/pkg/manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"wasmSize":
|
|
1
|
+
{"wasmSize":118285217}
|
package/pkg/webgpu_build_bg.wasm
CHANGED
|
Binary file
|