spirv-tools
« Back to VersTracker
Description:
API and commands for processing SPIR-V modules
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  @KhronosGroup  |  formulae.brew.sh
Category: Developer tools
Tags: spirv vulkan shader compiler graphics
Install: brew install spirv-tools
About:
SPIRV-Tools is a collection of libraries and tools for processing SPIR-V modules, the intermediate representation of shaders for Vulkan and OpenCL. It provides essential functionality for validation, optimization, and conversion of SPIR-V binaries. This enables developers to debug, optimize, and reduce the size of their graphics and compute shaders.
Key Features:
  • SPIR-V validation to ensure module correctness
  • Optimization passes to reduce shader size and improve performance
  • Command-line tools for disassembly and assembly
  • C++ API for programmatic manipulation of SPIR-V modules
Use Cases:
  • Validating shader binaries in a graphics development pipeline
  • Optimizing shader code for performance and reduced binary size
  • Debugging shader issues by disassembling SPIR-V to a human-readable format
Alternatives:
  • glslang – glslang compiles GLSL/HLSL to SPIR-V, while SPIRV-Tools operates on the resulting SPIR-V binary for validation and optimization.
Version History
Detected Version Rev Change Commit
Oct 9, 2025 1:52am 0 VERSION_BUMP 5f285cb3
Oct 8, 2025 11:26pm 0 VERSION_BUMP 1ce8b403
Oct 7, 2025 1:30pm 0 VERSION_BUMP 9f9ae91e
Oct 7, 2025 10:19am 0 VERSION_BUMP f3cfeadb