Module rspirv::binary

source ·
Expand description

Module for SPIR-V binary processing.

This module provides a Decoder and a Parser:

  • The decoder is a low-level binary processing tool; it has no knowlege of the SPIR-V grammar. It only serves SPIR-V word requests.
  • The parser is a high-level binary processing tool; it has knowledge of the SPIR-V grammar. It works with the Consumer to process a SPIR-V binary on the instruction level.

Structs

Enums

Traits

Functions

  • Parses the given binary and consumes the module using the given consumer.
  • Parses the given binary and consumes the module using the given consumer.

Type Aliases