Modules§
- Initializing workgroup variables is more tricky for Metal because we have to deal with atomics at the type-level (which don’t have a copy constructor).
Structs§
- Wrapper for generating
struct _mslBufferSizes
member names for runtime-sized array lengths. - Wrapper for identifier names for clamped level-of-detail values
- Values needed to select a particular texel for
ImageLoad
andImageStore
.
Enums§
- A level of detail argument.
Constants§
- For some reason, Metal does not let you have
metal::texture<..>*
as a buffer argument. However, if you put that texture inside a struct, everything is totally fine. This baffles me to no end. - Prefix for cached clamped level-of-detail values for
ImageLoad
expressions.
Traits§
Functions§
- Write the Metal name for a Naga numeric type: scalar, vector, or matrix.
- separate 🔒
Type Aliases§
- Shorthand result used internally by the backend