Chrome 123 supports the unrestricted_pointer_parameters language extension (see WGSLLanguageFeatures), which loosens restrictions on pointers being passed to WGSL functions as follows:
Parameter pointers to storage, uniform, and workgroup address spaces being passed to user-declared functions.
Pointers to structure members and array elements being passed to user-declared functions.
This PR adds a data point for the language extension.
Summary
Chrome 123 supports the
unrestricted_pointer_parameters
language extension (seeWGSLLanguageFeatures
), which loosens restrictions on pointers being passed to WGSL functions as follows:This PR adds a data point for the language extension.
See https://developer.chrome.com/blog/new-in-webgpu-123#unrestricted_pointer_parameters_in_wgsl for the data source.
Test results and supporting details
Spec PR: https://github.com/gpuweb/gpuweb/pull/4312
Related issues
Project issue: https://github.com/mdn/content/issues/36350