Skip to content

Document new WGSL language extensions from engine v2.19.0#1002

Merged
mvaligursky merged 1 commit into
mainfrom
mv-wgsl-language-extensions
May 29, 2026
Merged

Document new WGSL language extensions from engine v2.19.0#1002
mvaligursky merged 1 commit into
mainfrom
mv-wgsl-language-extensions

Conversation

@mvaligursky
Copy link
Copy Markdown
Contributor

Engine v2.19.0 added detection for several more WGSL language features (device caps that auto-inject requires …; directives). This adds them to the WGSL Specifics → WGSL language extensions list.

New entries (each injected for vertex/fragment/compute):

  • device.supportsUnrestrictedPointerParametersrequires unrestricted_pointer_parameters; / CAPS_UNRESTRICTED_POINTER_PARAMETERS (PR #8785)
  • device.supportsPointerCompositeAccessrequires pointer_composite_access; / CAPS_POINTER_COMPOSITE_ACCESS (PR #8786)
  • device.supportsPacked4x8IntegerDotProductrequires packed_4x8_integer_dot_product; / CAPS_PACKED_4X8_INTEGER_DOT_PRODUCT (PR #8787)
  • device.supportsTextureAndSamplerLetrequires texture_and_sampler_let; / CAPS_TEXTURE_AND_SAMPLER_LET (PR #8790)

The release's other WGSL change (linear_indexing + CAPS_STORAGE_TEXTURE_READ, PR #8648) was already documented.

Names, injected directives, and CAPS defines verified against the engine source (graphics-device.js, shader-definition-utils.js). Mirrored across the Japanese (i18n/ja) docs.

Add four WGSL language-feature device caps that the engine now detects
and injects `requires …;` directives for, to the WGSL Specifics page:

- unrestricted_pointer_parameters (CAPS_UNRESTRICTED_POINTER_PARAMETERS)
- pointer_composite_access (CAPS_POINTER_COMPOSITE_ACCESS)
- packed_4x8_integer_dot_product (CAPS_PACKED_4X8_INTEGER_DOT_PRODUCT)
- texture_and_sampler_let (CAPS_TEXTURE_AND_SAMPLER_LET)

Verified names, injected directives, and CAPS defines against the engine
source (graphics-device.js, shader-definition-utils.js).

Mirrored across the Japanese (i18n/ja) docs.
@mvaligursky mvaligursky self-assigned this May 29, 2026
@mvaligursky mvaligursky merged commit 81e047a into main May 29, 2026
3 checks passed
@mvaligursky mvaligursky deleted the mv-wgsl-language-extensions branch May 29, 2026 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant