Expand description
Utilities for loading SPIR-V module data.
Constantsยง
- SPIRV_
MAGIC_ ๐NUMBER
Functionsยง
- assert_
has_ ๐spirv_ magic_ number_ and_ length - Check whether the byte slice has the SPIR-V magic number (in either byte order) and of an appropriate size, and panic with a suitable message when it is not.
- make_
spirv_ raw - Version of [
make_spirv()] intended for use withDevice::create_shader_module_passthrough().