Module naga::front

source ·
Expand description

Frontend parsers that consume binary and text shaders and load them into Modules.

Modules

  • Upgrade the types of scalars observed to be accessed as atomics to Atomic types.
  • Frontend for GLSL (OpenGL Shading Language).
  • Frontend for SPIR-V (Standard Portable Intermediate Representation).
  • Frontend for WGSL (WebGPU Shading Language).

Structs

  • Structure responsible for managing variable lookups and keeping track of lexical scopes
  • A table of types for an Arena<Expression>.