Macro wgpu::include_spirv
source · macro_rules! include_spirv {
($($token:tt)*) => { ... };
}
Expand description
Macro to load a SPIR-V module statically.
It ensures the word alignment as well as the magic number.
Return type: crate::ShaderModuleDescriptor