Function wgpu::util::make_spirv[][src]

pub fn make_spirv<'a>(data: &'a [u8]) -> ShaderSource<'a>

Treat the given byte slice as a SPIR-V module.

Panic

This function panics if: