gpu-atlas 0.1.0 → 0.2.0
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 +287 -248
- package/dist/gpu-atlas.js +182 -167
- package/dist/gpu-atlas.js.map +1 -1
- package/dist/index.d.ts +6 -1
- package/package.json +59 -59
package/dist/index.d.ts
CHANGED
|
@@ -330,6 +330,11 @@ export declare function sampleableFormats(profile: AtlasProfile): string[];
|
|
|
330
330
|
* changes meaning, and record why below — consumers compare against it to know
|
|
331
331
|
* which fields they can rely on.
|
|
332
332
|
*
|
|
333
|
+
* 5 — EnvironmentInfo.mobile stopped calling every iPad a desktop, and
|
|
334
|
+
* platform is now filled in for browsers without UA-CH. Profiles at
|
|
335
|
+
* schema 4 and below cannot distinguish a Mac from an iPad at all, so
|
|
336
|
+
* treat their environment fields as approximate.
|
|
337
|
+
*
|
|
333
338
|
* 4 — EnvironmentInfo.userAgent removed.
|
|
334
339
|
* Browser, version, platform and mobile are already parsed into their own
|
|
335
340
|
* fields, so the raw string was duplicate data — and a fingerprinting
|
|
@@ -362,7 +367,7 @@ export declare function sampleableFormats(profile: AtlasProfile): string[];
|
|
|
362
367
|
*
|
|
363
368
|
* 1 — Initial schema.
|
|
364
369
|
*/
|
|
365
|
-
export declare const SCHEMA_VERSION =
|
|
370
|
+
export declare const SCHEMA_VERSION = 5;
|
|
366
371
|
|
|
367
372
|
/** Result of one WGSL compilation case */
|
|
368
373
|
export declare interface ShaderCase {
|
package/package.json
CHANGED
|
@@ -1,59 +1,59 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "gpu-atlas",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "
|
|
5
|
-
"keywords": [
|
|
6
|
-
"webgpu",
|
|
7
|
-
"gpu",
|
|
8
|
-
"capabilities",
|
|
9
|
-
"benchmark",
|
|
10
|
-
"compatibility",
|
|
11
|
-
"graphics",
|
|
12
|
-
"rendering"
|
|
13
|
-
],
|
|
14
|
-
"license": "MIT",
|
|
15
|
-
"author": "ahnminjae08043-glitch (https://github.com/ahnminjae08043-glitch)",
|
|
16
|
-
"homepage": "https://ahnminjae08043-glitch.github.io/gpu-atlas/",
|
|
17
|
-
"repository": {
|
|
18
|
-
"type": "git",
|
|
19
|
-
"url": "git+https://github.com/ahnminjae08043-glitch/gpu-atlas.git"
|
|
20
|
-
},
|
|
21
|
-
"bugs": {
|
|
22
|
-
"url": "https://github.com/ahnminjae08043-glitch/gpu-atlas/issues"
|
|
23
|
-
},
|
|
24
|
-
"type": "module",
|
|
25
|
-
"main": "./dist/gpu-atlas.js",
|
|
26
|
-
"module": "./dist/gpu-atlas.js",
|
|
27
|
-
"types": "./dist/index.d.ts",
|
|
28
|
-
"exports": {
|
|
29
|
-
".": {
|
|
30
|
-
"types": "./dist/index.d.ts",
|
|
31
|
-
"import": "./dist/gpu-atlas.js"
|
|
32
|
-
},
|
|
33
|
-
"./package.json": "./package.json"
|
|
34
|
-
},
|
|
35
|
-
"files": [
|
|
36
|
-
"dist"
|
|
37
|
-
],
|
|
38
|
-
"sideEffects": false,
|
|
39
|
-
"engines": {
|
|
40
|
-
"node": ">=20"
|
|
41
|
-
},
|
|
42
|
-
"scripts": {
|
|
43
|
-
"dev": "vite",
|
|
44
|
-
"build": "npm run typecheck && npm test && vite build",
|
|
45
|
-
"build:demo": "vite build --mode demo",
|
|
46
|
-
"preview": "vite preview",
|
|
47
|
-
"typecheck": "tsc --noEmit",
|
|
48
|
-
"test": "vitest run",
|
|
49
|
-
"test:watch": "vitest"
|
|
50
|
-
},
|
|
51
|
-
"devDependencies": {
|
|
52
|
-
"@vitejs/plugin-basic-ssl": "^2.3.0",
|
|
53
|
-
"@webgpu/types": "^0.1.60",
|
|
54
|
-
"typescript": "^5.7.2",
|
|
55
|
-
"vite": "^6.0.5",
|
|
56
|
-
"vite-plugin-dts": "^4.4.0",
|
|
57
|
-
"vitest": "^4.1.11"
|
|
58
|
-
}
|
|
59
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "gpu-atlas",
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "Probe what WebGPU actually does on a device — 53 formats, real limits, 7 benchmarks — then compare devices to find what is safe to depend on.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"webgpu",
|
|
7
|
+
"gpu",
|
|
8
|
+
"capabilities",
|
|
9
|
+
"benchmark",
|
|
10
|
+
"compatibility",
|
|
11
|
+
"graphics",
|
|
12
|
+
"rendering"
|
|
13
|
+
],
|
|
14
|
+
"license": "MIT",
|
|
15
|
+
"author": "ahnminjae08043-glitch (https://github.com/ahnminjae08043-glitch)",
|
|
16
|
+
"homepage": "https://ahnminjae08043-glitch.github.io/gpu-atlas/",
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "git+https://github.com/ahnminjae08043-glitch/gpu-atlas.git"
|
|
20
|
+
},
|
|
21
|
+
"bugs": {
|
|
22
|
+
"url": "https://github.com/ahnminjae08043-glitch/gpu-atlas/issues"
|
|
23
|
+
},
|
|
24
|
+
"type": "module",
|
|
25
|
+
"main": "./dist/gpu-atlas.js",
|
|
26
|
+
"module": "./dist/gpu-atlas.js",
|
|
27
|
+
"types": "./dist/index.d.ts",
|
|
28
|
+
"exports": {
|
|
29
|
+
".": {
|
|
30
|
+
"types": "./dist/index.d.ts",
|
|
31
|
+
"import": "./dist/gpu-atlas.js"
|
|
32
|
+
},
|
|
33
|
+
"./package.json": "./package.json"
|
|
34
|
+
},
|
|
35
|
+
"files": [
|
|
36
|
+
"dist"
|
|
37
|
+
],
|
|
38
|
+
"sideEffects": false,
|
|
39
|
+
"engines": {
|
|
40
|
+
"node": ">=20"
|
|
41
|
+
},
|
|
42
|
+
"scripts": {
|
|
43
|
+
"dev": "vite",
|
|
44
|
+
"build": "npm run typecheck && npm test && vite build",
|
|
45
|
+
"build:demo": "vite build --mode demo",
|
|
46
|
+
"preview": "vite preview",
|
|
47
|
+
"typecheck": "tsc --noEmit",
|
|
48
|
+
"test": "vitest run",
|
|
49
|
+
"test:watch": "vitest"
|
|
50
|
+
},
|
|
51
|
+
"devDependencies": {
|
|
52
|
+
"@vitejs/plugin-basic-ssl": "^2.3.0",
|
|
53
|
+
"@webgpu/types": "^0.1.60",
|
|
54
|
+
"typescript": "^5.7.2",
|
|
55
|
+
"vite": "^6.0.5",
|
|
56
|
+
"vite-plugin-dts": "^4.4.0",
|
|
57
|
+
"vitest": "^4.1.11"
|
|
58
|
+
}
|
|
59
|
+
}
|