Module spirt::spv

source ·
Expand description

SPIR-V support, mainly conversions to/from SPIR-T (lower/lift).

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§

Type Aliases§

  • SPIR-V ID.