Module vulkano::shader::spirv

source ·
Expand description

Parsing and analysis utilities for SPIR-V shader binaries.

This can be used to inspect and validate a SPIR-V module at runtime. The Spirv type does some validation, but you should not assume that code that is read successfully is valid.

For more information about SPIR-V modules, instructions and types, see the SPIR-V specification.

Structs

Enums

Functions

  • Converts SPIR-V bytes to words. If necessary, the byte order is swapped from little-endian to native-endian.