qmetrics.net

Shaderc

GLSL and HLSL to SPIR-V compiler tools and library

Provides glslc, a command-line GLSL/HLSL-to-SPIR-V compiler, and libshaderc, a C API for the same pipeline. Wraps glslang and SPIRV-Tools for Vulkan-oriented builds.

Overview

Shaderc bundles tools, libraries, and tests for compiling shaders to SPIR-V for Vulkan and related graphics stacks. The main deliverables are glslc, a GCC- and Clang-style CLI compiler, and libshaderc, a library API that exposes the same compilation path to applications.

glslc sits on glslang and SPIRV-Tools. It aims for build-system-friendly CLI usage, a stable extensible API, concurrency-friendly design, and extras such as file include support. HLSL compilation through Shaderc follows glslang’s HLSL path, which glslang has deprecated and plans to remove; Shaderc can be built with HLSL disabled.

Shaderc ships in the Android NDK for mobile graphics toolchains. Prebuilt binaries are offered without formal QA. Community bindings exist for Python, Rust, Go, .NET, and Common Lisp.

Developers can build glslc and libshaderc with CMake on Linux or Windows (including MSVC and cross-compile scenarios) or use Docker images that install the CLI tools under a standard path for offline compilation workflows.

Key features

  • glslc command-line SPIR-V compiler
  • libshaderc embeddable C API
  • GLSL compilation via glslang
  • File include support in shaders
  • SPIRV-Tools integration
  • Android NDK inclusion
  • Optional Docker image with tools

Use cases

  • Vulkan project shader builds
  • Embedding SPIR-V compile in engines
  • Android NDK graphics toolchains

Tags

Similar software

Dive

Terminal explorer for Docker image layers

Dive inspects container images layer by layer to show what changed and where space is wasted. It helps shrink Docker or OCI images during development and CI.

★ 54.8k⟳ 11 days agoMIT

Nx

Monorepo build system with caching and CI integration

Nx manages TypeScript and polyglot monorepos with task graph awareness, local and remote caching, and CI helpers. It can be added to existing npm, pnpm, or yarn workspaces.

★ 29.5k⟳ todayMIT

PostCSS

JavaScript toolkit for transforming CSS via plugins

Parses CSS into an AST and runs JavaScript plugins to lint, prefix, nest rules, inline assets, and apply other style transforms in build pipelines.

★ 29k⟳ yesterdayMIT

Emscripten

LLVM toolchain compiling C and C++ to WebAssembly

Emscripten turns C and C++ into WebAssembly via LLVM and Binaryen. Output runs in browsers, Node.js, and other WebAssembly runtimes.

★ 27.8k⟳ 2 days agoMIT · open core

Oxc

Rust-based JavaScript and TypeScript compiler toolkit

Oxc bundles a parser, linter, formatter, transformer, resolver, and minifier for JavaScript and TypeScript. Oxlint and Oxfmt run via npx for everyday lint and format tasks.

★ 23.6k⟳ todayMIT

Slim

Container inspection, minification and security profiling CLI

SlimToolkit is a command-line toolkit for inspecting, shrinking and hardening container images without rewriting your Dockerfile. It analyzes what your application actually needs and strips unused layers and files.

★ 23.6k⟳ 2 months agoApache-2.0