Shaderc is a collection of tools and libraries for compiling shaders—small programs that run on GPUs—into SPIR-V, the intermediate representation used by the Vulkan graphics API. It provides both a command-line tool (glslc) and a C/C++ library (libshaderc) that wrap the functionality of glslang (the Khronos reference compiler for GLSL) and SPIRV-Tools to deliver a modern, scriptable, and efficient shader compilation workflow. The glslc compiler offers a GCC/Clang-like interface for building GLSL and HLSL shaders, making it easy to integrate into existing build systems. Meanwhile, libshaderc exposes a stable API that allows developers to programmatically compile shader strings into SPIR-V modules within graphics engines and tools. Shaderc supports advanced features such as file inclusion (#include), concurrency, and cross-platform builds, and it maintains backward compatibility for long-term projects.

Features

  • GLSL/HLSL to SPIR-V compilation via glslc
  • Bindings available for Python, Rust, Go, .NET, and Common Lisp
  • Docker image support for isolated builds
  • Tested and shipped as part of the Android NDK
  • Integrates with glslang and SPIRV-Tools
  • Supports standard concurrency and multithreading

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

Apache License V2.0

Follow Shaderc

Shaderc Web Site

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Shaderc!

Additional Project Details

Operating Systems

Android, Linux, Mac, Windows

Programming Language

C, C++, Python, Unix Shell

Related Categories

Unix Shell Libraries, Python Libraries, C++ Libraries, C Libraries

Registered

2025-10-10