naga

Module 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).
  • interpolator ๐Ÿ”’
    Interpolation defaults.
  • Frontend for SPIR-V (Standard Portable Intermediate Representation).
  • type_gen ๐Ÿ”’
    Type generators.
  • 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>.

Type Aliasesยง

  • Scope ๐Ÿ”’
    Type representing a lexical scope, associating a name to a single variable