Expand description
SPIR-V module model and reflection for Vulkane.
Module::parse decodes a binary SPIR-V module (a &[u32]) into a typed model built on
rspirv; Module::to_words encodes it back. Reflection (Module::entry_points,
Module::bindings, Module::capabilities) reads the module without validating it:
a parsed module can still be invalid SPIR-V, so run spirv-val before trusting one.
Structs§
- Binding
- A resource variable decorated with a binding.
- Entry
Point - One
OpEntryPointwith the facts that belong to it. - Module
- A decoded SPIR-V module.
Enums§
- Parse
Error - Why a module could not be decoded.