macro_rules! include_spirv_raw {
($($token:tt)*) => { ... };
}Available on crate feature
unstable-wgpu-27 only.Expand description
Macro to load raw SPIR-V data statically, for use with Features::EXPERIMENTAL_PASSTHROUGH_SHADERS.
It ensures the word alignment as well as the magic number.