Macro wgpu::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.