spirv-headers
brew install spirv-headers
v1.4.350.1
MIT
C/C++ header files and JSON grammar for the SPIR-V intermediate representation standard.
Why you might care
Required build-time dependency for compilers, shader tools, and GPU compute frameworks that generate or consume SPIR-V bytecode. Provides official Khronos machine-readable specs (headers, JSON grammar, XML registry) needed to implement SPIR-V support; most graphics and compute toolchains pull this as a transitive dep.
3.6k
30-day installs · #743
10.6k
90-day · #788
26.0k
365-day · #952
342
★ GitHub stars · updated 2d ago
Build dependencies
Links
- https://github.com/KhronosGroup/SPIRV-Headers
- GitHub: KhronosGroup/SPIRV-Headers
- Brew formula source: Formula/s/spirv-headers.rb
Blurb generated by claude-haiku-4-5 on today.
Raw metadata
{
"aliases": [],
"alternatives": [
"Vulkan-Headers",
"shaderc"
],
"build_dependencies": [
"cmake"
],
"categories": [
"header-only-library",
"parser",
"sdk"
],
"caveats": null,
"conflicts_with": [],
"dependencies": [],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Headers for SPIR-V",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:41:03+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "spirv-headers",
"github_default_branch": "main",
"github_last_commit_at": "2026-06-18T16:58:32Z",
"github_readme_excerpt": "# SPIR-V Headers\n\nThis repository contains machine-readable files for the\n[SPIR-V Registry](https://www.khronos.org/registry/spir-v/).\nThis includes:\n\n* Header files for various languages.\n* JSON files describing the grammar for the SPIR-V core instruction set\n and the extended instruction sets.\n* The XML registry file.\n* A tool to build the headers from the JSON grammar.\n\nHeaders are provided in the [include](include) directory, with up-to-date\nheaders in the `unified1` subdirectory. Older headers are provided according to\ntheir version.\n\nIn contrast, the XML registry file has a linear history, so it is\nnot tied to SPIR-V specification versions.\n\n## How is this repository updated?\n\nWhen a new version or revision of the SPIR-V specification is published,\nthe SPIR-V Working Group will push new commits onto master, updating\nthe files under [include](include).\n\n[The SPIR-V XML registry file](include/spirv/spir-v.xml)\nis updated by Khronos whenever a new enum range is allocated.\n\nPull requests can be made to\n- request allocation of new enum ranges in the XML registry file\n- register a new magic number for a SPIR-V generator\n- reserve specific tokens in the JSON grammar\n\n### Registering a SPIR-V Generator Magic Number\n\nTools that generate SPIR-V should use a magic number in the SPIR-V to help identify the\ngenerator.\n\nCare should be taken to follow existing precedent in populating the details of reserved tokens.\nThis includes:\n- keeping generator numbers in numeric order\n- filling out all the existing fields\n\n### Reserving tokens in the JSON grammar\n\nCare should be taken to follow existing precedent in populating the details of reserved tokens.\nThis includes:\n- pointing to what extension has more information, when possible\n- keeping enumerants in numeric order\n- when there are aliases, listing the preferred spelling first\n- adding the statement `\"version\" : \"None\"`\n\n## How to install the headers\n\n```\nmkdir build\ncd build\ncmake ..\ncmake --build . --target install\n```\n\nThe",
"github_repo": "KhronosGroup/SPIRV-Headers",
"github_stars": 342,
"github_topics": [],
"homepage": "https://github.com/KhronosGroup/SPIRV-Headers",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 3556,
"installs_365d": 25968,
"installs_90d": 10559,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "MIT",
"llm_generated_at": "2026-06-20T23:46:47+00:00",
"llm_model": "claude-haiku-4-5",
"name": "spirv-headers",
"oldnames": [],
"one_liner": "C/C++ header files and JSON grammar for the SPIR-V intermediate representation standard.",
"optional_dependencies": [],
"rank_30d": 743,
"rank_365d": 952,
"rank_90d": 788,
"raw_hash": "3649eb89d748b20c",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/s/spirv-headers.rb",
"tap": "homebrew/core",
"test_dependencies": [
"cmake"
],
"uses_from_macos": [],
"version_head": "HEAD",
"version_stable": "1.4.350.1",
"versioned_formulae": [],
"why_use_this": "Required build-time dependency for compilers, shader tools, and GPU compute frameworks that generate or consume SPIR-V bytecode. Provides official Khronos machine-readable specs (headers, JSON grammar, XML registry) needed to implement SPIR-V support; most graphics and compute toolchains pull this as a transitive dep."
}