#![warn(missing_docs)]
pub struct SpirvGenerator;
impl SpirvGenerator {
pub fn name(&self) -> &'static str {
"spirv"
}
pub fn generate(&self, _program: &serde_json::Value) -> gaia_types::Result<std::collections::HashMap<String, Vec<u8>>> {
let files = std::collections::HashMap::new();
Ok(files)
}
pub fn compile_to_spirv_raw(&self, _source: &str) -> gaia_types::Result<Vec<u8>> {
Ok(vec![0x03, 0x02, 0x23, 0x07]) }
}