Modulesยง
Structsยง
- Entry
Point ๐ - The shader interface of an entry point in a
naga::Module. - Entry
Point ๐Key - Entry
Point ๐KeyRef - Entry
Point ๐Mesh Info - 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 - Resource ๐
- StageIo
- Summary of one shader stageโs outputs, presented as inputs to the next stage.
- Workgroup
Size ๐Check - A helper type for avoiding argument order mistakes when calling
Self::check_and_compute_total_invocations.
Enumsยง
- Binding
Error - Binding
Layout Source - Binding
Type Name - BuiltIn ๐
- Filtering
Error - Input
Error - Invalid
Workgroup Size Error - Numeric
Dimension ๐ - 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,
- Resource
Type ๐ - Shader
Stage ForValidation - Stage
Error - Errors produced when validating a programmable stage of a pipeline.
- Varying ๐
- An inter-stage input or output value.
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.