wgpu

Macro include_spirv_raw

Source
macro_rules! include_spirv_raw {
    ($($token:tt)*) => { ... };
}
Expand description

Macro to load raw SPIR-V data statically, for use with Features::SPIRV_SHADER_PASSTHROUGH.

It ensures the word alignment as well as the magic number.