Skip to content

[Feature Request] Add lexing support for WebGPU Shading Language #3883

@dneto0

Description

@dneto0

Context

  • This issue is not a bug report. (please use a different template for reporting a bug)
  • This issue is not a duplicate of an existing issue. (please use the search to find existing issues)

Description

Summary:

Please add support for WGSL syntax highlighting in VS Code.
WGSL specification: https://www.w3.org/TR/WGSL/

Details

WebGPU Shading Language (WGSL) is a new shading language, for the web.
It is being designed by major browser vendors, and with extensive community participation.

W3C Working Group: https://www.w3.org/2020/gpu/
Community Group: https://www.w3.org/community/gpu/
In-flight working materials: https://github.com/gpuweb/gpuweb/wiki

Implementation status: https://github.com/gpuweb/gpuweb/wiki/Implementation-Status
For example, Chrome has had WebGPU support in Origin Trial since 2021, and plans to release it to general audiences on Windows and Mac in milestone 113 (May 2023).

Monaco Editor Playground Link

No response

Monaco Editor Playground Code

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestRequest for new features or functionality

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions