Contact emailsfbeauf...@google.com

ExplainerThe GPUAdapter isFallbackAdapter boolean attribute currently
shipped in Chrome browser only does not allow libraries that take
user-provided GPUDevice objects from accessing this information through the
adapterInfo attribute on GPUDevice. Adding a GPUAdapterInfo
isFallbackAdapter boolean attribute solves this problem.
Note that GPUAdapter isFallbackAdapter usage is being measured to determine
if it can be deprecated and removed, as Chrome has not yet shipped support
for fallback adapters.

https://github.com/gpuweb/gpuweb/pull/5099

Specification
https://gpuweb.github.io/gpuweb/#dom-gpuadapterinfo-isfallbackadapter

Summary

Functionality added to the WebGPU spec after its first shipment in a
browser. The GPUAdapterInfo isFallbackAdapter boolean attribute indicates
if an adapter has significant performance limitations in return for wider
compatibility, more predictable behavior, and/or improved privacy. Note
that a fallback adapter may not be present on all systems.

Blink componentBlink>WebGPU
<https://issues.chromium.org/issues?q=customfield1222907:%22Blink%3EWebGPU%22>

TAG reviewNone

TAG review statusNot applicable

Risks


Interoperability and Compatibility

This feature has not yet been implemented in any browser. It has been
approved by the GPU for the Web Community Group, with representatives from
Chrome, Firefox, and Safari. See minutes at
https://github.com/gpuweb/gpuweb/wiki/GPU-Web-2025-03-05#move-isfallbackadapter-into-gpuadapterinfo-4971
and https://github.com/gpuweb/gpuweb/pull/5099#issuecomment-2737426600

*Gecko*: No signal Mozilla members have requested during weekly
standardization meetings that we don't file standard positions anymore as
we reached Candidate Recommendation (CR) status.

*WebKit*: Closed Without a Position (
https://github.com/WebKit/standards-positions/issues/294#issuecomment-1877411933
)

*Web developers*: Positive (https://github.com/gpuweb/gpuweb/issues/4971)

*Other signals*:

WebView application risks

Does this intent deprecate or change behavior of existing APIs, such that
it has potentially high risk for Android WebView-based applications?

None


Debuggability

None


Will this feature be supported on all six Blink platforms (Windows, Mac,
Linux, ChromeOS, Android, and Android WebView)?No

All platforms will eventually have support. Will immediately be available
on Android, Android WebView, ChromeOS, Mac, and Windows, since those
platforms already support WebGPU. Linux is planned to have WebGPU support
in the future, so this feature will become available when WebGPU does.


Is this feature fully tested by web-platform-tests
<https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md>
?Yes

WebGPU/WGSL have a conformance test suite (https://github.com/gpuweb/cts)
that is regularly pulled into Chromium and part of the testing of Dawn/Tint
in Chromium. While the CTS can be embedded in WPT, the WebGPU team opted to
keep it separate in Chromium testing to use a customized harness for
robustness and performance. All the tests about this feature in WebGPU CTS
can be found at https://github.com/gpuweb/cts/issues/2356


Flag name on about://flagsExperimental Web Platform Features

Finch feature nameWebGPUAdapterInfoIsFallbackAdapter

Requires code in //chrome?False

Tracking bughttps://issues.chromium.org/issues/403172841

Estimated milestones

No milestones specified


Anticipated spec changes

Open questions about a feature may be a source of future web compat or
interop issues. Please list open issues (e.g. links to known github issues
in the project for the feature specification) whose resolution may
introduce web compat/interop risk (e.g., changing to naming or structure of
the API in a non-backward-compatible way).
None

Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/5188955424948224?gate=5167533973569536

This intent message was generated by Chrome Platform Status
<https://chromestatus.com/>.

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to blink-dev+unsubscr...@chromium.org.
To view this discussion visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAPpwU5JSUxkXG%3DchgyHwfpAsw7O3BP_w39-AcsmfTN2h%2BkPRnw%40mail.gmail.com.

Reply via email to