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.
pub fn make_spirv_raw(data: &[u8]) -> Cow<'_, [u32]>
Version of make_spirv intended for use with Device::create_shader_module_spirv
.
Returns raw slice instead of ShaderSource.