make_spirv_raw

Function make_spirv_raw 

Source
pub fn make_spirv_raw(data: &[u8]) -> Cow<'_, [u32]>
Available on crate feature unstable-wgpu-26 only.
Expand description

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