start of combine shader

This commit is contained in:
zomseffen 2025-04-17 17:15:57 +02:00
parent 8902c2a0e3
commit 37d816fc98
8 changed files with 106 additions and 3 deletions

View file

@ -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");