simplify spirv builder

This commit is contained in:
2022-07-05 23:01:41 -07:00
parent de7da0540d
commit 029a278177
2 changed files with 11 additions and 7 deletions

View File

@@ -24,6 +24,6 @@ fn main() -> Result<(), Box<dyn Error>> {
let initial_result = builder.build()?;
let module_path = initial_result.module.unwrap_single();
println!("get_shader: built:\n{}", module_path.display());
println!("cargo:rustc-env=SPIRV_MODULE_PATH={}", module_path.display());
Ok(())
}