Function spirv_tools::binary::to_binary
source · pub fn to_binary(bytes: &[u8]) -> Result<&[u32], Error>
Expand description
Transmutes a regular byte array into a SPIRV binary of 32 bit words. This
will fail if the input is not % sizeof(u32)