Module glsl

Source
Expand description

Frontend for GLSL (OpenGL Shading Language).

To begin, take a look at the documentation for the Frontend.

§Supported versions

§Vulkan

  • 440 (partial)
  • 450
  • 460

Modules§

ast 🔒
builtins 🔒
context 🔒
error 🔒
functions 🔒
lex 🔒
offset 🔒
Module responsible for calculating the offset and span for types.
parser 🔒
token 🔒
types 🔒
variables 🔒

Structs§

Error
Error returned during shader parsing.
Frontend
The Frontend is the central structure of the GLSL frontend.
Options
Per-shader options passed to parse.
ParseErrors
A collection of errors returned during shader parsing.
ShaderMetadata
Additional information about the GLSL shader.

Enums§

ErrorKind
Information about the cause of an error.
ExpectedToken
One of the expected tokens returned in InvalidToken.
Precision
A precision hint used in GLSL declarations.
Profile
The GLSL profile used by a shader.
TokenValue
A token passed from the lexing used in the parsing.

Type Aliases§

Result 🔒