miniray

WGSL Minifier - Compress your WebGPU shaders

Also available on the command line

Minify WGSL shaders directly from your terminal with a single command:

npx miniray shader.wgsl -o shader.min.wgsl