Modules§
- workgroup_
mem_ πinit 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§
- Array
Size πMember Wrapper for generatingstruct _mslBufferSizes
member names for runtime-sized array lengths. - Clamped
Lod πWrapper for identifier names for clamped level-of-detail values - Expression
Context π - Statement
Context π - Texel
Address πValues needed to select a particular texel forImageLoad
andImageStore
. - Type
Context π - Typed
Global πVariable
Enums§
- Function
Origin π - Level
OfDetail π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. - ATOMIC_
REFERENCE π - Prefix for cached clamped level-of-detail values for
ImageLoad
expressions. - FREXP_
FUNCTION π - MODF_
FUNCTION π - NAMESPACE π
- RAY_
QUERY_ πTYPE - RT_
NAMESPACE π - WRAPPED_
ARRAY_ πFIELD
Functions§
- needs_
array_ πlength - put_
numeric_ πtype Write the Metal name for a Naga numeric type: scalar, vector, or matrix. - scalar_
is_ πint - separate π
Type Aliases§
- Backend
Result πShorthand result used internally by the backend