start of combine shader
This commit is contained in:
parent
8902c2a0e3
commit
37d816fc98
8 changed files with 106 additions and 3 deletions
3
build.rs
3
build.rs
|
@ -17,6 +17,8 @@ fn main() {
|
|||
println!("cargo::rerun-if-changed=shaders/rt_compute_rasterize.comp");
|
||||
println!("cargo::rerun-if-changed=shaders/rt_compute_grow_one.comp");
|
||||
println!("cargo::rerun-if-changed=shaders/rt_compute_grow_two.comp");
|
||||
println!("cargo::rerun-if-changed=shaders/rt_compute_grow_three.comp");
|
||||
println!("cargo::rerun-if-changed=shaders/rt_compute_combine.comp");
|
||||
|
||||
std::fs::remove_file("shaders/compiled/geo_cube.spv").unwrap_or(());
|
||||
std::fs::remove_file("shaders/compiled/frag_cube.spv").unwrap_or(());
|
||||
|
@ -30,6 +32,7 @@ fn main() {
|
|||
std::fs::remove_file("shaders/compiled/rt_compute_grow_one.spv").unwrap_or(());
|
||||
std::fs::remove_file("shaders/compiled/rt_compute_grow_two.spv").unwrap_or(());
|
||||
std::fs::remove_file("shaders/compiled/rt_compute_grow_three.spv").unwrap_or(());
|
||||
std::fs::remove_file("shaders/compiled/rt_compute_combine.spv").unwrap_or(());
|
||||
|
||||
if std::env::consts::OS == "windows" {
|
||||
let mut command = Command::new("./shaders/compile.bat");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue