Vibeleaderboard
Index / tool
Category
Developer Tools
Rank
No. 2173Tools index

Previous survey · No. 2084 ·

Pricing
Open Source
Type
TOOL
Use case
Software Testing & Quality · Coding
Interfaces
CLI · Editor Extension
GitHub
6 stars
Date

About

WGSL Linter is a language server, VS Code extension, command-line tool and dependency-free analyzer library for WGSL shaders, including WGSL inside tagged JS and TS template literals. It validates shaders the way Chrome does and reports all errors at once, with hover, completion, inlay hints, rename, references and formatting. The extension can be embedded in other VS Code extensions.

At a glance

WGSL Linter checks WebGPU shader code in an editor or from the command line. It is worth trying if you want type and layout diagnostics before loading a shader in the browser.

Good fit

WebGPU developers editing standalone WGSL or static shader strings embedded in JavaScript or TypeScript.

Consider something else when

Skip it as the only validation for shaders assembled dynamically. Its embedded analysis is designed for templates without substitutions.

Start here

Introduce a type error into a small compute shader and check that the editor or CLI points to the expression. Then test the corrected shader on your target device.

Cost and requirements

The open-source project offers a VS Code extension, CLI and analyzer library. For shaders that rely on shared declarations, configure the prelude before interpreting diagnostics.

Limits to know

Static analysis cannot measure runtime output or GPU performance. Validation also depends on the source and prelude you give it.

Suggest an improvement

Similar tools

Browse all tools →

Tags

wgslwebgpushaderslspvscodelinter

Tech Stack

Node.jsTypeScriptVite

Editorially curated, with community endorsements as a secondary signal. Corrections welcome.