Macro wgpu::include_spirv

source ·
macro_rules! include_spirv {
    ($($token:tt)*) => { ... };
}
Available on crate feature spirv only.
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