Modules§
- lift
- SPIR-T to SPIR-V lifting.
- lower
- SPIR-V to SPIR-T lowering.
- Pretty-printing SPIR-V operands.
- read
- Low-level parsing of SPIR-V binary form.
- spec
- SPIR-V specification parsing/indexing.
- write
- Low-level emission of SPIR-V binary form.
Structs§
- Debug
Source Lang - Debug
Sources - Dialect
- Semantic properties of a SPIR-V module (not tied to any IDs).
- Inst
- A SPIR-V instruction, in its minimal form (opcode and immediate operands).
- Inst
With Ids - A full SPIR-V instruction (like
Inst
, but including input/output ID operands). - Module
Debug Info - Non-semantic details (i.e. debuginfo) of a SPIR-V module (not tied to any IDs).
Enums§
Functions§
- encode_
literal_ string - extract_
literal_ string - Given a single
LiteralString
(as oneImm::Short
or aImm::LongStart
followed by some number ofImm::LongCont
- will panic otherwise), returns a RustString
if the literal is valid UTF-8, or the validation error otherwise.
Type Aliases§
- Id
- SPIR-V ID.