Module wgsl

Source
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§

DisplayFilterableTriggeringRule

Traits§

ToWgsl
Types that can return the WGSL source representation of their values as a 'static string.
TryToWgsl
Types that may be able to return the WGSL source representation for their values as a 'static string.
TypeContext
A context for printing Naga IR types as WGSL.

Functions§

address_space_str
Return the WGSL address space and access mode strings for space.