◄ Wiki / Graphics
GLSL.std.450
GLSL.std.450 is the standard library of built-in math functions available to shaders in the SPIR-V format.
When GLSL is compiled to SPIR-V, common math like sqrt, sin, pow, and clamp are not open-coded but referenced from an 'extended instruction set' named GLSL.std.450. Implementing 'the whole GLSL.std.450 map' means a shader compiler or driver supports every one of those built-in functions. It is effectively the shader math standard library, defined once and shared.
See also
- GLSLGLSL is the OpenGL Shading Language, a C-like language for writing GPU shader programs.
- glslcglslc is Google's command-line compiler that turns GLSL shader source into SPIR-V binaries.
- fragment shaderA fragment shader is a small program the GPU runs for every fragment to decide its final color.