Modules
- SPIR-T to SPIR-V lifting.
- SPIR-V to SPIR-T lowering.
- Pretty-printing SPIR-V operands.
- Low-level parsing of SPIR-V binary form.
- SPIR-V specification parsing/indexing.
- Low-level emission of SPIR-V binary form.
Structs
- Semantic properties of a SPIR-V module (not tied to any IDs).
- A SPIR-V instruction, in its minimal form (opcode and immediate operands).
- A full SPIR-V instruction (like
Inst, but including input/output ID operands). - Non-semantic details (i.e. debuginfo) of a SPIR-V module (not tied to any IDs).
Enums
- SPIR-V immediate (one word, longer immediates are a sequence of multiple
Imms).
Functions
- Given a single
LiteralString(as oneImm::Shortor aImm::LongStartfollowed by some number ofImm::LongCont- will panic otherwise), returns a RustStringif the literal is valid UTF-8, or the validation error otherwise.
Type Aliases
- SPIR-V ID.