Modules§
Structs§
- Interface
- A summary of the shader interfaces of the entry points in a
naga::Module. - Interface
Var - Numeric
Type - Pipeline
Resources - Resource usage accumulated across all of a pipeline’s stages.
- RayTracing
Payload Member - StageIo
- Summary of one shader stage’s outputs, presented as inputs to the next stage.
Enums§
- Binding
Error - Binding
Layout Source - Binding
Type Name - Filtering
Error - Input
Error - Invalid
Workgroup Size Error - RayTracing
Payload Type - An enum containing the types allowed in a ray tracing payload, to be stored in the interface so various shaders can be checked that they all have the same types. Roughly equal to naga’s type inner, but without names,
- Shader
Stage ForValidation - Stage
Error - Errors produced when validating a programmable stage of a pipeline.
Functions§
- check_
color_ attachment_ compatibility - Return true if the fragment
formatis covered by the providedoutput. - check_
color_ attachment_ count - 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. - validate_
color_ attachment_ bytes_ per_ sample - Validate a list of color attachment formats against
maxColorAttachmentBytesPerSample.