Module lower

Source

Modulesยง

construction ๐Ÿ”’
conversion ๐Ÿ”’
WGSLโ€™s automatic conversions for abstract types.

Macrosยง

resolve ๐Ÿ”’
Resolves the type of a given expression.
resolve_inner ๐Ÿ”’
Resolves the inner type of a given expression.
resolve_inner_binary ๐Ÿ”’
Resolves the inner types of two given expressions.

Structsยง

ArgumentContext ๐Ÿ”’
ExpressionContext
State for lowering an ast::Expression to Naga IR.
GlobalContext
State for constructing a ir::Module.
LocalExpressionContext
Lowerer
StatementContext
State for lowering a statement within a function.

Enumsยง

AbstractRule ๐Ÿ”’
Whether a declaration accepts abstract types, or concretizes.
Components ๐Ÿ”’
A single vector component or swizzle.
Declared ๐Ÿ”’
ExpressionContextType
The type of Naga IR expression we are lowering an ast::Expression to.
LoweredGlobalDecl ๐Ÿ”’
An ast::GlobalDecl for which we have built the Naga IR equivalent.
SubgroupGather ๐Ÿ”’
Texture ๐Ÿ”’
Typed ๐Ÿ”’
WGSL type annotations on expressions, types, values, etc.