# google/shaderc

A collection of tools, libraries, and tests for Vulkan shader compilation.

Repository: https://github.com/google/shaderc
Canonical: https://ross.abutalabs.com/products/shaderc
Language: C++
License: NOASSERTION
License Family: other
Topics: shaderc, spirv, glsl, hlsl, compiler, graphics, vulkan, glslang, spirv-cross
Last push: 2026-08-26T00:23:11+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 35, longevity 100
- inputs: {"age_days": 4046, "days_push": 8, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2178, forks 438 (observed 2026-08-28T04:06:22.905075+00:00)

## What it is
Shaderc is a collection of tools, libraries, and tests for compiling GLSL and HLSL shaders to SPIR-V for Vulkan. It includes glslc, a GCC/Clang-style command line compiler, and libshaderc, a C/C++ library API wrapping the same functionality.

## Use cases
- compile glsl shaders to spir-v for vulkan
- compile hlsl to spir-v from the command line
- integrate shader compilation into a build system
- compile shaders at runtime from a c++ application
- support shader #include files during compilation
- build shaders for android ndk projects

## When to choose
- you need a command-line shader compiler with gcc/clang-like flags for build integration
- you want a stable library API to compile shaders to SPIR-V at runtime
- you are targeting Vulkan and need glslang/SPIRV-Tools wrapped in one tool

## When to avoid
- you need HLSL compilation long-term, since HLSL support is deprecated upstream in Glslang
- you target DirectX or Metal rather than Vulkan/SPIR-V
- you need a full shader authoring or debugging IDE

## Facets
- artifact type: library
- maturity: stable
- function: compiler, cli, developer-tools
- domain: graphics, developer-tools, compilers
- platform: windows, cross-platform, cli
- tags: shader-compilation, spir-v, vulkan, glsl, hlsl, glslang, c++, game-development, linux, macos, android

## Member repositories
- google/shaderc (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:22.905075+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:48:48.918943+00:00, confidence not recorded.
  - readme: https://github.com/google/shaderc (fetched 2026-08-28T04:06:22.905075+00:00, sha 4b4433c4b9c9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
