wgpu::util

Function 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.