Struct spirv_utils::RawModule [] [src]

pub struct RawModule { /* fields omitted */ }

Minimal representation of a SPIR-V module.

Methods

impl RawModule
[src]

Load a module from a file

Read a module

Gets the instructions in the module

Gets the index of the instruction that defines the given id, if any

Gets the indices of the instructions that use the given id

Gets the instruction that defines the given Id, if any

Returns an iterator over the uses of the given Id