Expand description
Backend for SPIR-V (Standard Portable Intermediate Representation).
Modules
- block 🔒Implementations for
BlockContext
methods. - helpers 🔒
- image 🔒Generating SPIR-V for image operations.
- index 🔒Bounds-checking for SPIR-V output.
- layout 🔒
- ray 🔒Generating SPIR-V for ray query operations.
- Reusing collections’ previous allocations.
- Generate SPIR-V conditional structures.
- writer 🔒
Structs
- Block 🔒A SPIR-V block to which we are still adding instructions.
- General information needed to emit SPIR-V for Naga statements.
- A map from evaluated
Expression
s to their SPIR-V ids. - Function 🔒
- Flags corresponding to the boolean(-ish) parameters to OpTypeImage.
- Characteristics of a SPIR-V
OpTypeImage
type. - A SPIR-V block that ends with a termination instruction.
Enums
- /// SPIR-V operand kind: Capability
- A SPIR-V type constructed during code generation.
- A type encountered during SPIR-V generation.