Expand description
Definitions for index bounds checking.
Structs
- Policies for injecting bounds checks during code generation.
Enums
- How should code generated by Naga do bounds checks?
- An index that may be statically known, or may need to be computed at runtime.
- The number of elements in an indexable type.
Functions
- Determine whether
index
is statically known to be in bounds forbase
. - Build a set of expressions used as indices, to cache in temporary variables when emitted.