Intent to Ship: WebGPU: `buffer_view` feature

16 views
Skip to first unread message

Chromestatus

unread,
2:23 PM (4 hours ago) 2:23 PM
to blin...@chromium.org, cwa...@google.com, dsin...@chromium.org, alan...@google.com, fbea...@google.com
Contact emails
alan...@google.com

Explainer
https://github.com/gpuweb/gpuweb/blob/main/proposals/buffer-view.md
https://github.com/webgpu/webgpu-samples/pull/568

Specification
https://github.com/gpuweb/gpuweb/pull/6291

Summary
WGSL language feature for reinterpreting data in variables. The feature allows developers to divide a single uniform, storage, or workgroup variable into multiple logical variables. It also allows the type of the data in the variable to be interpreted as multiple types within the program.

Blink component
Blink>WebGPU

Web Feature ID
webgpu

Motivation
This features adds a new opaque type for use with storage and uniform buffers and workgroup variables. It allows the data in those variables to be reinterpreted as other types. This is useful for both type-punning data and logically sub-dividing a variable into multiple parts. For ease-of-use and safety, the opaque type can only be operated on by new built-in functions. The reinterpretation can only occur on the opaque type. This maintains flexibility, but reduces implementation complexity.

Initial public proposal
https://github.com/gpuweb/gpuweb/issues/5338

TAG review
No information provided

TAG review status
Pending

Goals for experimentation
None

Risks


Interoperability and Compatibility
No information provided

Gecko: No signal (https://github.com/mozilla/standards-positions/issues/1205#issuecomment-3312534193)

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

Web developers: No signals

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?

No information provided


Debuggability
No information provided

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

Is this feature fully tested by web-platform-tests?
Yes
https://github.com/gpuweb/cts/pull/4652

Flag name on about://flags
Enable Unsafe WebGPU

Finch feature name
No information provided

Non-finch justification
No information provided

Rollout plan
Will ship enabled for all users

Requires code in //chrome?
False

Tracking bug
https://crbug.com/tint/506523198

Estimated milestones
Shipping on desktop152
Shipping on Android152
Shipping on WebView152


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).

No information provided

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

This intent message was generated by Chrome Platform Status.
Reply all
Reply to author
Forward
0 new messages