Expand description
Module
processing functionality.
Re-exports§
pub use index::BoundsCheckPolicies;
pub use index::BoundsCheckPolicy;
pub use index::IndexableLength;
pub use index::IndexableLengthError;
Modules§
- emitter 🔒
- Definitions for index bounds checking.
- layouter 🔒
- namer 🔒
- Overload resolution for builtin functions.
- typifier 🔒
Structs§
- A newtype struct where its only valid values are powers of 2
- A context for evaluating constant expressions.
- Helper class to emit expressions
- Helper processor that derives the sizes of all types.
- This processor assigns names to all the things in a module that may need identifiers in a textual backend.
- A single type rule.
- Size and alignment information for a type.
Enums§
- The result type of a
Rule
. - The result of computing an expression’s type.
Traits§
- A trait for types representing of a set of Naga IR type rules.
Functions§
- Ensure that the given block has return statements at the end of its control flow.
- Return an iterator over the individual components assembled by a
Compose
expression. - Returns a tuple of
crate::Literal
s representing the minimum and maximum float values exactly representable by the provided float and integer types. Panics iffloat
is not one ofF16
,F32
, orF64
, orint
is not one ofI32
,U32
,I64
, orU64
.