◄ Wiki / Build
glslc
glslc is Google's command-line compiler that turns GLSL shader source into SPIR-V binaries.
Part of the Shaderc toolset, glslc takes human-written GLSL and produces the SPIR-V bytecode that Vulkan-style drivers run, with optimization flags like -O to tighten the output. Compiling shaders ahead of time (or just-in-time) with glslc means the GPU receives ready-to-run binaries instead of raw text. It is a standard step in a modern shader build pipeline.
See also
- GLSLGLSL is the OpenGL Shading Language, a C-like language for writing GPU shader programs.
- GLSL.std.450GLSL.std.450 is the standard library of built-in math functions available to shaders in the SPIR-V format.
- freestandingFreestanding code runs without an operating system or standard library beneath it — it must supply its own basics.
Referenced by
GLSL · GLSL.std.450 · ICD