Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
137 changes: 116 additions & 21 deletions api/GPUSupportedFeatures.json
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,9 @@
"partial_implementation": true,
"notes": "Supported on ChromeOS, macOS, and Windows only."
},
"chrome_android": "mirror",
"chrome_android": {
"version_added": "131"
},
"deno": {
"version_added": false
},
Expand Down Expand Up @@ -212,7 +214,10 @@
"Available on all adapters and enabled automatically on all devices even if not requested."
]
},
"chrome_android": "mirror",
"chrome_android": {
"version_added": "139",
"notes": "Available on all adapters and enabled automatically on all devices even if not requested."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand that this is note is pre-existing, but what does it mean for web developers? Are there certain things that don't work, and why does it not justify partial_implementation: true?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is a feature that represents the basic, core featureset of WebGPU without requesting any extra features or advanced featuresets (which may well follow in the future). It is always available unless your GPU Adapter is set to "compatibility mode". I'm not 100% sure why they needed a specific feature name to represent the feature status quo.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gotcha, but then, based on the spec, isn't the Chrome note just describing the expected behavior of this feature? And could therefore be removed?

If I understand correctly, GPURequestAdapterOptions.featureLevel defaults to "core", which includes this feature. This would explain to me that it is available "even if not requested", but this isn't Chrome-specific.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is still going to be supported at different times by different browsers. I also suspect that, depending on the environment you are running WebGPU in, it might not always be the case that it is always enabled by default.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gotcha, so it provides useful information for web developers that may avoid webcompat issues, once another engine adds support.

},
"deno": {
"version_added": false
},
Expand Down Expand Up @@ -340,7 +345,9 @@
"partial_implementation": true,
"notes": "Supported on ChromeOS, macOS, and Windows only."
},
"chrome_android": "mirror",
"chrome_android": {
"version_added": "130"
},
"deno": {
"version_added": false
},
Expand Down Expand Up @@ -380,7 +387,9 @@
"partial_implementation": true,
"notes": "Supported on ChromeOS, macOS, and Windows only."
},
"chrome_android": "mirror",
"chrome_android": {
"version_added": "132"
},
"deno": {
"version_added": false
},
Expand Down Expand Up @@ -458,7 +467,9 @@
],
"support": {
"chrome": {
"version_added": "113"
"version_added": "113",
"partial_implementation": true,
"notes": "Supported on ChromeOS, macOS, and Windows only."
},
"chrome_android": {
"version_added": "121"
Expand Down Expand Up @@ -498,9 +509,13 @@
],
"support": {
"chrome": {
"version_added": "142",
"partial_implementation": true,
"notes": "Supported on ChromeOS, macOS, and Windows only."
},
"chrome_android": {
"version_added": "142"
},
"chrome_android": "mirror",
"deno": {
"version_added": false
},
Expand Down Expand Up @@ -536,7 +551,9 @@
],
"support": {
"chrome": {
"version_added": "113"
"version_added": "113",
"partial_implementation": true,
"notes": "Supported on ChromeOS, macOS, and Windows only."
},
"chrome_android": {
"version_added": "121"
Expand Down Expand Up @@ -576,7 +593,9 @@
],
"support": {
"chrome": {
"version_added": "120"
"version_added": "120",
"partial_implementation": true,
"notes": "Supported on ChromeOS, macOS, and Windows only."
},
"chrome_android": {
"version_added": "121"
Expand Down Expand Up @@ -616,9 +635,55 @@
],
"support": {
"chrome": {
"version_added": "134",
"partial_implementation": true,
"notes": "Supported on ChromeOS, macOS, and Windows only."
},
"chrome_android": {
"version_added": "134"
},
"chrome_android": "mirror",
"deno": {
"version_added": false
},
"edge": "mirror",
"firefox": {
"version_added": false
},
"firefox_android": "mirror",
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": false
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror",
"webview_ios": "mirror"
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
}
}
},
"feature_texture-component-swizzle": {
"__compat": {
"description": "`texture-component-swizzle` feature",
"spec_url": "https://gpuweb.github.io/gpuweb/#dom-gpufeaturename-texture-component-swizzle",
"tags": [
"web-features:webgpu"
],
"support": {
"chrome": {
"version_added": "143",
"partial_implementation": true,
"notes": "Supported on ChromeOS, macOS, and Windows only."
},
"chrome_android": {
"version_added": "143"
},
"deno": {
"version_added": false
},
Expand Down Expand Up @@ -654,7 +719,9 @@
],
"support": {
"chrome": {
"version_added": "113"
"version_added": "113",
"partial_implementation": true,
"notes": "Supported on ChromeOS, macOS, and Windows only."
},
"chrome_android": {
"version_added": "121"
Expand Down Expand Up @@ -694,9 +761,13 @@
],
"support": {
"chrome": {
"version_added": "139",
"partial_implementation": true,
"notes": "Supported on ChromeOS, macOS, and Windows only."
},
"chrome_android": {
"version_added": "139"
},
"chrome_android": "mirror",
"deno": {
"version_added": false
},
Expand Down Expand Up @@ -736,7 +807,9 @@
],
"support": {
"chrome": {
"version_added": "113"
"version_added": "113",
"partial_implementation": true,
"notes": "Supported on ChromeOS, macOS, and Windows only."
},
"chrome_android": {
"version_added": "121"
Expand Down Expand Up @@ -776,9 +849,13 @@
],
"support": {
"chrome": {
"version_added": "139",
"partial_implementation": true,
"notes": "Supported on ChromeOS, macOS, and Windows only."
},
"chrome_android": {
"version_added": "139"
},
"chrome_android": "mirror",
"deno": {
"version_added": false
},
Expand Down Expand Up @@ -818,7 +895,9 @@
],
"support": {
"chrome": {
"version_added": "113"
"version_added": "113",
"partial_implementation": true,
"notes": "Supported on ChromeOS, macOS, and Windows only."
},
"chrome_android": {
"version_added": "121"
Expand Down Expand Up @@ -942,9 +1021,13 @@
],
"support": {
"chrome": {
"version_added": "121",
"partial_implementation": true,
"notes": "Supported on ChromeOS, macOS, and Windows only."
},
"chrome_android": {
"version_added": "121"
},
"chrome_android": "mirror",
"deno": {
"version_added": false
},
Expand Down Expand Up @@ -979,7 +1062,9 @@
],
"support": {
"chrome": {
"version_added": "113"
"version_added": "113",
"partial_implementation": true,
"notes": "Supported on ChromeOS, macOS, and Windows only."
},
"chrome_android": {
"version_added": "121"
Expand Down Expand Up @@ -1034,7 +1119,9 @@
],
"support": {
"chrome": {
"version_added": "113"
"version_added": "113",
"partial_implementation": true,
"notes": "Supported on ChromeOS, macOS, and Windows only."
},
"chrome_android": {
"version_added": "121"
Expand Down Expand Up @@ -1089,7 +1176,9 @@
],
"support": {
"chrome": {
"version_added": "113"
"version_added": "113",
"partial_implementation": true,
"notes": "Supported on ChromeOS, macOS, and Windows only."
},
"chrome_android": {
"version_added": "121"
Expand Down Expand Up @@ -1144,7 +1233,9 @@
],
"support": {
"chrome": {
"version_added": "113"
"version_added": "113",
"partial_implementation": true,
"notes": "Supported on ChromeOS, macOS, and Windows only."
},
"chrome_android": {
"version_added": "121"
Expand Down Expand Up @@ -1199,7 +1290,9 @@
],
"support": {
"chrome": {
"version_added": "113"
"version_added": "113",
"partial_implementation": true,
"notes": "Supported on ChromeOS, macOS, and Windows only."
},
"chrome_android": {
"version_added": "121"
Expand Down Expand Up @@ -1255,7 +1348,9 @@
],
"support": {
"chrome": {
"version_added": "113"
"version_added": "113",
"partial_implementation": true,
"notes": "Supported on ChromeOS, macOS, and Windows only."
},
"chrome_android": {
"version_added": "121"
Expand Down
54 changes: 48 additions & 6 deletions api/GPUTexture.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,21 +114,21 @@
"deprecated": false
}
},
"texture_rgb10a2uint": {
"option_swizzle": {
"__compat": {
"description": "<code>rgb10a2uint</code> texture format",
"spec_url": "https://gpuweb.github.io/gpuweb/#dom-gputextureformat-rgb10a2uint",
"description": "<code>swizzle</code> option",
"spec_url": "https://gpuweb.github.io/gpuweb/#dom-gputextureviewdescriptor-swizzle",
"tags": [
"web-features:webgpu"
],
"support": {
"chrome": {
"version_added": "119",
"version_added": "143",
"partial_implementation": true,
"notes": "Supported on ChromeOS, macOS, and Windows only."
},
"chrome_android": {
"version_added": "121"
"version_added": "143"
},
"deno": {
"version_added": false
Expand Down Expand Up @@ -156,7 +156,7 @@
}
}
},
"usage": {
"option_usage": {
"__compat": {
"description": "<code>usage</code> option",
"spec_url": "https://gpuweb.github.io/gpuweb/#dom-gputextureviewdescriptor-usage",
Expand Down Expand Up @@ -197,6 +197,48 @@
"deprecated": false
}
}
},
"texture_rgb10a2uint": {
"__compat": {
"description": "<code>rgb10a2uint</code> texture format",
"spec_url": "https://gpuweb.github.io/gpuweb/#dom-gputextureformat-rgb10a2uint",
"tags": [
"web-features:webgpu"
],
"support": {
"chrome": {
"version_added": "119",
"partial_implementation": true,
"notes": "Supported on ChromeOS, macOS, and Windows only."
},
"chrome_android": {
"version_added": "121"
},
"deno": {
"version_added": false
},
"edge": "mirror",
"firefox": {
"version_added": false
},
"firefox_android": "mirror",
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": false
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror",
"webview_ios": "mirror"
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
}
}
}
},
"depthOrArrayLayers": {
Expand Down