shaderc
brew install shaderc
v2026.2
Apache-2.0
Compiler and library for translating GLSL/HLSL shaders to SPIR-V bytecode for Vulkan.
Why you might care
Essential build tool for Vulkan graphics applications and game engines that need to compile shaders offline. Provides both a command-line compiler (glslc) with GCC-like ergonomics and a C++ library (libshaderc) for embedding shader compilation in build pipelines. Google-maintained reference implementation wrapping Glslang and SPIRV-Tools.
7.2k
30-day installs · #451
23.4k
90-day · #469
52.0k
365-day · #661
2.2k
★ GitHub stars · updated 5d ago
Build dependencies
GitHub topics
compiler
glsl
glslang
graphics
hlsl
shaderc
spirv
spirv-cross
vulkan
Links
- https://github.com/google/shaderc
- GitHub: google/shaderc
- Brew formula source: Formula/s/shaderc.rb
Blurb generated by claude-haiku-4-5 on today.
Raw metadata
{
"aliases": [],
"alternatives": [
"glslang",
"spirv-tools",
"glslc",
"khronos-glsl-compiler"
],
"build_dependencies": [
"cmake"
],
"categories": [
"compiler",
"library"
],
"caveats": null,
"conflicts_with": [],
"dependencies": [],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Collection of tools, libraries, and tests for Vulkan shader compilation",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:40:52+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "shaderc",
"github_default_branch": "main",
"github_last_commit_at": "2026-06-15T19:36:50Z",
"github_readme_excerpt": "# Shaderc\n\nA collection of tools, libraries and tests for shader compilation.\nAt the moment it includes:\n\n- [`glslc`](glslc), a command line compiler for GLSL/HLSL to SPIR-V, and\n- [`libshaderc`](libshaderc), a library API for accessing `glslc` functionality.\n\n***NOTE*** The ability to compile HLSL is *deprecated*, since it is\ndeprecated in Glslang.\nSee Glslang [issue #4210](https://github.com/KhronosGroup/glslang/issues/4210).\nThis ability will be removed at a future date.\n\n`glslc` wraps around core functionality in [glslang][khr-glslang]\nand [SPIRV-Tools][spirv-tools]. `glslc` and its library aims to\nto provide:\n* a command line compiler with GCC- and Clang-like usage, for better\n integration with build systems\n* an API where functionality can be added without breaking existing clients\n* an API supporting standard concurrency patterns across multiple\n operating systems\n* increased functionality such as file `#include` support\n\n## Downloads\n\n**Note: These binaries are just the artifacts of the builders and have not\n undergone any QA, thus they should be considered unsupported.**\n\n\u003cimg alt=\"Linux\" src=\"kokoro/img/linux.png\" width=\"20px\" height=\"20px\" hspace=\"2px\"/\u003e[](https://storage.googleapis.com/shaderc/badges/build_link_linux_clang_release.html)\n\u003cimg alt=\"MacOS\" src=\"kokoro/img/macos.png\" width=\"20px\" height=\"20px\" hspace=\"2px\"/\u003e[](https://storage.googleapis.com/shaderc/badges/build_link_macos_clang_release.html)\n\u003cimg alt=\"Windows\" src=\"kokoro/img/windows.png\" width=\"20px\" height=\"20px\" hspace=\"2px\"/\u003e[](https://storage.googleapis.com/shaderc/badges/build_link_windows_vs2022_release.html)\n\n[More downloads](downloads.md)\n\n## Status\n\nShaderc h",
"github_repo": "google/shaderc",
"github_stars": 2157,
"github_topics": [
"compiler",
"glsl",
"glslang",
"graphics",
"hlsl",
"shaderc",
"spirv",
"spirv-cross",
"vulkan"
],
"homepage": "https://github.com/google/shaderc",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 7198,
"installs_365d": 52025,
"installs_90d": 23371,
"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:58+00:00",
"llm_model": "claude-haiku-4-5",
"name": "shaderc",
"oldnames": [],
"one_liner": "Compiler and library for translating GLSL/HLSL shaders to SPIR-V bytecode for Vulkan.",
"optional_dependencies": [],
"rank_30d": 451,
"rank_365d": 661,
"rank_90d": 469,
"raw_hash": "56ee34f24e1ce00f",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/s/shaderc.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [
{
"python": "build"
}
],
"version_head": "HEAD",
"version_stable": "2026.2",
"versioned_formulae": [],
"why_use_this": "Essential build tool for Vulkan graphics applications and game engines that need to compile shaders offline. Provides both a command-line compiler (glslc) with GCC-like ergonomics and a C++ library (libshaderc) for embedding shader compilation in build pipelines. Google-maintained reference implementation wrapping Glslang and SPIRV-Tools."
}