🍺 BREW Explorer

← all formulae

spirv-tools

brew install spirv-tools v1.4.350.1 Apache-2.0

API and command-line tools for assembling, disassembling, validating, and optimizing SPIR-V shader modules.

Why you might care

Essential for Vulkan shader development and GPU compiler workflows. Provides a complete toolkit for inspecting, validating, and transforming intermediate representation code before compilation to native GPU instructions. The library is used by graphics toolchains and shader compilers; the CLI tools let you manually inspect or transform SPIR-V binaries.

Categories

Alternatives

glslc shaderc Khronos glslang
9.4k
30-day installs · #365
27.8k
90-day · #414
74.3k
365-day · #517
1.3k
★ GitHub stars · updated 1d ago

Build dependencies

Links

Blurb generated by claude-haiku-4-5 on today.

Raw metadata
{
  "aliases": [],
  "alternatives": [
    "glslc",
    "shaderc",
    "Khronos glslang"
  ],
  "build_dependencies": [
    "cmake",
    "spirv-headers"
  ],
  "categories": [
    "compiler",
    "library",
    "sdk"
  ],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "API and commands for processing SPIR-V modules",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:40:49+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "spirv-tools",
  "github_default_branch": "main",
  "github_last_commit_at": "2026-06-19T18:27:09Z",
  "github_readme_excerpt": "# SPIR-V Tools\n[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/KhronosGroup/SPIRV-Tools/badge)](https://securityscorecards.dev/viewer/?uri=github.com/KhronosGroup/SPIRV-Tools)\n\nNEWS 2023-01-11: Development occurs on the `main` branch.\n\n## Overview\n\nThe SPIR-V Tools project provides an API and commands for processing SPIR-V\nmodules.\n\nThe project includes an assembler, binary module parser, disassembler,\nvalidator, and optimizer for SPIR-V. Except for the optimizer, all are based\non a common static library.  The library contains all of the implementation\ndetails, and is used in the standalone tools whilst also enabling integration\ninto other code bases directly. The optimizer implementation resides in its\nown library, which depends on the core library.\n\nThe interfaces have stabilized:\nWe don\u0027t anticipate making a breaking change for existing features.\n\nSPIR-V is defined by the Khronos Group Inc.\nSee the [SPIR-V Registry][spirv-registry] for the SPIR-V specification,\nheaders, and XML registry.\n\n## Downloads\n\nThe official releases for SPIRV-Tools can be found on LunarG\u0027s\n[SDK download page](https://vulkan.lunarg.com/sdk/home).\n\nFor convenience, here are also links to the latest builds (HEAD).\nThose are untested automated builds. Those are not official releases, nor\nare guaranteed to work. Official releases builds are in the Vulkan SDK.\n\n\u003cimg alt=\"Linux\" src=\"kokoro/img/linux.png\" width=\"20px\" height=\"20px\" hspace=\"2px\"/\u003e[![Linux Build Status](https://storage.googleapis.com/spirv-tools/badges/build_status_linux_clang_release.svg)](https://storage.googleapis.com/spirv-tools/badges/build_link_linux_clang_release.html)\n\u003cimg alt=\"MacOS\" src=\"kokoro/img/macos.png\" width=\"20px\" height=\"20px\" hspace=\"2px\"/\u003e[![MacOS Build Status](https://storage.googleapis.com/spirv-tools/badges/build_status_macos_clang_release.svg)](https://storage.googleapis.com/spirv-tools/badges/build_link_macos_clang_release.html)\n\u003cimg alt=\"Windows\" src=\"kokoro/img/windows.png\" ",
  "github_repo": "KhronosGroup/SPIRV-Tools",
  "github_stars": 1322,
  "github_topics": [],
  "homepage": "https://github.com/KhronosGroup/SPIRV-Tools",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 9447,
  "installs_365d": 74308,
  "installs_90d": 27811,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "Apache-2.0",
  "llm_generated_at": "2026-06-20T23:44:27+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "spirv-tools",
  "oldnames": [],
  "one_liner": "API and command-line tools for assembling, disassembling, validating, and optimizing SPIR-V shader modules.",
  "optional_dependencies": [],
  "rank_30d": 365,
  "rank_365d": 517,
  "rank_90d": 414,
  "raw_hash": "875a1cc4e717f97b",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/s/spirv-tools.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [
    {
      "python": "build"
    }
  ],
  "version_head": "HEAD",
  "version_stable": "1.4.350.1",
  "versioned_formulae": [],
  "why_use_this": "Essential for Vulkan shader development and GPU compiler workflows. Provides a complete toolkit for inspecting, validating, and transforming intermediate representation code before compilation to native GPU instructions. The library is used by graphics toolchains and shader compilers; the CLI tools let you manually inspect or transform SPIR-V binaries."
}