macro_rules! include_spirv_raw {
($($token:tt)*) => { ... };
}Available on crate feature
unstable-wgpu-26 only.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.