← Back to release summary

WGSL: pointer composite access

Category
Graphics
Type
Chromium catches up
Status
Enabled by default (Chrome 123)
Intent stage
None

WPT details: 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. Note that tests are still being written, but the feature will not be launched until it is fully tested.

Summary

Functionality added to the WebGPU/WGSL spec after its first shipment in a browser. Provides better ergonomics for accessing member of a composite through a pointer. For example `(*ptr).i` can now be written `ptr.i`.

Standards & signals

Ecosystem

View on chromestatus.com