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).
  • 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