Emacs tree-sitter support for the WebGPU Shading Language (WGSL) providing syntax highlighting and navigation.
In order to use this mode, you must arrange that the tree-sitter-wgsl grammar is available.
Tree-sitter grammars are unfortunately a separate concern from the emacs support. There is a section on installing grammars as part of a helpful article on getting started with tree-sitter in emacs that will likely be of use.
If you use the nix package manager, it is available as part of the treesit-grammars
package that you can include among your other emacs packages with,
treesit-grammars.with-all-grammars
or you can specify which grammars to include,
(treesit-grammars.with-grammars (p: [ p.tree-sitter-wgsl ]))