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