Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f627b25afa |
@@ -9,9 +9,11 @@ pub fn main() -> anyhow::Result<()> {
|
||||
.copied()
|
||||
.collect::<PathBuf>();
|
||||
|
||||
let install = Install::from_shader_crate(crate_path.clone())
|
||||
.within_build_script()
|
||||
.run()?;
|
||||
let mut install = Install::from_shader_crate(crate_path.clone());
|
||||
install.build_script = true;
|
||||
install.auto_install_rust_toolchain = true;
|
||||
let install = install.run()?;
|
||||
|
||||
let mut builder = install.to_spirv_builder(crate_path, "spirv-unknown-vulkan1.3");
|
||||
builder.build_script.defaults = true;
|
||||
builder.shader_panic_strategy = ShaderPanicStrategy::SilentExit;
|
||||
|
||||
Reference in New Issue
Block a user