Contact emails
dsin...@google.com
Explainer
No information provided
Specification
https://github.com/gpuweb/gpuweb/pull/5389
Summary
Add a language feature to WGSL, `texture_and_sampler_let` that adds the ability to store texture and sampler objects into a let declaration in WGSL.
Blink component
Blink>WebGPU
Web Feature ID
webgpu
Motivation
To allow storing texture and samples in WGSL shaders into lets. This allows creating local names for what are usually global objects.
Initial public proposal
https://github.com/gpuweb/gpuweb/issues/5339
TAG review
No information provided
TAG review status
Pending
Risks
Debuggability
No information provided
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, where hardware support is available. Linux is planned to have WebGPU support in the future, so this feature will become available when WebGPU does.
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.
CTS:
https://github.com/gpuweb/cts/pull/4490
Flag name on about://flags
No information provided
Finch feature name
UnsafeWGSLFeatures
Rollout plan
Will ship enabled for all users
Requires code in //chrome?
False
Tracking bug
https://crbug.com/459500757
Estimated milestones
| Shipping on desktop | 146 |
| Shipping on Android | 146 |
| Shipping on WebView | 146 |
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/5102334940151808?gate=6582632798355456