Expand description
Code shared between the WGSL front and back ends.
Modules§
- diagnostics 🔒
- WGSL diagnostic filters and severities.
- to_wgsl 🔒
- Generating WGSL source code for Naga IR types.
- types 🔒
- Code for formatting Naga IR types as WGSL source code.
Structs§
Traits§
- ToWgsl
- Types that can return the WGSL source representation of their
values as a
'static
string. - TryTo
Wgsl - Types that may be able to return the WGSL source representation
for their values as a
'static
string. - Type
Context - A context for printing Naga IR types as WGSL.
Functions§
- address_
space_ str - Return the WGSL address space and access mode strings for
space
.