Intent to Ship: WebGPU: `linear_indexing` feature

77 views
Skip to first unread message

Chromestatus

unread,
Mar 23, 2026, 10:04:03 AM (3 days ago) Mar 23
to blin...@chromium.org, cwa...@google.com, fbea...@google.com, jrp...@google.com, alan...@google.com
Contact emails
alan...@google.com

Explainer
No information provided

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

Summary
Functionality added to the WebGPU spec after its first shipment in a browser. Adds two new compute shader built-in values for user quality of life. These are implemented for all backends (as polyfills of existing built-in values).

Blink component
Blink>WebGPU

Web Feature ID
webgpu

Motivation
This feature adds two new compute built-in values to WGSL. They are quality-of-life additions whose implementations are polyfilled on top of existing values.

Initial public proposal
No information provided

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)?
Yes

Is this feature fully tested by web-platform-tests?
Yes
WebGPU conformance tests added in https://github.com/gpuweb/cts/pull/4595

Flag name on about://flags
Enable Unsafe WebGPU

Finch feature name
UnsafeWGSLFeatures

Rollout plan
Will ship enabled for all users

Requires code in //chrome?
False

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

Estimated milestones
Shipping on desktop148
Shipping on Android148
Shipping on WebView148


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/5071243424432128?gate=6507584288849920

This intent message was generated by Chrome Platform Status.

Alex Russell

unread,
Mar 23, 2026, 2:51:59 PM (3 days ago) Mar 23
to blink-dev, Chromestatus, cwa...@google.com, fbea...@google.com, jrp...@google.com, alan...@google.com
Hey Alan,

Thanks for sending this Intent. I'm glad to see a team go straight to shipping when we have confidence that a feature is worthwhile!

That said, it's a bit surprising that we don't have any developer signals. Likewise, I can't find an Explainer or any example code from the links in the Intent that will benefitfeature. What does this improve? Who will use it? How will it make things better for users and/or developers?

Best,

Alex

Alan Baker

unread,
Mar 23, 2026, 3:00:00 PM (3 days ago) Mar 23
to Alex Russell, blink-dev, Chromestatus, cwa...@google.com, fbea...@google.com, jrp...@google.com
Hi Alex,

I've added https://github.com/gpuweb/gpuweb/issues/5154 as an explainer. This was a user-requested feature for the WebGPU WG. It went through prioritization and discussion there. It adds QoL polyfills over existing builtins. Everyone (including myself) who has tried to write those formulae themselves has failed at least once so there was good value for implementations to provide the builtin (and overflow safety checks).

Thanks,
Alan

Mike Taylor

unread,
Mar 25, 2026, 8:50:37 AM (yesterday) Mar 25
to Alan Baker, Alex Russell, blink-dev, Chromestatus, cwa...@google.com, fbea...@google.com, jrp...@google.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+...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CABg%2BrB41HHKCY697rceUjpheBEQzXvmfEGStAAPT_2HZmx5CDg%40mail.gmail.com.

Daniel Bratell

unread,
Mar 25, 2026, 11:13:08 AM (yesterday) Mar 25
to Mike Taylor, Alan Baker, Alex Russell, blink-dev, Chromestatus, cwa...@google.com, fbea...@google.com, jrp...@google.com

Chris Harrelson

unread,
Mar 25, 2026, 11:13:28 AM (yesterday) Mar 25
to Daniel Bratell, Mike Taylor, Alan Baker, Alex Russell, blink-dev, Chromestatus, cwa...@google.com, fbea...@google.com, jrp...@google.com

Alex Russell

unread,
Mar 25, 2026, 11:13:30 AM (yesterday) Mar 25
to blink-dev, Mike Taylor, blink-dev, Chromestatus, cwa...@google.com, fbea...@google.com, jrp...@google.com, Alan Baker, Alex Russell
Thanks for the pointer and the example code, Alan.

LGTM2.

To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
Reply all
Reply to author
Forward
0 new messages