naga-cli
« Back to VersTracker
Description:
Shader translation command-line tool
Type: Formula  |  Latest Version: 27.0.0@0  |  Tracked Since: Dec 18, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: shader graphics translation wgsl wgpu
Install: brew install naga-cli
About:
Naga is a shader translation library and command-line tool designed for the wgpu project. It converts shader code between various formats like WGSL, SPIR-V, and GLSL, enabling developers to write shaders in their preferred language and target multiple graphics backends. This tool is essential for cross-platform graphics development, ensuring compatibility and optimizing shader pipelines.
Key Features:
  • Multi-language translation (WGSL, SPIR-V, GLSL, HLSL)
  • Cross-platform shader compilation
  • Built-in validation and error reporting
  • Integration with wgpu and other graphics frameworks
Use Cases:
  • Compiling shaders for web and native applications
  • Migrating legacy OpenGL projects to modern APIs
  • Validating shader code for correctness and performance
Alternatives:
  • glslang – GLSLang is focused on GLSL to SPIR-V compilation, whereas Naga offers broader format support including WGSL.
  • spirv-cross – Spirv-Cross specializes in reflecting and converting SPIR-V to other languages, while Naga provides a more unified pipeline.
Version History
Detected Version Rev Change Commit
Dec 18, 2025 5:11am 27.0.0 0 VERSION_BUMP b378a180
Oct 2, 2025 2:32am 0 VERSION_BUMP 8ef5c456
Sep 16, 2025 5:11am 0 VERSION_BUMP 15554ad4