Function wgpu::util::make_spirv_raw

source ·
pub fn make_spirv_raw(data: &[u8]) -> Cow<'_, [u32]>
Expand description

Version of make_spirv intended for use with Device::create_shader_module_spirv. Returns raw slice instead of ShaderSource.