cuboid and cube pipeline working
This commit is contained in:
parent
4494b68c26
commit
912659bb52
13 changed files with 230 additions and 162 deletions
2
build.rs
2
build.rs
|
@ -17,12 +17,14 @@ fn main() {
|
|||
println!("cargo::rerun-if-changed=shaders/frag_cuboid.spv");
|
||||
println!("cargo::rerun-if-changed=shaders/vert_cuboid.spv");
|
||||
|
||||
#[allow(unused_must_use)]
|
||||
std::fs::remove_file("shaders/geo_cube.spv");
|
||||
std::fs::remove_file("shaders/frag_cube.spv");
|
||||
std::fs::remove_file("shaders/vert_cube.spv");
|
||||
std::fs::remove_file("shaders/geo_cuboid.spv");
|
||||
std::fs::remove_file("shaders/frag_cuboid.spv");
|
||||
std::fs::remove_file("shaders/vert_cuboid.spv");
|
||||
#[warn(unused_must_use)]
|
||||
// probably need to check the os and have different versions
|
||||
let mut command = Command::new("./shaders/compile.bat");
|
||||
let output = command.output().expect("Failed to execute command");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue