Expand description
Conversions between naga and wgpu_types.
Functionsยง
- create_
validator - Create a
naga::valid::Validatorconfigured for the given feature set. - features_
to_ naga_ capabilities - Map
wgt::Featuresandwgt::DownlevelFlagstonaga::valid::Capabilities. - map_
naga_ stage - Map a
naga::ShaderStageto the correspondingwgt::ShaderStagesflag. - map_
storage_ format_ from_ naga - Map a
naga::StorageFormatto the correspondingwgt::TextureFormat. - map_
storage_ format_ to_ naga - Map a
wgt::TextureFormatto the correspondingnaga::StorageFormat, if any.