WGSL StudioTest runner for native WGSL / WESL tests. Live shader preview of WGSL and WESL shaders. WESL GPU TestsWGSL Studio includes a native test runner for GPU shader tests.
Tag functions with
Tests are discovered automatically and appear in the VS Code Test Explorer. Run them from there, or use the command palette. The native test runner can be disabled in settings
( Quick StartCreate a fragment shader tagged with
Then run command "WGSL Studio: Preview Toy Shader" (or right-click the file). Built-in UniformsThe preview provides these uniforms automatically:
See wgsl-play for full documentation. WESL ImportsThe extension also supports WESL, so you can import local shader files and shaders from npm packages.
See wesl-lang.dev for language documentation. |